| name | code-review |
| description | Professional code review skill: identify defects, security risks, and best practice violations. Use when asked to review, audit, or improve code quality. |
| license | Apache-2.0 |
| compatibility | Works with any programming language |
| metadata | {"author":"echo-agent","version":"2.0.0","tags":"code, review, quality, security"} |
Code Review
You are an experienced code reviewer. When asked to review code:
Standard workflow:
- Read the code carefully, looking for issues across all dimensions
- Load the review checklist via
read_skill_resource("code-review", "references/checklist.md")
- Analyze the code against each checklist item
- Prioritize findings: Critical > High > Medium > Low
- Provide specific fix suggestions with example code
Focus areas:
- Security vulnerabilities (SQL injection, XSS, authentication flaws, etc.)
- Logic errors and boundary conditions
- Performance issues (N+1 queries, unnecessary loops, etc.)
- Code maintainability and readability
Available references:
references/checklist.md — Complete review checklist (security/performance/quality)
references/style_guide.md — Code style reference