Classifying comments
Every comment needs a label. The label is half the skill: a reviewer who flags a SQL injection as a nitpick has not really caught it.
| Label | Use it for | Examples |
|---|---|---|
| Critical | Blocks merge. Security hole, data loss or corruption, crash on the main path, auth bypass. | Missing permission check, injection, secrets shipped to the browser |
| Major | A real bug or design flaw that must be fixed before merge. | Wrong results, N+1 queries at scale, race conditions, broken caching |
| Minor | An edge case or small bug. Should be fixed, not a blocker. | Missing validation on a rare input, wrong status code |
| Cleanup | Maintainability. | Duplication, dead code, misleading names, missing tests |
| Nitpick | Style or taste. | Unused import, formatting, naming preference |
| Question | You need the author's intent before judging. | "Is this endpoint meant to be public?" |
| Praise | Something done well. | A clean abstraction, a good test |
Rules of thumb:
- Ask "what happens in production if this ships?" Users harmed or data wrong: Critical or Major. Annoying: Minor. Nobody notices: Cleanup or Nitpick.
- When unsure between two levels, pick the higher one and say why.
- Questions and praise score nothing on their own, but they cost nothing either.