testing-firstlisted
Install: claude install-skill bygama/skills
# Testing first
<!-- Derived from superpowers' test-driven-development/SKILL.md (v6.3.0),
MIT License, Copyright (c) 2025 Jesse Vincent. Adapted 2026-08-19.
Classified substantial (MAT-94); evidence:
https://github.com/bygama/skills/blob/002ef05fd8b9aceab6f7ed9f14cb8b8fa076441b/work/mat-94-attribution-skills/DECISIONS.md. Full upstream permission
notice: NOTICE (repo root). -->
Write the test first. Watch it fail. Write the least code that passes.
**If you did not watch the test fail, you do not know it tests the right
thing.** That single sentence is the whole discipline; everything below
defends it against the arguments you will make against it.
Violating the letter of the rules is violating the spirit of the rules.
## The Iron Law
```
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
```
Wrote the code before the test? Delete it and start from the test.
Delete means delete. Not kept as reference, not "adapted" while the
tests get written, not read one more time. Code you keep is code you
reproduce — and reproducing it is testing after, with extra steps.
**Applies to:** new features, bugfixes, refactors, behavior changes.
**Applies here too:** a skill, an eval, a prompt, a script. In this
library the failing test is the eval, which is why evals change before
content does — same law, different artifact.
**Exceptions:** throwaway prototypes, generated code, configuration.
These are the owner's call, not yours to grant — route the ask through
the la