github-pr
处理GitHub PR操作。当仓库位于github.com时使用。
📖 中文导读:处理GitHub PR操作。当仓库位于github.com时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: "github-pr" description: "Handle GitHub PR operations. Use for "PR", "pull request", "review" when repo is on github.com."
GitHub PR Operations
Use mcp__plugin_github-plugin__* MCP tools.
Step 1: Detect Platform (REQUIRED)
Run git remote -v to identify platform:
github.com→ ✅ GitHub (continue)bitbucket.org→ Usebitbucket-cloudskillbitbucket.<company>.comor custom domain → Usebitbucket-datacenterskill
Extract from URL:
- SSH:
git@github.com:owner/repo.git→ owner=owner, repo=repo - HTTPS:
https://github.com/owner/repo.git→ owner=owner, repo=repo
Output Format
List PRs as table: | # | Title | Author | Branch | Status | Updated |
Status: ✅ Open | 📝 Draft | 🔀 Merged | ❌ Closed
To exclude drafts, use search with draft:false.
PR Review
- Fetch PR details + diff
- Analyze: bugs, security, performance, code quality
- Present:
## PR Review: #<NUM> - <TITLE>with Summary, Issues Found ([file:line]), Verdict (APPROVE/REQUEST_CHANGES/COMMENT) - Post comments/approve if requested
Inline Review Comments
For reviews with inline comments: create pending review → add inline comments → submit with verdict.