What problem does it solve? It prevents backfilled tests and unverified behavior changes by requiring a failing test to be observed before any production code is written, ensuring every edit is anchored to an observable contract. ## Core Features & Use Cases - Red-Green-Refactor Cycle: Guides writing one failing test, verifying it fails for the intended behavioral reason, then implementing the minimum code to make it green. - Test Layer Selection: Directs each behavior to the cheapest isolating layer — unit, component integration, graphics smoke, ROM conformance, or acceptance tests. - Stateful and Failure-Mode Coverage: Requires failure and multi-step sequence tests for stateful, cached, asynchronous, persistent, or resource-owning code. - Use Case: When fixing a bug in a Lua module of a LÖVE game, write a failing unit test next to the module, confirm it fails for the behavioral reason, implement the fix, then run the layer, full suite, and lint. ## Quick Start Ask the assistant to implement a bug fix or feature using the tdd skill so it writes a failing test first and verifies it turns red before changing production code.