tdd-task-cycle

Execute a red-green-refactor TDD cycle with preflight validation and commit messaging.

4|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/CurtisThe/three-pillars-plugin --skill tdd-task-cycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-task-cycle
Source: https://github.com/CurtisThe/three-pillars-plugin/tree/main/skills/tdd-task-cycle
Command: npx skills add https://github.com/CurtisThe/three-pillars-plugin --skill tdd-task-cycle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a disciplined, end-to-end workflow to perform a single red-green-refactor TDD cycle for a given task, ensuring tests are written, executed, and integrated into version control.

Core Features & Use Cases

  • Structured TDD cycle: guides the user through preflight checks, red test creation, running tests, refactoring, and committing results.
  • Flexible invocation: supports standalone usage with a plain task description or integrated use via /tdd-phase-implement for automated execution.
  • Designed for rapid task delivery: ideal for implementing a small feature from design to testable code within a tight feedback loop.

Quick Start

Provide a task description or specify a design-name and task ID to initiate a single TDD cycle.

Frequently Asked Questions about tdd-task-cycle

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

FAQPage Schema
How do I run a complete red-green-refactor TDD cycle for a single task?

A complete red-green-refactor TDD cycle is executed by providing a task description or a design-name and task ID, triggering preflight validation, test creation, execution, verification, and commit messaging.

What is the best way to automate test-driven development for small feature delivery?

The best way to automate test-driven development for small features is the /tdd-phase-implement workflow integration, running the red-green-refactor cycle in a tight feedback loop from design to testable code.

Can I use this TDD workflow standalone with just a plain task description?

Yes, you can run this TDD workflow standalone with a plain task description. It operates independently to guide you through preflight checks, red test creation, running tests, refactoring, and committing results.

Does this TDD cycle workflow enforce test creation and commit messaging steps?

Yes, this TDD cycle workflow enforces test creation and commit messaging steps. It strictly follows preflight validation, test execution, verification, commit messaging, and reporting to ensure disciplined version control integration.

When do I need a structured red-green-refactor cycle instead of just writing tests?

You need a structured red-green-refactor cycle when you want disciplined end-to-end workflow integration, ensuring tests are written, executed, and committed to version control rather than written ad-hoc.