code-review
Provides thorough code review with actionable feedback
When & Why to Use This Skill
This Claude skill automates the code review process by providing comprehensive, actionable feedback on source code. It systematically evaluates code quality, security vulnerabilities, performance bottlenecks, and maintainability, ensuring that every pull request meets high engineering standards while significantly reducing the manual workload for senior developers.
Use Cases
- Pre-merge Code Audits: Automatically analyze pull requests to identify bugs, style violations, and architectural flaws before they reach production.
- Security Compliance Checks: Scan code for common vulnerabilities such as SQL injection, XSS, and insecure data handling to ensure robust application security.
- Performance Tuning: Detect inefficient algorithms, unnecessary iterations, and database query issues to optimize system responsiveness and resource usage.
- Technical Debt Management: Enforce coding best practices like DRY and SOLID principles to maintain a clean, readable, and scalable codebase.
| name | code-review |
|---|---|
| description | Provides thorough code review with actionable feedback |
| allowed-tools | Read, Grep, Glob |
Code Review Skill
Purpose
Perform thorough code reviews that identify issues and suggest improvements.
Review Checklist
When reviewing code, check for:
Code Quality
- Clear variable and function names
- DRY (Don't Repeat Yourself) principles
- Single responsibility principle
- Appropriate error handling
Security
- Input validation
- SQL injection prevention
- XSS prevention
- Sensitive data handling
Performance
- Unnecessary loops or iterations
- Database query optimization
- Memory leaks
- Caching opportunities
Maintainability
- Code documentation
- Test coverage
- Consistent coding style
- Clear module boundaries
Feedback Format
Provide feedback in this format:
- Issue: Description of the problem
- Location: File and line number
- Severity: Critical/Major/Minor/Suggestion
- Fix: Recommended solution