Comprehensive PR review using specialized agents
Run a comprehensive PR review using specialized agents that analyze code quality, tests, error handling, types, and comments. Use it before creating a PR to catch issues early or after making changes based on feedback.
/plugin marketplace add tamutamu/ai-developer-env/plugin install pr-review-toolkit@claude-code-plugins[review-aspects]Run a comprehensive pull request review using multiple specialized agents, each focusing on a different aspect of code quality.
Review Aspects (optional): "$ARGUMENTS"
Determine Review Scope
Available Review Aspects:
Identify Changed Files
git diff --name-only to see modified filesgh pr viewDetermine Applicable Reviews
Based on changes:
Launch Review Agents
Sequential approach (one at a time):
Parallel approach (user can request):
Aggregate Results
After agents complete, summarize:
Provide Action Plan
Organize findings:
# PR Review Summary
## Critical Issues (X found)
- [agent-name]: Issue description [file:line]
## Important Issues (X found)
- [agent-name]: Issue description [file:line]
## Suggestions (X found)
- [agent-name]: Suggestion [file:line]
## Strengths
- What's well-done in this PR
## Recommended Action
1. Fix critical issues first
2. Address important issues
3. Consider suggestions
4. Re-run review after fixes
Full review (default):
/pr-review-toolkit:review-pr
Specific aspects:
/pr-review-toolkit:review-pr tests errors
# Reviews only test coverage and error handling
/pr-review-toolkit:review-pr comments
# Reviews only code comments
/pr-review-toolkit:review-pr simplify
# Simplifies code after passing review
Parallel review:
/pr-review-toolkit:review-pr all parallel
# Launches all agents in parallel
comment-analyzer:
pr-test-analyzer:
silent-failure-hunter:
type-design-analyzer:
code-reviewer:
code-simplifier:
Before committing:
1. Write code
2. Run: /pr-review-toolkit:review-pr code errors
3. Fix any critical issues
4. Commit
Before creating PR:
1. Stage all changes
2. Run: /pr-review-toolkit:review-pr all
3. Address all critical and important issues
4. Run specific reviews again to verify
5. Create PR
After PR feedback:
1. Make requested changes
2. Run targeted reviews based on feedback
3. Verify issues are resolved
4. Push updates
/agents list