How to soften a harsh code review without watering it down

Keep the technical substance (the bug, the risk, the fix) and lose the 'did you even test this??'. Rewrite blunt PR comments into feedback people act on.

Try it: messy draft β†’ one hotkey β†’ polished

GitHub PR comment on a database query Diplomat lens

Before β€” your draft

this is literally a sql injection. did you even test this?? never concatenate user input into a query, this should never have been opened as a PR

After β€” Diplomat

This concatenates user input directly into the SQL query, which allows SQL injection. User input should never be concatenated into a query; please switch to a parameterized query. This needs to be fixed before merging. Could you also share how it was tested?
Next example: Alt+T
Try it on your own text

In the real app this happens in place β€” in Gmail, Word, Outlook, Slack or your terminal β€” with Alt+Shift+Z / βŒ₯⇧Z. No copy-paste, no prompt.

How to use it

  1. Write the comment the way it sounds in your head. Make sure the technical point is in there.

  2. Select it in the GitHub or GitLab comment box (Chrome extension) or in your editor, and press Alt+Shift+Z (βŒ₯⇧Z on Mac).

  3. Pick the lens in Spotlight (Alt+Shift+L): Mentor for juniors and first PRs, Diplomat for blockers, Code Reviewer for structured feedback.

  4. Check the rewrite still says whether it blocks the merge, then post.

The same lenses run in place on Mac, Windows, Linux and in Chrome, Edge and Brave, on one credit balance.

The rules that keep reviews useful

Comment on the code, not the person: 'This concatenates user input' instead of 'you concatenated'. Say why it matters: 'which allows SQL injection'. Say what to do: 'switch to a parameterized query'. Say whether it blocks the merge. Those four pieces are what Mentor and Diplomat keep; sarcasm, rhetorical questions and 'literally' are what they remove.

Phrases to retire from code review

'Did you even test this?' becomes 'How was this tested?' 'Why would you…' becomes 'What was the reason for…?' 'This is wrong' becomes 'This returns X when Y; expected Z.' 'Obviously…' gets deleted. 'Just do X' becomes 'Could we do X? It avoids Y.'

For hard feedback outside code, see the critical feedback guide.

Which lens to pick

Zero Shot lenses for this job and when to use each
LensUse it when you want
MentorConstructive, growth-focused feedback.
DiplomatFirm but polite, for blocking issues.
Code ReviewerStructured review with severity labels.

Not quite right? Press Alt+Shift+L to search all 996 lenses by name, or type a one-shot instruction of your own. Alt+T cycles through cached rewrites from the other suggested lenses, and Alt+U restores your original.

Paste your review comment

Paste your own draft below. 50 free transforms, no card β€” the same rewrite runs in any app with Alt+Shift+Z (βŒ₯⇧Z on Mac).

Try it yourself

Type or paste text, then use the hotkeys to transform

Alt
+
Shift
+
Z
Alt+Shift+Z to transform
your-text.txt
0/500 chars
10 of 10 free
Before
After
Alt+Shift+ZTransform
Alt+TCycle
Alt+UUndo

Frequently asked questions

Won't softer reviews let bad code through?

Only if the rewrite drops the requirement, and these lenses are built to keep it. The Diplomat example still says 'needs to be fixed before merging'. What goes is the contempt ('did you even test this??'), which tends to make people defensive rather than careful.

How should I handle nitpicks?

Label them. Code Reviewer formats feedback with severity labels (πŸ”΄ Critical, 🟑 Suggestion, 🟒 Nitpick) so authors know what's optional.

Does it work in GitHub and GitLab?

Yes, through the Chrome extension, which runs in any website text field in Chrome, Edge and Brave. On the desktop it also runs in VS Code on Windows and Xcode on Mac.

Can it write my PR description too?

Yes. The PR Description lens turns a rough summary into a clean pull request description with context and a list of changes.