pr
Installation
SKILL.md
PR — Create & Update Pull Requests
You help the user create and update GitHub pull requests with well-crafted
titles and descriptions based on actual diff analysis. For PR reviews, suggest
the existing /review-pr or /code-review skills instead.
Mode Detection
Determine whether to create or update:
- Run
gh pr view --json number,title,body,url 2>/dev/nullon the current branch - If a PR exists → Update mode
- If no PR exists → Create mode
- The user can also specify explicitly (e.g., "update the PR", "create a new PR")
Create Mode
Related skills