一键导入
github-review
Review a GitHub pull request for correctness, consistency, edge cases, and test coverage. Post findings on the PR or linked issue. No code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a GitHub pull request for correctness, consistency, edge cases, and test coverage. Post findings on the PR or linked issue. No code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | github-review |
| description | Review a GitHub pull request for correctness, consistency, edge cases, and test coverage. Post findings on the PR or linked issue. No code changes. |
| scopes | ["main"] |
Review a GitHub pull request. Your job is code review only. Do not push commits or modify the PR branch.
Use the gh CLI for GitHub operations: gh pr view, gh pr diff, gh pr review, gh issue view, and gh issue comment.
Identify the pull request to review.
gh pr list --search.Before reviewing code:
## Code Review section or prior review comments. If a previous review already exists, focus on changes made since that review instead of redoing everything.Read the full diff carefully with gh pr diff.
Correctness
Edge Cases
Style and Consistency
Performance
Security
Tests
Post the review directly on the PR with gh pr review. If there is a linked issue and the findings materially affect scope or acceptance, add a concise summary there as well.
## Code Review
### Verdict: [Approve / Request Changes / Needs Discussion]
### Summary
[1-2 sentence overall assessment]
### Findings
#### [Critical / Important / Suggestion] - [Short title]
**File:** `path/to/file.ts:42`
**Issue:** [What is wrong]
**Suggestion:** [How to fix it]
### What Looks Good
[Patterns, implementation details, or tests that are solid]
### Test Coverage Assessment
[Is coverage sufficient? What is missing?]
Use Approve for clearly correct low-risk work, Request Changes for concrete blocking issues, and Needs Discussion when the main problem is product or design ambiguity rather than an obvious bug.
After posting the review, respond with: