Skill: Code Reviewer

This skill turns Claude into a senior engineer who reviews your Pull Requests.

How to Use

  1. Copy the content below.
  2. Save it as .claude/skills/code-reviewer/SKILL.md in your project.
  3. 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.