y-pr
Installation
SKILL.md
Generate PR for Yadm Branch
Gather Context
Run the gather script:
python scripts/gather_context.py
Preconditions
Check these in the JSON output BEFORE proceeding:
- Not on main branch: If
current_branchequals "main", STOP and say: "Error: Cannot create PR from main. Create a feature branch first." - Has commits: If
commitsarray is empty, STOP and say: "Error: No commits found. Make commits before creating a PR."