What problem does it solve? Writing tests after implementation often produces brittle tests coupled to internal structure that break during refactors and fail to catch real regressions. This Skill enforces a disciplined test-first workflow so tests verify observable behavior through public interfaces and survive code changes. ## Core Features & Use Cases - Vertical Slice Workflow: Enforces one test then one implementation per cycle instead of writing all tests upfront, preventing speculative tests of imagined behavior. - Behavior-Focused Testing Guidance: Distinguishes good integration-style tests from implementation-coupled tests, with concrete TypeScript examples of each. - Mocking and Refactoring Rules: Defines when to mock (system boundaries only), how to design mockable interfaces via dependency injection, and what refactor candidates to look for after each green phase. - Use Case: When adding a checkout feature, write one failing test for a single behavior like cart confirmation, implement the minimal code to pass, then repeat for each remaining behavior before refactoring. ## Quick Start Ask the assistant to build a new feature using test-driven development with one red-green-refactor cycle per behavior.