/review-pr
Perform a thorough code review of a pull request with actionable feedback.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/review-pr
Context preview
What this command does when you run it.
Perform a thorough code review of a pull request with actionable feedback.
Command definition
review-pr.mdname: review-pr
description: Perform a thorough code review of a pull request with actionable feedback.
Perform a thorough code review of a pull request with actionable feedback.
Steps
1. Fetch PR metadata: `gh pr view <number> --json title,body,files,additions,deletions,labels`. 2. Read linked issues to understand the motivation for changes. 3. Fetch the full diff: `gh pr diff <number>`. 4. Review each file across quality dimensions:
- **Correctness**: Logic errors, missing edge cases, race conditions.
- **Security**: Input validation, auth checks, secret exposure.
- **Performance**: Query patterns, caching, resource management.
- **Maintainability**: Naming, complexity, documentation.
- **Testing**: Coverage of new code paths, edge case tests.
5. Verify:
- PR description explains what and why.
- Changes are focused on the stated goal (no scope creep).
- Tests are included for new functionality.
- No unintended files (build artifacts, config changes).
6. Rate each finding by severity (critical, warning, suggestion). 7. Compile the review with specific line references and fix suggestions. 8. Offer to post the review as a GitHub PR comment.
Format
## PR Review: #<number> - <title>
**Verdict**: Approve / Request Changes / Comment
### Findings
| Severity | File | Line | Issue |
|----------|------|------|-------|
| CRITICAL | src/auth.ts | 42 | SQL injection via unescaped input |
| WARNING | src/api.ts | 88 | Missing pagination on list endpoint |
### Summary
<overall assessment>
### What's Good
- <positive observation>
Rules
- Review all commits in the PR, not just the latest.
- Be specific: include file, line, and a concrete fix suggestion.
- Limit to 15 findings maximum; prioritize by impact.
- Request changes only for critical issues; approve with suggestions otherwise.
- Never approve a PR with known security vulnerabilities.
Read more
name: review-pr description: Perform a thorough code review of a pull request with actionable feedback.
Perform a thorough code review of a pull request with actionable feedback.
Steps
1. Fetch PR metadata: `gh pr view <number> --json title,body,files,additions,deletions,labels`. 2. Read linked issues to understand the motivation for changes. 3. Fetch the full diff: `gh pr diff <number>`. 4. Review each file across quality dimensions:
- **Correctness**: Logic errors, missing edge cases, race conditions.
- **Security**: Input validation, auth checks, secret exposure.
- **Performance**: Query patterns, caching, resource management.
- **Maintainability**: Naming, complexity, documentation.
- **Testing**: Coverage of new code paths, edge case tests.
5. Verify:
- PR description explains what and why.
- Changes are focused on the stated goal (no scope creep).
- Tests are included for new functionality.
- No unintended files (build artifacts, config changes).
6. Rate each finding by severity (critical, warning, suggestion). 7. Compile the review with specific line references and fix suggestions. 8. Offer to post the review as a GitHub PR comment.
Format
## PR Review: #<number> - <title> **Verdict**: Approve / Request Changes / Comment ### Findings | Severity | File | Line | Issue | |----------|------|------|-------| | CRITICAL | src/auth.ts | 42 | SQL injection via unescaped input | | WARNING | src/api.ts | 88 | Missing pagination on list endpoint | ### Summary <overall assessment> ### What's Good - <positive observation>
Rules
- Review all commits in the PR, not just the latest.
- Be specific: include file, line, and a concrete fix suggestion.
- Limit to 15 findings maximum; prioritize by impact.
- Request changes only for critical issues; approve with suggestions otherwise.
- Never approve a PR with known security vulnerabilities.
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

