Code Review Like a Senior Engineer
Reviews a diff for correctness, edge cases, readability and tests, with prioritized comments.
ClaudeCode & Tech
92 words · free to use
Review this pull request like a thoughtful senior engineer. Context: [WHAT THE CHANGE IS FOR] Language/framework: [STACK] Diff: [PASTE DIFF] Return comments grouped as: - Must fix (bugs, data loss, security, broken edge cases) - Should fix (readability, naming, duplication, missing tests) - Nice to have (style, small improvements) For each comment: file and line, the problem, and a suggested change in code. Then list the edge cases this change should be tested against, and write 2-3 of those tests. End with an overall verdict: approve, approve with changes, or request changes.
How to use this prompt
- Copy the prompt with the button above.
- Replace the parts in brackets with your own details: [WHAT THE CHANGE IS FOR], [STACK], [PASTE DIFF].
- Paste it into Claude and send it. It also works in other AI chat tools.
- Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.