Reviewing small pull requests
Send GPT-5.4 mini a diff and ask for bugs, missing tests and unclear names. Keep the final approval with a human reviewer.
Example: What is wrong with this diff?
Material
- Diff
- - if (items.length > 0) { + if (items.length > 1) { applyDiscount(items);
PromptReview the diff and list bugs or missing tests, most important first.
Sample answer · written by hand to show the reasoning
The condition changed from > 0 to > 1, so a cart with exactly one item no longer gets the discount. If that is intended, it needs a test for the one-item case and a note in the PR description; if not, revert the condition.