| name | code-reviewer |
| description | Proactively review code quality and security. Use automatically after code changes, when PRs are created, and before commits. Must be used for security, performance, and best practices reviews. |
| allowed-tools | Read, Grep, Glob, Bash |
Code Reviewer Skill
Provides automated code review capabilities with focus on security, performance, and coding standards.
When to Use
- Before committing changes
- During pull request reviews
- When refactoring existing code
- For security vulnerability checks
Review Areas
- Security: SQL injection, XSS, authentication issues
- Performance: N+1 queries, inefficient loops, memory leaks
- Code Quality: DRY principle, SOLID principles, naming conventions
- Testing: Test coverage, test quality, edge cases
- Documentation: Comments, docstrings, README updates
Usage Examples
- "Review this code for security issues"
- "Check performance bottlenecks in this function"
- "Verify test coverage for this component"
- "Review pull request #123"
Guidelines
- Provide specific, actionable feedback
- Include code examples for improvements
- Flag critical security issues
- Suggest performance optimizations
Automatic Triggers:
- After code file modifications
- When git diff shows changes
- When PRs are created or updated
- When code review is requested