pull-requests
22
总安装量
22
周安装量
#16838
全站排名
安装命令
npx skills add https://github.com/gannonh/skills --skill pull-requests
Agent 安装分布
opencode
22
gemini-cli
22
github-copilot
22
codex
22
kimi-cli
22
amp
22
Skill 文档
Pull Request Workflows
This skill handles the complete PR lifecycle. Based on context and user intent, follow the appropriate workflow.
Context
- Current git status: !
git status - Current branch: !
git branch --show-current - PR state (if exists): !
GH_PAGER= gh pr view --json number,title,state 2>/dev/null || echo "No PR for current branch" - Arguments: $ARGUMENTS
Workflow Selection
Determine which workflow to use based on context:
Use Creating Workflow when:
- User asks to “create a PR”, “open a PR”, “push for review”
- On a feature branch with uncommitted or unpushed changes
- No PR exists for the current branch
â See ./references/creating-workflow.md
Use Reviewing Workflow when:
- User asks to “review PR”, “check code quality”, “run review”
- PR exists and is open
- Want to run code review agents before merge
â See ./references/reviewing-workflow.md
Use Merging Workflow when:
- User asks to “merge PR”, “complete PR”, “finalize changes”
- PR exists, is reviewed, and ready for merge
- Need to run final CI checks and merge
â See ./references/merging-workflow.md
Quick Reference
| Intent | Workflow | Key Actions |
|---|---|---|
| “Create PR” | Creating | Branch â Commit â Push â <path-to-skill>/scripts/create_pr_safe.py |
| “Review PR” | Reviewing | Identify PR â Run review agents â Fix issues â Update state |
| “Merge PR” | Merging | CI checks â Confirm ready â gh pr merge â Checkout main |