test-driven-development

Enforces the Red-Green-Refactor workflow for features, bugs, and refactors.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces Test-Driven Development as a discipline: write a failing test first, observe red, then implement minimal code to pass, followed by refactoring.

Core Features & Use Cases

  • Red-Green-Refactor workflow for features, bugs, and refactors.
  • Mandatory failing tests before implementation to ensure correct behavior.
  • Verification of test success across unit and integration tests.
  • Clear guidance on test naming, coverage, and avoiding mocks that test mocks.

Quick Start

  • Start a TDD cycle: write a failing test for the new behavior, run tests to see failure, implement minimal code to pass, then refactor.