| name | code-reviewer |
| description | Review code for best practices, potential bugs, and security issues. |
Code Reviewer Skill
Description
This skill guides you through a comprehensive code review process. Use this when asked to review code or before finalizing changes.
Checklist
- Functionality: Does the code do what it's supposed to do?
- Readability: Is the code easy to understand? Are variable names descriptive?
- Complexity: Is the logic too complex? Can it be simplified?
- Error Handling: Are exceptions handled gracefully?
- Security: Are there any obvious security vulnerabilities (e.g., hardcoded keys, injection risks)?
- Testing: Are there tests for the new code?
Instructions
- Use
List Directory to find the files to review.
- Use
File Read to examine the content of the files.
- Use
Grep Search to look for specific patterns if needed.
- Create a report in
REVIEW.md listing your findings based on the checklist above.
- If critical issues are found, add them to
TODO.md to be fixed.