Code Review
Review the specified code for:
Quality Checks
Code Style
- Consistent naming conventions
- Proper indentation and formatting
- No unused imports or variables
Logic
- Edge case handling
- Error handling
- Null/undefined checks
Performance
- Unnecessary re-renders (React)
- N+1 queries
- Memory leaks
Security
- Input validation
- SQL injection prevention
- XSS prevention
Output Format
For each issue found:
- File and line number
- Issue description
- Suggested fix
- Severity (high/medium/low)
Source: linjh1118/claude-code-tutorial — distributed by TomeVault.