一键导入
pr-review
Review pull requests for code quality, security, and correctness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review pull requests for code quality, security, and correctness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | pr-review |
| version | 1.0.0 |
| description | Review pull requests for code quality, security, and correctness |
| uses | ["development/git","core/memory"] |
| requires | {"tools":["git","gh"],"env":[]} |
| security | {"risk_level":"write","capabilities":["git:read","github:pr:read","github:pr:comment"],"requires_approval":false} |
Autonomous code review for pull requests. Focus on correctness, security, and code quality. This is the developer-facing view of review — see review/pr-review for the reviewer agent's perspective.
Platform note: This skill currently uses GitHub (gh CLI). The review methodology is platform-agnostic; only the tool commands are GitHub-specific.
This is an agent-handled skill (handler: type: agent). When invoked, the agent follows the methodology below using its reasoning capabilities. There is no backing code — the agent reads the diff, analyzes the code, and posts comments via available tools.
review_request or pr_created message appears on the busFetch PR details:
For each file in the diff, evaluate against these categories:
Security (highest priority):
Correctness:
Code Quality:
Testing:
For each issue found, post an inline comment with severity:
After inline comments, submit the overall review:
Publish review result to the work channel so the developer can respond:
review_completed (changes requested) → developer addresses feedbackreview_approved → developer can merge## Review: PR #[N]
### Verdict: [Approved / Changes Requested]
### Issues Found
| Severity | File | Line | Issue |
|----------|------|------|-------|
| [Critical/Major/Minor] | [path] | [line] | [description] |
### Summary
- Security: [pass/issues found]
- Correctness: [pass/issues found]
- Code Quality: [pass/issues found]
- Testing: [pass/issues found]
review_completed when the review approved (should be review_approved). Wrong type means the developer doesn't get the right signal.A PR review is complete when: