tdd-workflow

Enforce RED-GREEN-REFACTOR cycles with mandatory failing tests before production code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AnthemFlynn/ccmp --skill tdd-workflow-anthemflynn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/AnthemFlynn/ccmp/tree/main/plugins/tdd-workflow/skills/tdd-workflow
Command: npx skills add https://github.com/AnthemFlynn/ccmp --skill tdd-workflow-anthemflynn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill encodes Test-Driven Development (TDD) discipline: write tests before production code, enforce RED-GREEN-REFACTOR cycles, and optionally integrate with session-management to track checkpoints and metrics.

Core Features & Use Cases

  • RED-GREEN-REFACTOR cycles enforce rapid feedback loops for new features and bug fixes.
  • Session-management integration tracks checkpoints, metrics, and progress within a live session.
  • Standalone operation provides full TDD guidance even without session management.

Quick Start

Start a TDD session for a feature and follow Claude's RED-GREEN-REFACTOR prompts. If session-management is active, Claude will automatically record checkpoints and test statistics.

Frequently Asked Questions about tdd-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce the RED-GREEN-REFACTOR cycle in my development workflow?

RED-GREEN-REFACTOR is a TDD discipline that enforces writing failing tests first, then production code to pass them, then refactoring. This Skill streamlines that cycle by providing guided prompts and automated enforcement, ensuring you write tests before implementation on every feature and bug fix.

Can I track test coverage and checkpoints across my TDD sessions?

Yes. This Skill integrates optional session-management to automatically record checkpoints, test-coverage metrics, and progress data. You get continuous visibility into your TDD discipline compliance and can handoff sessions with full metrics intact.

Does this Skill work without session-management enabled?

Yes. The Skill operates standalone, providing full RED-GREEN-REFACTOR guidance and TDD workflow enforcement even without session integration. Session-management is optional and adds checkpoint tracking and reporting on top of core TDD discipline.

What problems does Test-Driven Development solve in feature development and bug fixes?

TDD catches defects early by mandating tests before code, reduces debugging time through rapid feedback loops, and ensures every requirement has passing test coverage. This Skill automates enforcement of that discipline across feature work and bug fixes.

How does automated checkpointing help during development handoffs?

Automated checkpointing captures your RED-GREEN-REFACTOR progress, test metrics, and session state at key moments. When handing off work, the receiving developer gets a complete snapshot of what was tested, what passed, and where the session left off.

What's the best way to maintain TDD discipline in a fast-paced development workflow?

Enforce the RED-GREEN-REFACTOR cycle systematically with tool support rather than manual discipline. This Skill automates that enforcement and provides guided prompts so you stay compliant without overhead, even under time pressure.