code-review
Installation
SKILL.md
Code-Review Skill
Purpose
Perform thorough, multi-pass code review that catches bugs, security vulnerabilities, performance issues, and maintainability problems before they reach production. Each pass focuses on a different dimension of code quality.
A code review is not a checklist exercise. It is an act of empathy -- reading code as a future maintainer who needs to understand it, modify it, and trust it.
Workflow
Pre-Review: Context Gathering
- Understand what the code is supposed to do -- Read the PR description, commit messages, or user explanation. If none is available, infer the intent from the code itself and state your assumption.
- Identify the scope -- What files are being reviewed? What is the blast radius of these changes?
- Read related code -- Understand the interfaces and contracts the code interacts with. Read the caller and callee code, not just the changed code.
Pass 1: Logic and Correctness
Focus: Does the code do what it is supposed to do?