cdd-executor

Execute a Red-Green-Refactor TDD loop on the first unchecked plan.md task.

Updated Mar 12, 2019
One-click install
npx skills add https://github.com/gustavofsantos/dot-files --skill cdd-executor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdd-executor
Source: https://github.com/gustavofsantos/dot-files/tree/main/.agents/skills/cdd-executor
Command: npx skills add https://github.com/gustavofsantos/dot-files --skill cdd-executor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Autonomously performs the TDD loop (Red-Green-Refactor) to complete a single plan item.

Core Features & Use Cases

  • Autonomous TDD Loop: Executes the full Red-Green-Refactor cycle against the first unchecked task in plan.md.
  • Plan/Spec Context: Reads plan.md and spec.md, adheres to the Source of Truth and EARS requirements.
  • Post-Execution Recitation: Updates plan.md to mark completion via the recite command and prepares for the next item.

Quick Start

Activate the executor to autonomously complete the first unchecked item in plan.md using the Red-Green-Refactor cycle.

Frequently Asked Questions about cdd-executor

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

FAQPage Schema
How do I automate the Red-Green-Refactor TDD cycle for plan items?

You can automate the Red-Green-Refactor TDD cycle by activating an executor that reads plan.md and spec.md, generates tests for the first unchecked item, runs them, and updates the plan upon completion.

What is the best way to execute test-driven development tasks autonomously from a markdown plan?

The best way to execute test-driven development tasks autonomously is using a tool that targets the first unchecked task in plan.md, writes failing tests, implements code to pass them, and refactors while adhering to spec.md EARS requirements.

Can I use a TDD executor with my existing plan.md and spec.md documents?

Yes, you can use a TDD executor with existing plan.md and spec.md documents. It reads these files directly to identify the next unchecked task and ensures the generated tests adhere to the established EARS requirements.

Do I need external testing tools to run an automated Red-Green-Refactor loop?

No, you do not need external testing tools beyond your local test environment. The executor autonomously generates tests, runs them locally, and updates the plan.md file without relying on external dependencies.

How does an automated TDD loop update plan management files after a task is completed?

An automated TDD loop updates plan management files by using a recite command to mark the targeted item as complete in plan.md, leaving the system prepared to automatically tackle the next unchecked task.