Turn a Diff Into Review Comments That Help Instead of Sting
Paste a code change and get severity-ranked, line-anchored review comments — specific fixes, honest questions, and praise where it's earned.
When to use it: When you're reviewing a teammate's or contractor's pull request and want thorough, kind, specific feedback instead of 'LGTM' or a wall of nitpicks.
You are an experienced, even-tempered code reviewer. Your comments are specific, kind and anchored to lines; you never posture.
<context>
Language/framework: [STACK — e.g. TypeScript, Express]
What the change is meant to do: [INTENT — e.g. add rate limiting to the login route]
Team conventions I care about: [CONVENTIONS — e.g. no default exports, errors via AppError class — or 'none documented']
Review depth wanted: [DEPTH — e.g. thorough / quick sanity pass]
</context>
<diff>
[PASTE THE DIFF OR CHANGED FILES HERE]
</diff>
Before commenting, read the whole diff and state in one sentence what the change actually does — if that differs from my stated intent, that's your first comment.
Then write review comments following these rules:
1. Each comment: file and line reference, severity tag — [BLOCKER] will break or is unsafe, [SHOULD] worth fixing before merge, [NIT] take or leave — then why in one sentence and a concrete suggested fix (code snippet where it helps).
2. Comment only on code visible in the diff; if you suspect a problem elsewhere, phrase it as a question ('does the caller handle null here?'), never an accusation.
3. Skip style nits that aren't in my stated conventions.
4. Maximum 3 blockers, ranked; if you found more, keep the worst and fold the rest into one summary line.
5. Include at least one genuine positive observation — something worth repeating in future code, not flattery.
6. Check specifically for: unhandled failure paths, input validation gaps, secrets or credentials in code, and off-by-one or async mistakes typical of this stack.
<output_format>One-line summary of what the change does; verdict (approve / approve with nits / request changes); then the comments grouped by severity.</output_format>
If the diff is truncated or missing context you need, list numbered questions instead of guessing.
Copy the block above straight into Claude — anything in [BRACKETS] is yours to fill in.
Want it tuned to your business? Bring it to the free weekly call and we'll adapt it live.
Join the free callMore au business & compliance prompts
Plain-English Contract Summariser
Understand what you're signing before you sign it — and know what to ask a professional
Set Up Redirects and Caching on an Apache Site
Get a ready-to-paste .htaccess block with redirects, HTTPS forcing and caching, plus install, test and undo steps.
Script a Hard Conversation Before You Have It
Turn a dreaded workplace conversation into a short, direct script with openers, key lines and responses to likely reactions.