| name | test-driven-development |
| description | Use when building features with behavior that can be checked. Work in a small red-green-refactor loop instead of writing a large untested block. |
Test Driven Development
Use this skill when the work benefits from small testable steps.
Workflow
- Write or name the expected behavior first.
- Start with a failing check.
- Make the smallest change that passes it.
- Clean up only after the check is green.
- Repeat in small loops.
Guardrails
- Do not write a giant feature before the first check.
- Do not skip the failing step unless the project truly cannot test that behavior.