# Code Review

> Code Review Skill

- Skill: `jasonkneen/code-review-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jasonkneen/code-review-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jasonkneen/code-review-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jasonkneen (https://skillmd.com/u/jasonkneen)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jasonkneen/code-review-2

---

# Code Review Skill

## Purpose
Provide consistent, high-signal code reviews by focusing on correctness, clarity, maintainability, security, performance, tests, and developer experience.

## Inputs
- PR description and linked issues
- Code diffs and file context
- Existing conventions in the repository

## Review Checklist
### Correctness
- Does the change satisfy the requirements?
- Are edge cases handled?
- Are errors propagated/handled appropriately?

### Readability & Maintainability
- Is the code easy to follow?
- Are names clear and consistent?
- Is complexity justified?
- Are public APIs documented?

### Security
- Validate/encode untrusted input
- Avoid leaking secrets/PII
- Check authZ/authN boundaries

### Performance
- Watch for N+1 queries, unnecessary allocations, inefficient loops
- Ensure any tradeoffs are explained

### Testing
- Are tests added/updated?
- Do tests cover failure cases and boundaries?
- Are tests deterministic and fast?

### Style & Consistency
- Follows project lint/format rules
- No dead code or commented-out blocks

## Output Format
- Summary of change
- Key issues (must-fix)
- Suggestions (nice-to-have)
- Questions/uncertainties

## Tone
Be constructive and specific. Prefer actionable suggestions with examples.
