What problem does it solve? Horizontal slicing (writing all tests first, then all implementations) produces tests that describe imagined behavior, mega-commits reviewers cannot read, and expensive rework. This Skill forces a disciplined vertical-slice TDD workflow so every commit is working software backed by a real test. ## Core Features & Use Cases - Vertical Slice Enforcement: Mandates one failing test, one minimal implementation, and one commit per slice, with each diff kept under roughly 50 lines. - RED-GREEN Verification: Requires actually running pytest or vitest to confirm the test fails before implementation and passes after, preventing vacuous tests. - Commit Discipline: Standardizes commit messages containing "TDD RED → GREEN" plus a one-line description and next-slice note. - Mocking Rules: Permits mocking only external dependencies (APIs, DB, time, randomness) via factory functions, forbidding mocks of internal collaborators. - Use Case: When building a booking API endpoint, write one integration test for POST returning 201 with an id, implement the minimal handler, commit, then add persistence, validation, and email slices in subsequent cycles. ## Quick Start Ask the AI to run the rsun-tdd skill before writing any production code, starting with one failing test for the smallest user-facing behavior.