tdd-workflows-tdd-cycle

Orchestrate a test-driven development workflow from failing tests to green implementation.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/caobingsheng/skills --skill tdd-workflows-tdd-cycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflows-tdd-cycle
Source: https://github.com/caobingsheng/skills/tree/main/tdd/tdd-workflows-tdd-cycle
Command: npx skills add https://github.com/caobingsheng/skills --skill tdd-workflows-tdd-cycle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, enforceable guide to practicing Test-Driven Development, ensuring tests drive design, verification, and iterative refinement.

Core Features & Use Cases

  • Red-Green-Refactor lifecycle with explicit milestones (test specification, architecture design, implementation, refactoring).
  • Phase-driven prompts, validation steps, and templates to standardize unit and integration testing.
  • Comprehensive guidance for teams to implement end-to-end TDD workflows with quality gates and measurable outcomes.

Quick Start

Follow the RED-GREEN-REFACTOR process for a given task, starting by writing a failing test and iterating until all tests pass.

Frequently Asked Questions about tdd-workflows-tdd-cycle

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

FAQPage Schema
How do I enforce a strict test-driven development workflow across unit and integration levels?

A strict test-driven development workflow applies the Red-Green-Refactor lifecycle with explicit milestones, phase-driven prompts, and verification checks to guide teams from failing tests to a green implementation.

What is the Red-Green-Refactor cycle and how does it drive software design?

The Red-Green-Refactor cycle is a test-first process where you write a failing test, implement code to pass it, and then refactor. It drives design by enforcing test specification and architecture milestones before implementation.

How do I structure incremental refactoring with quality gates in TDD?

Incremental refactoring with quality gates in TDD requires structured milestones for test specification, architecture design, and implementation. This Skill enforces validation steps and phase prompts to ensure traceable progress and measurable outcomes.

Can I standardize unit and integration testing workflows for my software engineering team?

Yes, you can standardize unit and integration testing workflows using phase-driven templates and validation steps. This provides comprehensive guidance to implement end-to-end TDD workflows with consistent quality gates across the team.

When should I not use a strict test-first workflow for software engineering tasks?

You should avoid a strict test-first workflow for software engineering tasks that do not require rigorous design, testing, and iterative refinement, as the enforced milestones and quality gates add overhead to rapid prototyping.