What problem does it solve?
This skill addresses the common pitfalls of testing, such as coupling tests to implementation details or writing tautological tests, ensuring that your test suite acts as a reliable specification rather than a maintenance burden.
Core Features & Use Cases
- Seam Identification: Provides a framework for defining public interfaces where tests should be anchored to ensure they remain stable during refactoring.
- Mocking Strategy: Offers clear rules on when to mock (system boundaries) and when to avoid it (internal collaborators), promoting better architectural design.
- Loop Discipline: Enforces the red-green-refactor cycle, ensuring tests are written as tracer bullets that verify observable behavior.
Quick Start
Ask the tdd skill to help you identify the appropriate seams for the current module before writing your first failing test.