What problem does it solve? Writing tests after implementation often produces brittle, implementation-coupled tests that break during refactors and fail to verify real behavior. This Skill enforces a disciplined test-first workflow so tests act as durable specifications of behavior. ## Core Features & Use Cases - Red-Green Loop Rules: Enforces writing a failing test before any implementation, one vertical slice at a time, with no speculative features. - Seam Identification: Defines tests only at pre-agreed public interface boundaries, confirmed with the user before any test is written. - Anti-Pattern Detection: Flags implementation-coupled, tautological, and horizontally-sliced tests with concrete good/bad examples. - Mocking Guidelines: Restricts mocks to system boundaries like external APIs, time, and file systems, with dependency injection patterns. - Use Case: When building a checkout feature, use this Skill to write a failing integration test through the public API first, then implement just enough code to pass it, repeating per slice. ## Quick Start Use the tdd skill to build the new checkout feature test-first, starting by agreeing on the seams we should test.