test-driven-development

Installation
SKILL.md

Test-Driven Development (TDD) Skill

Enforce the RED-GREEN-REFACTOR cycle for all code changes. Tests are written before implementation code, verified to fail for the right reasons, and maintained through disciplined development cycles.

Reference Loading Table

Signal Load These Files Why
errors, error handling error-handling.md Loads detailed guidance from error-handling.md.
full RED-GREEN-REFACTOR walkthroughs in Go, Python, JavaScript examples.md Loads detailed guidance from examples.md.
detailed phase steps, rationale, or language-specific test commands phase-guidance.md Loads detailed guidance from phase-guidance.md.

Instructions

Before starting any TDD cycle, read and follow repository CLAUDE.md files. Project instructions override default TDD behaviors because local conventions (test frameworks, directory layout, naming) vary across codebases.

Full phase guidance (steps, rationale, code examples, language commands) lives in references/phase-guidance.md. Load it when you need detailed instructions or examples. The sections below are the lean phase skeleton plus the mandatory gates.

Phase 1: Write a Failing Test (RED)

Installs
13
GitHub Stars
415
First Seen
Mar 23, 2026
test-driven-development — notque/vexjoy-agent