tdd-workflow

Automate the four-phase TDD cycle with defined artifacts and retry rules.

9|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/Unson-LLC/brainbase --skill tdd-workflow-unson-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/Unson-LLC/brainbase/tree/main/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/Unson-LLC/brainbase --skill tdd-workflow-unson-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the four-phase TDD cycle (Test Designer, Red, Green, Refactor) to externalize veteran development insight and ensure consistent TDD practices.

Core Features & Use Cases

  • Phase orchestration: coordinates four phases and passes artifacts between phases.
  • Artifact governance: enforces defined success criteria, and retry/replan logic.
  • Vision: supports Phase Subagents such as phase1_test_designer.md, phase2_red_implementer.md, phase3_green_implementer.md, phase4_refactorer.md to execute tasks.
  • Use cases: teams wanting to standardize TDD workflows, novices learning TDD through guided automation.

Quick Start

Use the command /tdd-workflow "archiveTask機能を実装" Use the command /tdd-workflow --existing "getTasks機能"

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I automate the TDD red-green-refactor cycle in my development workflow?

Automating the TDD cycle is achieved by orchestrating four phases: Test Designer, Red, Green, and Refactor. This enforces strict phase-by-phase workflows with defined artifacts and explicit success criteria for consistent outcomes.

What is the best way to standardize TDD practices for a development team?

Standardizing TDD practices involves externalizing test-design decisions and incremental implementation into a reproducible process. A phase orchestration workflow governs artifact passing and enforces retry or replan logic across all testing phases.

How does phase management work when orchestrating test-driven development?

Phase management coordinates four subagents—test designer, red implementer, green implementer, and refactorer—passing artifacts between them. It enforces defined success criteria and replan rules to ensure strict phase-by-phase progression.

Can I use this TDD workflow with existing code rather than starting new features?

Yes, you can apply this TDD workflow to existing code by using the designated command flag for existing tasks. The automation then processes the current implementation through the standard red, green, and refactor phases.

How do I guide novice developers through test-driven development automation?

Novices can learn test-driven development through guided automation that enforces a strict four-phase cycle. The workflow externalizes veteran testing logic into phase subagents, providing reproducible steps for test design and refactoring.