openspec-sp-tdd

Community

Ship reliable code with fail-first TDD

Authorcenmiao
Version1.0.0
Installs0

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.