commit-push-pr
Installation
SKILL.md
Commit, push, and open PR
See REFERENCE.md for commit-type table, auto-label map, PR body template.
Step 0: Gather context
Run these Bash commands before proceed:
git status -sb-- working-tree stategit diff HEAD-- staged + unstaged changesgit branch --show-current-- current branchgh repo view --json defaultBranchRef -q '.defaultBranchRef.name'-- default branchgit log --oneline -5-- recent commits for style refgh pr list --head $(git branch --show-current) --json number,url,title --jq '.[0] // empty'-- existing PR on branch
Prerequisites
- Verify
gh --version-- if missing, stop, ask user install - Verify
gh auth status-- if not authed, ask user rungh auth loginand stop - Verify inside git repo