Run comprehensive code review on specified files or recent changes
Run comprehensive code review on specified files or recent changes, with optional focus areas like security, performance, or testing.
/plugin marketplace add betamatt/claude-plugins/plugin install code-review@betamatt-claude-plugins[files|--changed|--focus=<area>]Run a comprehensive code review on the specified scope.
Available focus areas (use with --focus):
architecture - Module organization, separation of concerns, design patternssecurity - Vulnerabilities, auth issues, secrets, supply chainperformance - Algorithm complexity, N+1 queries, async patterns, memoryquality - Readability, naming, complexity, DRY principlestesting - Assertions, isolation, edge cases, maintainabilitydocs - README, JSDoc, breaking changes, API documentationDetermine Scope
--changed, get files from git diff --name-only HEADGather Context
Execute Review
--focus specified, perform targeted single-aspect reviewConsolidate Results
# Code Review: [Scope]
## Summary
- Files Reviewed: X
- Critical Issues: X
- High Priority: X
- Medium Priority: X
## Critical Issues
[Issues with root cause analysis and working solutions]
## High Priority
[Issues with root cause analysis and working solutions]
## Medium Priority
[Issues with root cause analysis and working solutions]
## Strengths
[Well-done aspects worth preserving]
## Recommendations
[Proactive improvements beyond issues found]
/code-review src/auth/
/code-review --changed
/code-review --focus=security src/api/
/code-review *.ts --focus=performance
/code-reviewCode review a pull request
/code-reviewCode review a pull request
/code-reviewPerform a comprehensive code review of recent changes