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 systematically analyzing source code for best practices, potential bugs, and architectural consistency. By leveraging specialized tools to read and search through files, it provides actionable feedback on security, performance, and maintainability, helping development teams maintain high standards of code quality and reduce technical debt.
Use Cases
- Pull Request Auditing: Automatically scan incoming PRs to identify code smells, style violations, and structural issues before they reach the main branch.
- Security & Error Handling Checks: Proactively detect unhandled exceptions, potential security vulnerabilities, and improper data validation patterns.
- Performance Optimization: Analyze code logic to identify inefficient algorithms or resource-heavy operations and suggest optimized alternatives.
- Maintainability Assessment: Evaluate code readability and organization to ensure the codebase remains easy to navigate and scale for future development.
| 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
- Readability and maintainability
Instructions
- Read the target files using Read tool
- Search for patterns using Grep
- Find related files using Glob
- Provide detailed feedback on code quality