What problem does it solve? Writing tests after code often produces brittle tests coupled to implementation details that break on every refactor. This Skill enforces a disciplined test-first workflow so tests verify behavior through public interfaces and survive internal changes. ## Core Features & Use Cases - Red-Green-Refactor Loop: Drives one test at a time through failing test, minimal implementation, then refactoring, avoiding the anti-pattern of writing all tests before all code. - Behavior-Focused Test Design: Distinguishes good integration-style tests from implementation-coupled tests, with concrete TypeScript examples of each. - Interface and Mocking Guidance: Provides reference material on deep modules, dependency injection, and mocking only at system boundaries like external APIs and time. - Use Case: When building a checkout feature, write one failing test for a single behavior, implement just enough code to pass, then repeat for each remaining behavior before refactoring. ## Quick Start Use test-driven development to build this feature one behavior at a time with the red-green-refactor loop.