🤖 The AI Prompt That Separates Real Bugs From Style Nitpicks
Automated review comments on a pull request often mix genuinely function-altering issues – a missing null check, an off-by-one, a resource that’s never closed – with purely cosmetic ones – naming, spacing, import order – in one undifferentiated list, and a reviewer skimming it under time pressure can give both the same weight, or dismiss the whole list once enough nitpicks start to feel low-value. Asking explicitly for a severity-separated pass, with a concrete triggering scenario required for anything called a real bug, keeps the two categories from blurring into undifferentiated noise.
🔎 The Problem
PROMPT: "Review this diff. Sort every comment into exactly two sections: BEHAVIOR (would change what the code actually does for some real input or state - describe that input/state concretely) and STYLE (naming, formatting, convention - no behavior change). Do not put anything in BEHAVIOR unless you can state a concrete scenario where it matters. If a comment doesn't clearly belong in BEHAVIOR, it belongs in STYLE, not somewhere in between." [paste the diff]
✅ The Fix
- Requiring a concrete triggering scenario for every BEHAVIOR item filters out vague ‘this could theoretically be an issue’ comments, leaving only ones a reviewer can actually verify by constructing that exact scenario.
- Keeping STYLE comments in their own section instead of discarding them lets a reviewer batch-apply or batch-ignore all of them in seconds, instead of reading each one at the same pace as a behavior-affecting comment.
- Running this on your OWN pull request before requesting human review surfaces the behavior-affecting issues worth fixing first, leaving cosmetic cleanup for a quick final pass instead of mixing the two the whole way through.
🚨 Why This Is Dangerous
Treating every comment an automated review produces as equally urgent trains a team to either over-trust it (spending real review time on naming nitpicks) or under-trust it entirely once enough low-value comments pile up next to a genuine bug that then gets missed in the noise.
A comment that can’t name the input that breaks it isn’t a bug report – sorting for that one question is what keeps real issues from drowning in style notes.






