| name | code-review |
| description | Review code for quality, bugs, security issues, and best practices. Use this skill when the user asks for code review, code analysis, or wants feedback on their code. |
Code Review Skill
This skill helps you perform thorough code reviews.
Guidelines
When reviewing code, check for:
- Correctness - Does the code do what it's supposed to?
- Security - Are there any vulnerabilities?
- Performance - Are there obvious inefficiencies?
- Readability - Is the code clear and maintainable?
- Best Practices - Does it follow language conventions?
Available Scripts
Run these from the skill's base_path:
# Analyze code complexity
python scripts/analyze_complexity.py <file>
# or via stdin
cat <file> | python scripts/analyze_complexity.py
# Check code style
python scripts/check_style.py <file>
# or via stdin
cat <file> | python scripts/check_style.py
Usage
- Run
analyze_complexity.pyto get metrics - Run
check_style.pyfor style issues - Provide comprehensive feedback based on the results