test-driven-development

Orchestrate RED-GREEN-REFACTOR cycles across spawned contexts for test-first development.

3|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/itzcull/software-skills --skill test-driven-development-itzcull
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/itzcull/software-skills/tree/main/skills/test-driven-development
Command: npx skills add https://github.com/itzcull/software-skills --skill test-driven-development-itzcull

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a disciplined framework for practicing test-driven development by orchestrating RED-GREEN-REFACTOR cycles across isolated contexts, ensuring clean handoffs and phase boundaries.

Core Features & Use Cases

  • Coordinate a full RED-GREEN-REFACTOR cycle across spawned contexts to enforce test-first development.
  • Validate handoffs between phases using a formal contract and references in references/phase-handoffs.md.
  • Support collaborative pairing and strict phase boundaries for auditability and predictable outcomes.

Quick Start

Spawn a RED context for a unit of behavior, then execute GREEN and REFACTOR phases following the handoff contracts.

Frequently Asked Questions about test-driven-development

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

FAQPage Schema
How do I orchestrate RED-GREEN-REFACTOR cycles for test-driven development across multiple contexts?

Test-driven development orchestrates RED-GREEN-REFACTOR cycles across isolated contexts to enforce test-first development. It solves the problem of maintaining disciplined phase boundaries and clean handoffs by validating transitions between phases using formal contracts and observable outcomes.

What's the best way to enforce strict phase boundaries during feature development?

The best way to enforce strict phase boundaries during feature development is by orchestrating TDD cycles across isolated contexts. This approach uses formal handoff contracts and references to validate transitions, ensuring disciplined phase separation and predictable outcomes.

How do I start a test-driven discovery session using RED-GREEN-REFACTOR?

To start a test-driven discovery session, spawn a RED context targeting a specific unit of behavior. Then execute the GREEN and REFACTOR phases following the formal handoff contracts, validating each transition to maintain strict phase boundaries throughout the cycle.

Can I use this TDD orchestration approach for handoff validation between development phases?

Yes, you can use this TDD orchestration approach for handoff validation between development phases. It applies formal contracts and references in phase-handoffs documentation to validate transitions, ensuring observable outcomes and explicit handoffs between isolated contexts.

When should I not use spawned contexts for test-driven development?

You should avoid using spawned contexts for test-driven development when your workflow does not require strict phase boundaries or formal handoff validation. If your development process lacks explicit phase separation or observable outcome requirements, this orchestrated approach adds unnecessary overhead.