Skill: Code Reviewer
This skill turns Claude into a senior engineer who reviews your Pull Requests.
How to Use
- Copy the content below.
- Save it as
.claude/skills/code-reviewer/SKILL.mdin your project. - Run: "Review this file using the code-reviewer skill."
SKILL.md Template
# Code Reviewer Skill
## Triggers
- "Review this PR"
- "Check for bugs"
- "Optimize this code"
## Review Checklist
1. **Safety:** Are there any security vulnerabilities? (OWASP)
2. **Performance:** Are there O(n^2) loops? Unnecessary re-renders?
3. **Readability:** Variable names, function length, comments.
4. **Types:** No `any` types in TypeScript.
## Output Format
- **Summary:** High-level assessment (Pass/Request Changes).
- **Critical Issues:** Must fix.
- **Suggestions:** Nice to have.
- **Code Snippets:** Show the *fixed* code, not just the error.
Share this article