What problem does it solve? Writing tests after code (or all tests before code) produces brittle tests coupled to implementation details that break on every refactor. This Skill enforces a disciplined test-first workflow where tests verify behavior through public interfaces and survive internal changes. ## Core Features & Use Cases - Red-Green-Refactor Workflow: Drives one test at a time through tracer-bullet cycles, avoiding the horizontal-slicing anti-pattern of writing all tests upfront. - Behavior-Focused Test Design: Provides guidelines for writing integration-style tests through public APIs, with mocking restricted to system boundaries like external APIs, time, and file systems. - Interface Design Guidance: Includes references on deep modules, dependency injection, and testable interface design to keep test surfaces small. - Use Case: When building a new checkout feature, use this Skill to plan which behaviors to test, write one failing test, implement minimal code to pass, and repeat until the feature is complete, then refactor safely. ## Quick Start Use the tdd skill to build this feature test-first, one behavior at a time through the public interface.