Try it: messy draft β one hotkey β polished
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
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
Write the comment the way it sounds in your head. Make sure the technical point is in there.
Select it in the GitHub or GitLab comment box (Chrome extension) or in your editor, and press Alt+Shift+Z (β₯β§Z on Mac).
Pick the lens in Spotlight (Alt+Shift+L): Mentor for juniors and first PRs, Diplomat for blockers, Code Reviewer for structured feedback.
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
| Lens | Use it when you want |
|---|---|
| Mentor | Constructive, growth-focused feedback. |
| Diplomat | Firm but polite, for blocking issues. |
| Code Reviewer | Structured 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
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.
