Test-Driven Development (TDD) Guide
CommunityFail-first testing for reliable code.
Authormikeyobrien
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide outlines the TDD methodology, emphasizing that developers must write failing tests before implementing features to ensure correct behavior and prevent regressions.
Core Features & Use Cases
- Red-Green-Refactor Cycle: RED: write a failing test; GREEN: implement the simplest code; REFACTOR: improve while keeping tests green.
- Iron Law: production code requires a failing test first.
- Verification Checkpoints: ensure tests fail for the right reasons and pass afterward.
Quick Start
Create a minimal failing test for a new feature, write the simplest code to pass, then refactor while keeping 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: Test-Driven Development (TDD) Guide Download link: https://github.com/mikeyobrien/ghclip/archive/main.zip#test-driven-development-tdd-guide 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 223,000+ vetted skills library on demand.