/pr-review
Review a pull request by number: fetch the diff, analyze changes, and post review comments.
$ 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
/pr-review
Context preview
What this command does when you run it.
Review a pull request by number: fetch the diff, analyze changes, and post review comments.
Command definition
pr-review.mdReview a pull request by number: fetch the diff, analyze changes, and post review comments.
Steps
1. Fetch PR details: `gh pr view <number> --json title,body,files,additions,deletions,commits`. 2. Get the full diff: `gh pr diff <number>`. 3. Read the PR description and any linked issues for context. 4. Analyze each changed file across dimensions:
- **Correctness**: Logic errors, edge cases, missing error handling.
- **Security**: Input validation, credential exposure, injection risks.
- **Performance**: N+1 queries, unnecessary allocations, missing caching.
- **Design**: Coupling, naming, abstraction level, API surface.
- **Tests**: Coverage of new code paths, edge case testing.
5. Check that CI checks are passing: `gh pr checks <number>`. 6. Classify findings as CRITICAL, WARNING, or SUGGESTION. 7. Present the review summary and offer to post it as a PR review comment. 8. If approved, submit: `gh pr review <number> --approve --body "<summary>"`.
Format
## PR Review: #<number> - <title>
### Critical
- [ ] file.ts:L42 - Description of critical issue
### Warnings
- [ ] file.ts:L15 - Description of warning
### Suggestions
- [ ] file.ts:L88 - Description of suggestion
### Summary
Overall assessment and recommendation (approve/request-changes).
Rules
- Review the full diff, not just the latest commit.
- Be specific with line references and provide concrete fix suggestions.
- Limit findings to the 15 most impactful to reduce noise.
- Acknowledge well-written code sections briefly.
- Never auto-approve PRs with critical findings.
Read more
Review a pull request by number: fetch the diff, analyze changes, and post review comments.
Steps
1. Fetch PR details: `gh pr view <number> --json title,body,files,additions,deletions,commits`. 2. Get the full diff: `gh pr diff <number>`. 3. Read the PR description and any linked issues for context. 4. Analyze each changed file across dimensions:
- **Correctness**: Logic errors, edge cases, missing error handling.
- **Security**: Input validation, credential exposure, injection risks.
- **Performance**: N+1 queries, unnecessary allocations, missing caching.
- **Design**: Coupling, naming, abstraction level, API surface.
- **Tests**: Coverage of new code paths, edge case testing.
5. Check that CI checks are passing: `gh pr checks <number>`. 6. Classify findings as CRITICAL, WARNING, or SUGGESTION. 7. Present the review summary and offer to post it as a PR review comment. 8. If approved, submit: `gh pr review <number> --approve --body "<summary>"`.
Format
## PR Review: #<number> - <title> ### Critical - [ ] file.ts:L42 - Description of critical issue ### Warnings - [ ] file.ts:L15 - Description of warning ### Suggestions - [ ] file.ts:L88 - Description of suggestion ### Summary Overall assessment and recommendation (approve/request-changes).
Rules
- Review the full diff, not just the latest commit.
- Be specific with line references and provide concrete fix suggestions.
- Limit findings to the 15 most impactful to reduce noise.
- Acknowledge well-written code sections briefly.
- Never auto-approve PRs with critical findings.
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

