reviewing-code
Installation
SKILL.md
reviewing-code — Diff review and task closure
Purpose
The discipline of reviewing a change before applying or integrating it: the diff must be atomic, reviewable and clean. It triggers on "review this", "is it ready?", "clean up", task closure — not while writing code (that is the coding-standards skill, if available). It contributes the review criteria; the consumer writes the code and the commit.
Knowledge
Atomic, single-intent diff
- One concern per diff — separate refactor from feature from fix. A mixed change gets split into distinct commits/diffs.
- >5 touched files → atomic sub-steps — decompose into small, reviewable steps, never a mega-diff.
- Massive refactors (rename, file moves, reformatting) go in their own isolated diff, never mixed with new logic.
- Extracting a repeated pattern to
shared/(FE) orcommon//util/(BE) is proposed as a separate diff, never embedded in the feature.