tdd-workflow

Guides teams through RED-GREEN-REFACTOR cycles for test-driven development.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/ollieb89/orchestrator --skill tdd-workflow-ollieb89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/ollieb89/orchestrator/tree/main/.cursor/skills/tdd-workflow
Command: npx skills add https://github.com/ollieb89/orchestrator --skill tdd-workflow-ollieb89

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The TDD workflow guidance helps teams adopt a disciplined development cycle that emphasizes tests first, reliable feedback, and incremental improvement.

Core Features & Use Cases

  • Provides structured RED-GREEN-REFACTOR cycles as a repeatable pattern for feature development.
  • Outlines rules and best practices (one assertion per test, failure-first testing, small steps) to improve code quality and maintainability.
  • Applies to software projects seeking faster iteration, higher test coverage, and clearer development discipline.

Quick Start

Begin a practical TDD session by writing a failing test, then implement the simplest code to pass.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
What is the RED-GREEN-REFACTOR cycle in test-driven development?

The RED-GREEN-REFACTOR cycle in test-driven development is a structured workflow where you write a failing test, implement the simplest code to pass it, and then refactor for quality. This provides rapid feedback and enforces disciplined incremental improvement.

How do I start a TDD workflow for rapid feedback and feature development?

To start a TDD workflow for rapid feedback, begin by writing a failing test for your new feature, then implement the minimum code required to make it pass, and finally refactor the code while keeping the tests green.

What are the best practices for writing tests in a disciplined TDD workflow?

Best practices for a disciplined TDD workflow include taking small steps, adopting a failure-first testing approach, and maintaining one assertion per test to improve code quality and maintainability throughout the development cycle.

Can I use test-driven development to improve code quality and maintainability in agile projects?

Yes, you can use test-driven development in agile projects to achieve faster iteration and higher test coverage. It outlines repeatable cycles and clear rules that facilitate teaching, adoption, and measurement for software teams.

When should I not use the test-driven development workflow?

You should not use the test-driven development workflow for exploratory spikes or throwaway prototypes where immediate code quality and high test coverage are not required, as it enforces strict failure-first testing and disciplined refactoring cycles.