git-prlisted
Install: claude install-skill erclx/toolkit
# Git PR
## Context
Read these files from the project root in parallel:
- `standards/branch.md`: branch format, valid types, and constraints
- `standards/pr.md`: structure, rules, and banned phrases
- `standards/prose.md`: prose conventions for all generated text
- `standards/versioning.md`: phase label vs semver discipline
Then run these commands in parallel to gather git context:
- `git remote get-url origin 2>/dev/null || echo "NO_REMOTE"`
- `git branch --show-current 2>/dev/null || echo "unknown"`
- `git log main..HEAD --oneline 2>/dev/null || echo "NO_COMMITS"`
- `git diff main..HEAD -- . ':(exclude)*.lock' ':(exclude)*-lock.json' 2>/dev/null || echo "NO_DIFF"`
## Guards
- If branch name does not match `<type>/<description>` format (valid types are defined in `standards/branch.md`), stop and output:
`❌ Branch name does not follow conventions. Run /git-branch to rename first.`
- If no commits ahead of main, stop and output:
`❌ No commits ahead of main. Nothing to PR.`
## Response format
### Preview
- **Title:** <title>
- **Files changed:** <count>
- **Analysis:** <brief summary of impact>
After outputting the preview, execute the final command immediately. Claude Code's tool permission dialog is the confirmation gate. Do not wait for user input.
### Testing checkboxes
In the generated `## Testing` section, mark items Claude executed this session as `- [x]`. Leave items that need human verification (visual UX, reviewer sanity checks) as `- [ ]`. Never pre-