用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gittower/git-flow-next --skill handle-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | handle-pr |
| description | Review an incoming PR end-to-end — strict local review, drafted GitHub review, post after confirmation |
| argument-hint | <pr-number> |
| allowed-tools | Task, Bash, Read, Glob, Grep, Write, mcp__github__get_pull_request, mcp__github__get_pull_request_files, mcp__github__create_pull_request_review |
Review an incoming pull request end-to-end: a strict local review against REVIEW_CRITERIA.md (including scope and spec satisfaction), distilled into a GitHub review draft, posted only after user confirmation. Internal and external PRs are treated the same.
For later rounds — after the author responds to a posted review — use
/follow-up-review <number> instead (it is round-aware: it verifies the prior
requested changes against the delta and reads the author's replies).
/address-review is the author-side counterpart, for feedback on a PR you
authored — not for re-reviewing an incoming PR.
/handle-pr <pr-number>
Fetch the PR (mcp__github__get_pull_request). Check before any deep
review:
spec issue, that spec is the verification
targetgh pr checks <number>)Spawn a subagent (Task tool, subagent_type: "general-purpose"):
Review PR locallyRead the skill definition at .claude/skills/code-review/SKILL.md and execute it fully in PR mode for PR #<number>. Apply all eight review areas in REVIEW_CRITERIA.md strictly — including Scope (one PR, one concern) and Spec Satisfaction against issue #<linked-issue>. This is an incoming PR; hold it to the project's full standard: tests, guidelines, commit messages, documentation.Verify: the review file review-pr<number>-*.md exists in .ai/.
Spawn a subagent:
Draft GitHub reviewRead the skill definition at .claude/skills/pr-review/SKILL.md and execute it fully for PR #<number>. Use the existing code review file in .ai/ as the basis. Write the review file for preview — do not post.Verify: the pr-review-*.md draft exists.
Present to the user:
Wait for confirmation. The user may edit findings, downgrade/upgrade the event, or decide not to post.
On confirmation, post via the /post-review skill pattern (read
.claude/skills/post-review/SKILL.md): parse the draft, map inline comments
to diff lines, post with mcp__github__create_pull_request_review.
/check-prs tracks it, /takeover-pr
applies after it lapses