code-review-ai
AI-powered architectural review and code quality analysis.
Overview
| Field | Value |
|---|---|
| Marketplace | claude-code-workflows |
| Source | wshobson/agents |
| License | MIT |
| Default | Pre-selected (recommended) |
Why Recommended?
This plugin integrates with our development workflow. The global CLAUDE.md references code-review-ai:architect-review as the agent for code reviews before committing significant changes.
┌─────────────────────────────────────────────────────────┐
│ 1. SPECIFY │
│ - Define user story / task in CLAUDE.md │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 2. IMPLEMENT │
│ - Write code │
│ - Write tests │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 3. CODE REVIEW ◄──── code-review-ai │
│ - Agent: code-review-ai:architect-review │
│ - Incorporate feedback │
└─────────────────────────────────────────────────────────┘Capabilities
Architectural Review
- Pattern compliance analysis
- Design principle adherence
- Dependency analysis
- Scalability assessment
Security Assessment
- Vulnerability detection
- Security best practices
- Authentication/authorization review
- Input validation checks
Code Quality
- Code smell detection
- Complexity analysis
- Maintainability scoring
- Test coverage assessment
Best Practices
- Language-specific conventions
- Framework-specific patterns
- Performance recommendations
- Documentation quality
Installation
Via Installer
./install.sh # Fresh install
./install.sh --add # Add to existingcode-review-ai is pre-selected by default.
Manual
# Add marketplace
claude plugin marketplace add wshobson/agents
# Install plugin
claude plugin install code-review-ai@claude-code-workflowsUsage
Direct Request
"Review this PR for architectural issues"
"Analyze the security of this module"
"Check this code for best practices"Via Task Tool
The plugin provides a subagent that can be spawned via the Task tool:
subagent_type: "code-review-ai:architect-review"This is used automatically when following the development workflow in global CLAUDE.md.
Review Output
The agent provides structured feedback:
- Summary - Overall assessment
- Architectural concerns - Design issues
- Security findings - Vulnerabilities
- Code quality - Improvements
- Recommendations - Actionable next steps
Integration with Workflow
After implementing a feature:
- Claude spawns
code-review-ai:architect-review - Agent reviews the changes
- Feedback is incorporated
- Code is committed
This ensures consistent quality before commits.