tdd-green

Implement minimal code changes to pass failing tests in the TDD cycle.

8|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/morodomi/tdd-skills --skill tdd-green
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-green
Source: https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-core/skills/tdd-green
Command: npx skills add https://github.com/morodomi/tdd-skills --skill tdd-green

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the minimal implementation needed to move a failing test suite to green in the TDD cycle.

Core Features & Use Cases

  • Minimal implementation: Generate just enough code to pass the current tests.
  • Cycle coordination: Integrates with RED/PLAN/REFACTOR phases to streamline workflow.
  • Use Case: Given a failing test in a module, apply this skill to implement the smallest change that makes the test pass and progress the cycle.

Quick Start

Start the GREEN phase by applying this skill to the current cycle document and trigger parallel workers to implement and verify tests.

Frequently Asked Questions about tdd-green

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

FAQPage Schema
How do I implement minimal code to pass failing tests in a TDD workflow?

To implement minimal code for failing tests in a TDD workflow, apply this skill to generate just enough logic to turn the test suite green without writing new tests during the GREEN phase.

What is the GREEN phase in test-driven development?

The GREEN phase in test-driven development is the step where you write the minimal implementation required to make a failing test suite pass before moving into the REFACTOR phase for code clean-up.

How do I automate the TDD cycle from a failing test to a passing test suite?

Automate the TDD cycle by applying this skill to your current cycle document, which triggers parallel workers to implement and verify the minimal changes needed to move failing tests to green.

Can I write new tests during the minimal implementation phase of TDD?

You cannot write new tests during the minimal implementation phase because this skill enforces strict TDD discipline by avoiding new tests in GREEN and focusing only on making existing failing tests pass.

Does this TDD automation tool support parallel work distribution?

This TDD automation tool supports parallel work distribution by triggering parallel workers to implement and verify tests across the cycle document for automated result aggregation.

What should I do after turning my test suite green in the TDD cycle?

After turning your test suite green in the TDD cycle, you should trigger the subsequent REFACTOR steps to clean up the code, as this skill integrates with RED, PLAN, and REFACTOR phases for cycle coordination.