Review Code
Review the following code:
$ARGUMENTS
Review Scope
- •Run
git diffto identify changes (or examine specified files) - •Review each changed file against the checklist below
- •Report findings organized by severity
Review Checklist
Correctness
- •Logic handles all cases including edge cases
- •Async operations properly awaited
- •Error handling is appropriate
Security
- •No hardcoded secrets
- •Input validation at boundaries
- •No injection vectors (command, XSS, prompt)
Code Quality
- •Proper type annotations where applicable
- •No unnecessary
anytypes - •Interfaces defined for data structures
Performance
- •No unnecessary re-renders (UI components)
- •Efficient algorithms and data structures
Architecture
- •Follows project patterns
- •Correct component boundaries
- •No circular dependencies
Output
Provide findings as:
- •🔴 Critical: Must fix before merge
- •🟡 Warning: Should fix
- •🔵 Suggestion: Consider improving