A comprehensive collection of specialized agents for thorough pull request review, covering code comments, test coverage, error handling, type design, code quality, and code simplification.
This plugin bundles 6 expert review agents that each focus on a specific aspect of code quality. Use them individually for targeted reviews or together for comprehensive PR analysis.
Focus: Code comment accuracy and maintainability
Analyzes:
When to use:
Triggers:
"Check if the comments are accurate"
"Review the documentation I added"
"Analyze comments for technical debt"
Focus: Test coverage quality and completeness
Analyzes:
When to use:
Triggers:
"Check if the tests are thorough"
"Review test coverage for this PR"
"Are there any critical test gaps?"
Focus: Error handling and silent failures
Analyzes:
When to use:
Triggers:
"Review the error handling"
"Check for silent failures"
"Analyze catch blocks in this PR"
Focus: Type design quality and invariants
Analyzes:
When to use:
Triggers:
"Review the UserAccount type design"
"Analyze type design in this PR"
"Check if this type has strong invariants"
Focus: General code review for project guidelines
Analyzes:
When to use:
Triggers:
"Review my recent changes"
"Check if everything looks good"
"Review this code before I commit"
Focus: Code simplification and refactoring
Analyzes:
When to use:
Triggers:
"Simplify this code"
"Make this clearer"
"Refine this implementation"
Note: This agent preserves functionality while improving code structure and maintainability.
Simply ask questions that match an agent's focus area, and Claude will automatically trigger the appropriate agent:
"Can you check if the tests cover all edge cases?"
→ Triggers pr-test-analyzer
"Review the error handling in the API client"
→ Triggers silent-failure-hunter
"I've added documentation - is it accurate?"
→ Triggers comment-analyzer
For thorough PR review, ask for multiple aspects:
"I'm ready to create this PR. Please:
1. Review test coverage
2. Check for silent failures
3. Verify code comments are accurate
4. Review any new types
5. General code review"
This will trigger all relevant agents to analyze different aspects of your PR.
Claude may proactively use these agents based on context:
Install from your personal marketplace:
/plugins
# Find "pr-review-toolkit"
# Install
Or add manually to settings if needed.
Agents provide confidence scores for their findings:
comment-analyzer: Identifies issues with high confidence in accuracy checks
pr-test-analyzer: Rates test gaps 1-10 (10 = critical, must add)
silent-failure-hunter: Flags severity of error handling issues
type-design-analyzer: Rates 4 dimensions on 1-10 scale
code-reviewer: Scores issues 0-100 (91-100 = critical)
code-simplifier: Identifies complexity and suggests simplifications
All agents provide structured, actionable output:
Before Committing:
Before Creating PR:
After Passing Review:
During PR Review:
You can request multiple agents to run in parallel or sequentially:
Parallel (faster):
"Run pr-test-analyzer and comment-analyzer in parallel"
Sequential (when one informs the other):
"First review test coverage, then check code quality"
Issue: Asked for review but agent didn't run
Solution:
Issue: Agent reviewing too much or wrong files
Solution:
This plugin works great with:
Recommended workflow:
Found issues or have suggestions? These agents are maintained in:
~/.claude/agents/.claude/agents/ in claude-cli-internalMIT
Daisy (daisy@anthropic.com)
Quick Start: Just ask for review and the right agent will trigger automatically!