Test-Driven Development (Spec Kit Plus)
CommunityWrite the failing test first, always.
Authorchenziyang110
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents incomplete or fragile implementations by enforcing that you verify requirements through a failing test before writing production code, reducing regressions and debugging churn.
Core Features & Use Cases
- Iron Law: failing test first: Requires starting with a test that demonstrates the feature is missing or the bug reproduces before changing production behavior.
- Tight TDD loop (Red → Green → Refactor): Guides you to implement the minimum code to pass, then refactor without introducing new behavior.
- Workflow alignment with sp- tasks*: Applies specifically when working in sp-implement, sp-debug, sp-fast, and sp-quick so your first step is evidence-based and requirement-complete.
Quick Start
Use the test-driven-development skill when you begin a change to ensure you first write a failing test that proves what is currently broken or missing, then write the smallest production code change to make it pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Test-Driven Development (Spec Kit Plus) Download link: https://github.com/chenziyang110/spec-kit-plus/archive/main.zip#test-driven-development-spec-kit-plus Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.