Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Before fixing any bug, write a test that reproduces it and watch it fail. Use for every bug fix.
.claude/skills/archive228-write-failing-test-first/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 1527% | 0% |
The only proof you fixed a bug is a test that failed before and passes after.
If you can't write the test easily, the architecture is telling you something (tight coupling). Say so. Never: fix first, test after (you'll write a test that passes regardless). Never: skip the watch-it-fail step.
Other measured skills in the registry, with their headline benchmark lift.