一键导入
review-pr
Review pull requests against best practices. Use when reviewing PRs, checking code quality, or providing feedback on changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review pull requests against best practices. Use when reviewing PRs, checking code quality, or providing feedback on changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Watch a PR's CI checks and iteratively fix failures until green. Use after opening or pushing to a PR, or when CI is failing and you want autonomous fix-push cycles.
Fix bugs using the two-commit structure with failing test first. Use when fixing bugs, addressing issues, or correcting incorrect behavior.
Create or update pull requests following best practices. Use when opening a PR, updating an existing PR, preparing changes for review, or running gh pr create.
| name | review-pr |
| description | Review pull requests against best practices. Use when reviewing PRs, checking code quality, or providing feedback on changes. |
| user-invocable | true |
Follow this checklist when reviewing PRs.
/review-pr 123
Or just ask: "Review PR #123"
gh pr view <number>
gh pr diff <number>
Bug fixes should ideally use two-commit structure:
Verify:
## Review Summary
**Overall**: Approve with minor suggestions
### What I Reviewed
- Changes to `src/auth/validator.js`
- New tests in `tests/auth.test.js`
- PR description and commit history
### Checklist Results
- [x] Architecture: Follows patterns
- [x] Correctness: Logic looks sound
- [x] Testing: Good coverage
- [x] Performance: No concerns
- [ ] Code style: Minor suggestion below
### Suggestions
1. **Line 45**: Consider using early return to reduce nesting
2. **Tests**: Could add test for empty input case
### Questions
None - ready to merge after addressing suggestions.
Be constructive:
Be specific:
Be kind: