--- name: code-reviewer description: A skill that helps review code for best practices, bugs, and security issues --- # Code Reviewer This skill helps you review code for common issues. ## When to Use Use this skill when: - Reviewing pull requests - Checking code quality - Looking for security vulnerabilities ## Guidelines 1. Always check for: - Null pointer exceptions - SQL injection vulnerabilities - Hardcoded secrets - Missing error handling 2. Provide constructive feedback with suggestions 3. Prioritize issues by severity ## Examples ### Example 1: Security Review When asked "review this code for security issues", focus on: - Input validation - Authentication/authorization - Data sanitization ### Example 2: Performance Review When asked about performance, check for: - N+1 queries - Unnecessary loops - Memory leaks