tdd-workflow

Implement features through red-green-refactor test-driven development cycles.

Updated Jan 3, 2026
One-click install
npx skills add https://github.com/fum1ple/agent-claude-invoice --skill tdd-workflow-fum1ple
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/fum1ple/agent-claude-invoice/tree/main/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/fum1ple/agent-claude-invoice --skill tdd-workflow-fum1ple

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When implementing features from specifications, you must follow a test-driven development process to ensure correctness from the outset.

Core Features & Use Cases

  • Red Phase: Write failing tests first to define expected behavior.
  • Green Phase: Implement minimal code to make tests pass.
  • Refactor Phase: Clean up while keeping tests green.
  • Cadence: Maintain compliance with project coding standards and ensure test reliability.

Quick Start

Based on the relevant spec, plan tests that cover acceptance criteria, create or update tests (e.g., *.test.ts, *.py), run tests to see failures, implement minimal code to pass, then refactor while keeping tests green.