tdd-workflows-tdd-green

Identify minimal code changes to turn failing tests green in TDD cycles.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/BoraPerusic/agents --skill tdd-workflows-tdd-green-boraperusic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflows-tdd-green
Source: https://github.com/BoraPerusic/agents/tree/main/skills/to%20try/tdd-workflows-tdd-green
Command: npx skills add https://github.com/BoraPerusic/agents --skill tdd-workflows-tdd-green-boraperusic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turning failing tests into passing ones with the smallest, well-scoped changes during the TDD green phase.

Core Features & Use Cases

  • Minimal-change workflow: identify the failing test and implement the smallest fix to make it green.
  • Iterative validation: run tests after each change to confirm progress and guard against regressions.
  • Refactor-ready: document shortcuts and debt to prepare for future refactors without breaking tests.

Quick Start

Review failing tests and implement the smallest change to pass the next test, then rerun the test suite.

Frequently Asked Questions about tdd-workflows-tdd-green

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

FAQPage Schema
What is the best way to make failing tests pass with minimal code changes in TDD?

To make failing tests pass with minimal code changes, identify the failing test and implement the smallest possible fix to turn it green, then rerun the test suite iteratively to confirm progress and guard against regressions.

How do I transition from a red failing test to green in test-driven development?

To transition from red to green, identify the failing test and implement the smallest possible fix to turn it green, then rerun the test suite iteratively to confirm progress and guard against regressions.

Can I use this minimal-change TDD workflow across different programming languages?

Yes, this minimal-change workflow applies to red-to-green transitions across language ecosystems, enabling quick, incremental fixes with strict scope regardless of your specific programming language or testing framework.

How do I handle technical debt when applying minimal fixes to pass tests?

You handle technical debt by documenting shortcuts and debt during the minimal fix process, which prepares the codebase for future refactoring without breaking the currently passing tests.

When should I refactor code during the TDD green phase?

You should not refactor during the green phase; instead, document shortcuts and debt for a later refactor. The green phase focuses strictly on making failing tests pass with the smallest changes, while iterative validation guards against regressions.