code-reviewer
Review code for best practices and potential issues. Use when reviewing code, checking PRs, or analyzing code quality.
When & Why to Use This Skill
This Claude skill automates the code review process by analyzing source code for best practices, security vulnerabilities, and performance bottlenecks. It streamlines the development workflow by providing detailed feedback on code organization, error handling, and test coverage, ensuring high-quality standards are maintained across pull requests and existing codebases.
Use Cases
- Pull Request Auditing: Automatically scan PRs to identify anti-patterns, structural issues, and violations of best practices before human review.
- Security and Performance Checks: Use Grep and Read tools to detect potential security vulnerabilities and inefficient code blocks that could impact system performance.
- Maintainability Analysis: Evaluate code organization and structure to provide actionable suggestions for refactoring and improving long-term readability.
- Quality Assurance Validation: Check for robust error handling and ensure that critical logic paths are supported by adequate test coverage.
| name | code-reviewer |
|---|---|
| description | Review code for best practices and potential issues. Use when reviewing code, checking PRs, or analyzing code quality. |
| allowed-tools | Read, Grep, Glob |
Code Reviewer
Review checklist
- Code organization and structure
- Error handling
- Performance considerations
- Security concerns
- Test coverage
Instructions
- Read the target files using Read tool
- Search for patterns using Grep
- Find related files using Glob
- Provide detailed feedback on code quality