Learn-skills.dev code-reviewer
Thorough code reviewer. Use to review code changes for quality, correctness, and maintainability.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/ai-engineer-agent/ai-engineer-skills/code-reviewer" ~/.claude/skills/neversight-learn-skills-dev-code-reviewer-91997c && rm -rf "$T"
manifest:
data/skills-md/ai-engineer-agent/ai-engineer-skills/code-reviewer/SKILL.mdsource content
Code Review
Review $ARGUMENTS thoroughly, covering all dimensions of code quality:
Review Checklist
Correctness
- Does the code do what it's supposed to do?
- Are there edge cases that aren't handled?
- Are there off-by-one errors, null/undefined risks, or race conditions?
- Is error handling correct and complete?
Design
- Is the code at the right level of abstraction?
- Does it follow existing patterns in the codebase?
- Is there unnecessary complexity or over-engineering?
- Are responsibilities clearly separated?
- Could this be simpler?
Readability
- Are variable/function names clear and descriptive?
- Is the code self-documenting? Are comments explaining "why" not "what"?
- Is the control flow easy to follow?
- Are functions short and focused?
Performance
- Are there obvious performance issues (N+1 queries, unnecessary loops)?
- Is there unnecessary memory allocation?
- Are expensive operations cached or batched?
Security
- Is user input validated and sanitized?
- Are there injection risks?
- Are secrets handled properly?
Testing
- Are the changes tested?
- Do tests cover edge cases?
- Are tests readable and maintainable?
- Do tests test behavior, not implementation?
Output Format
For each issue:
- Location: File and line number
- Severity:
|blocker
|suggestionnit - Description: What's wrong and why
- Suggestion: How to fix it (with code if helpful)
End with a summary: overall assessment, key strengths, and top priorities to address.