code-reviewer
SKILL.md
Code Review Skill
This skill helps to perform thorough code reviews, focusing on readability, maintainability, performance, security, and adherence to project-specific coding standards.
When to Use This Skill
- When a user explicitly asks for a "code review" of a file or set of files.
- When a user asks to "improve the quality" or "refactor" a piece of code.
- When a user submits code and asks for "feedback" or "suggestions".
Core Capabilities
- Syntax and Style Check: Verify adherence to established coding standards (e.g., PEP 8 for Python, ESLint rules for JavaScript).
- Best Practices: Identify deviations from common best practices for the given language/framework.
- Potential Bugs/Errors: Highlight common pitfalls, edge cases, or logical errors.
- Performance Optimization: Suggest areas where code could be made more efficient.
- Security Vulnerabilities: Point out potential security risks.
- Readability and Maintainability: Provide feedback on code clarity, comments, variable naming, and overall structure.
- Testability: Assess if the code is easily testable and suggest improvements.