code-reviewer
A skill that helps review code for best practices, bugs, and security issues
When & Why to Use This Skill
The Code Reviewer skill is an advanced AI-driven tool designed to optimize the software development lifecycle by performing comprehensive code analysis. It identifies critical bugs, security vulnerabilities, and performance bottlenecks while ensuring strict adherence to industry best practices. By providing constructive, prioritized feedback, it helps engineering teams maintain high code quality, reduce technical debt, and accelerate the peer review process.
Use Cases
- Pull Request Auditing: Automatically scan new code submissions for logic bugs, syntax errors, and style inconsistencies to streamline the manual review workflow.
- Security Vulnerability Detection: Proactively identify high-risk security flaws such as SQL injection, hardcoded secrets, and improper data sanitization before deployment.
- Performance Optimization: Detect inefficient programming patterns, including N+1 database queries and memory leaks, to ensure optimal application speed and resource management.
- Best Practice Compliance: Verify that code follows essential development standards, including robust error handling, null pointer safety, and clean code principles.
| name | code-reviewer |
|---|---|
| description | A skill that helps review code for best practices, bugs, and security issues |
Code Reviewer
This skill helps you review code for common issues.
When to Use
Use this skill when:
- Reviewing pull requests
- Checking code quality
- Looking for security vulnerabilities
Guidelines
Always check for:
- Null pointer exceptions
- SQL injection vulnerabilities
- Hardcoded secrets
- Missing error handling
Provide constructive feedback with suggestions
Prioritize issues by severity
Examples
Example 1: Security Review
When asked "review this code for security issues", focus on:
- Input validation
- Authentication/authorization
- Data sanitization
Example 2: Performance Review
When asked about performance, check for:
- N+1 queries
- Unnecessary loops
- Memory leaks