review-local-changes
Review uncommitted local changes using all specialized agents with code improvement suggestions.
Purpose - Comprehensive review before committing
Output - Structured report with findings by severity
/code-review:review-local-changes ["review-aspects"]Arguments
Optional review aspects to focus on (e.g., "security", "bugs", "tests")
How It Works
Change Detection: Identifies all uncommitted changes in the working directory
Staged changes
Unstaged modifications
New files
Parallel Agent Analysis: Spawns six specialized agents simultaneously
Bug Hunter - Identifies potential bugs and edge cases
Security Auditor - Finds security vulnerabilities
Test Coverage Reviewer - Evaluates test coverage
Code Quality Reviewer - Assesses code structure
Contracts Reviewer - Reviews API contracts
Historical Context Reviewer - Analyzes codebase patterns
Finding Aggregation: Combines all agent reports
Categorizes by severity (Critical, High, Medium, Low)
Removes duplicates
Adds file and line references
Report Generation: Produces actionable report with prioritized findings
Usage Examples
Best Practices
Review before committing - Run review on local changes before
git commitAddress critical issues first - Fix Critical and High priority findings immediately
Iterate after fixes - Run again to verify issues are resolved
Combine with reflexion - Use
/reflexion:memorizeto save patterns for future reference
Last updated