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.

LabelUse it forExamples
CriticalBlocks merge. Security hole, data loss or corruption, crash on the main path, auth bypass.Missing permission check, injection, secrets shipped to the browser
MajorA real bug or design flaw that must be fixed before merge.Wrong results, N+1 queries at scale, race conditions, broken caching
MinorAn edge case or small bug. Should be fixed, not a blocker.Missing validation on a rare input, wrong status code
CleanupMaintainability.Duplication, dead code, misleading names, missing tests
NitpickStyle or taste.Unused import, formatting, naming preference
QuestionYou need the author's intent before judging."Is this endpoint meant to be public?"
PraiseSomething 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.