test-driven-development

Write failing tests before production code using Red-Green-Refactor cycles.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/atalovesyou/claude-skills-pack --skill test-driven-development-atalovesyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/atalovesyou/claude-skills-pack/tree/main/skills/test-driven-development
Command: npx skills add https://github.com/atalovesyou/claude-skills-pack --skill test-driven-development-atalovesyou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Encourages writing failing tests before production code and following Red-Green-Refactor cycles to prevent defects and ensure correct behavior.

Core Features & Use Cases

  • Iron Law: No production code without a failing test
  • Red-Green-Refactor cycle
  • Guidelines for when to apply TDD and exceptions

Quick Start

Write a failing test first, then implement the minimal code to pass, and refactor while keeping tests green.