openspec-sp-tdd
CommunityShip reliable code with fail-first TDD
System Documentation
What problem does it solve?
Prevents regressions and overengineered implementations by enforcing a fail-first workflow that ensures every production change is covered by a test. It reduces uncertainty during development and provides a repeatable cycle to deliver small, verifiable increments of functionality.
Core Features & Use Cases
- Red / Green / Refactor cycle: Start with a failing test (Red), implement the minimal code to pass (Green), then improve structure while preserving behavior (Refactor).
- Test-first discipline: Forces writing tests before production code to clarify requirements and catch regressions early.
- Use Cases: Implementing new features, reproducing and fixing bugs with regression tests, and performing safe refactors with confidence provided by an all-green test suite.
Quick Start
Write a failing test that expresses the desired behavior, run it to confirm failure, implement the minimal change to make the test pass, run the full test suite to ensure no regressions, and then refactor while keeping all tests green.
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: openspec-sp-tdd Download link: https://github.com/cenmiao/openspec-pro/archive/main.zip#openspec-sp-tdd 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.