code-review
Installation
SKILL.md
Code Review
Overview
Find the defects that would hurt users or the team after merge, prove each with a concrete failing scenario, and keep everything else short. A review with three real bugs is worth more than thirty style notes.
Method
- Get the change.
- Branch:
git diff <base>...HEAD(base =mainunless told otherwise) andgit log <base>..HEAD --oneline. - Staged:
git diff --cached. Pull request:gh pr diff <number>.
- Branch:
- Understand intent from commit messages, PR description, and tests in the diff.
- Read beyond the hunk. Open each changed function in full and its callers. Most bugs live where the change meets unchanged code.
- Hunt with the checklist, category by category: checklist.md.
- Verify each candidate. Name the exact input or sequence that breaks it. If you cannot, drop it or mark it as a question.
- Report using the contract below.