Review a change before shipping
A proposed edit changes one character. Try the boundary test to see whether the new code still gives a 10% discount on orders of exactly $50.
Review the discount change
The store promises 10% off from $50. Both versions give $6 off a $60 order, so checking only that order misses the difference.
- cents >= 5000 + cents > 5000
Take it to your agent
Save the skill in your project and point your agent to the file when you paste the prompt. To practice first, use the Git exercise below.
Get the review skillUse the review skill on my current diff. Explain the behavior that changed, test its boundary, and separate confirmed failures from remaining questions. Show the failing input, expected result, and actual result before suggesting a fix.
Reproduce the failure locally
With Git and Node.js 22 or later, download and inspect the exercise. Run sh git-diff-review.sh to create a temporary practice repo. Enter the printed directory and run node --test discount.test.mjs to see the failing $50 test.