test-driven-development

Guide writing failing tests before production code with minimal implementation.

Updated Dec 27, 2025
One-click install
npx skills add https://github.com/TheBBz/HFTPM --skill test-driven-development-thebbz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/TheBBz/HFTPM/tree/main/.claude/skills/test-driven-development
Command: npx skills add https://github.com/TheBBz/HFTPM --skill test-driven-development-thebbz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces Test-Driven Development (TDD) by guiding you to write tests before production code. It emphasizes watching tests fail first, then writing the minimal code to pass, ensuring that tests verify the intended behavior and catch regressions.

Core Features & Use Cases

  • Red-Green-Refactor cycle: Illustrates the disciplined loop of failing test, implementing minimal code, and refactoring.
  • Reliable behavior verification: Ensures tests prove the right behavior and prevent silent regressions.
  • Use Case: Use for new features, bug fixes, or behavior changes to guarantee correctness.

Quick Start

Start by writing a failing test that specifies the desired behavior, then implement the simplest code to make the test pass.