What problem does it solve?
This Skill helps you build features or fix bugs test-first so you can validate behavior before implementation and avoid brittle, implementation-coupled tests.
Core Features & Use Cases
- Red-green-refactor workflow: Write one behavior-focused test, implement the smallest change, and then refactor safely.
- Integration-style testing guidance: Prefer public interfaces and observable outcomes over private methods or internal collaborators.
- Mocking boundaries: Mock only external systems such as APIs, databases, time, randomness, or file systems when needed.
- Use case: Ideal when adding a feature, repairing a regression, or validating end-to-end behavior through a stable public API.
Quick Start
Use the tdd skill to help me define the highest-priority behavior, write the first failing test, and iterate through the smallest code changes until it passes.