dispatching-incremental-tdd

Dispatch an incremental TDD agent enforcing one-test-at-a-time RED-GREEN-REFACTOR cycles.

1|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/zgagnon/skills --skill dispatching-incremental-tdd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dispatching-incremental-tdd
Source: https://github.com/zgagnon/skills/tree/main/dispatching-incremental-tdd
Command: npx skills add https://github.com/zgagnon/skills --skill dispatching-incremental-tdd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces a strict one-test-at-a-time methodology for Test-Driven Development, preventing the common pitfall of batching tests and implementation which undermines incremental design discovery.

Core Features & Use Cases

  • Enforces ONE test at a time: Ensures discipline throughout the entire feature implementation process, even for 10+ test cycles.
  • Guides RED-GREEN-REFACTOR: Manages each test cycle through its distinct phases.
  • Use Case: When implementing a new user authentication feature, dispatch this agent to ensure each test case for login, logout, password reset, etc., is written and refactored individually, leading to a more robust and well-designed system.

Quick Start

Use the Task tool with subagent_type='incremental-tdd-agent' and provide the feature, context, and goal for implementation.

Frequently Asked Questions about dispatching-incremental-tdd

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

FAQPage Schema
How do I enforce one test at a time during TDD feature implementation?

To enforce one test at a time during TDD, dispatch an incremental TDD agent that strictly manages each test cycle through RED-GREEN-REFACTOR phases, preventing test batching and ensuring incremental design discovery.

Why does writing multiple tests at once undermine Test-Driven Development?

Writing multiple tests at once undermines TDD by batching implementation, which bypasses incremental design discovery and reduces the discipline needed to properly refactor code per individual test case.

What is the best way to maintain RED-GREEN-REFACTOR discipline in agile development?

The best way to maintain RED-GREEN-REFACTOR discipline is to use an automated agent that enforces a strict one-test-at-a-time cycle, guiding each phase individually to ensure robust API creation and component building.

Can I use incremental TDD for building new APIs and complex components?

Yes, you can use incremental TDD for building new APIs and complex components. It applies a strict one-test-at-a-time methodology to new functionality, ensuring each cycle is individually implemented and refactored.

How do I dispatch an incremental TDD agent for a new user authentication feature?

To dispatch an incremental TDD agent for a user authentication feature, use the Task tool with the subagent type and provide the feature context, implementation goal, and scope to enforce the one-test-at-a-time cycle.