grey-haven-plugins/core/skills/tdd-orchestration/SKILL.md
Master TDD orchestration with multi-agent coordination, strict red-green-refactor enforcement, a Layer-0 domain-modeling gate (DDD) that blocks Red until concepts are named in domain vocabulary and primitives promoted to types, and principled DRY enforcement at Refactor (same-concept repetition ≥3 sites only). Automated test generation, coverage tracking, >90% coverage quality gates. Supports Claude Teams for parallel TDD workflows with plan approval gates, or falls back to sequential subagent coordination. Use when implementing features with TDD workflow, coordinating multiple TDD agents, enforcing test-first development, modeling a domain, orchestrating TDD teams, or when user mentions 'TDD workflow', 'test-first', 'TDD orchestration', 'multi-agent TDD', 'domain modeling', 'value object', 'ubiquitous language', 'DRY', 'test coverage', or 'red-green-refactor'.
npx skillsauth add greyhaven-ai/claude-code-config tdd-orchestrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Master TDD orchestrator ensuring strict red-green-refactor discipline with multi-agent coordination, a Layer-0 domain-modeling gate, and principled DRY enforcement at Refactor. Dual-mode: Claude Teams (preferred) for parallel work with plan approval, or sequential subagent delegation (fallback).
Orchestrates Test-Driven Development workflows sharpened by two lenses that never displace red-green-refactor — they gate it at plan review:
Layer 0: Domain Model — specialist plans concepts, types, boundaries; BLOCKS all Red
Layer 1: Red — test-writer writes failing tests using domain vocabulary
Layer 2: Green — implementer passes tests; domain types preserved
Layer 3: Refactor — DRY discipline; promote primitives to value objects
Layer 4: Quality — review
Layer 5: Integration — integration tests
Layer 6: Synthesis — final report
The orchestrator enforces both lenses at plan review — implementers apply them, the orchestrator validates them.
tdd-orchestrator - Multi-agent TDD coordinator (team + subagent modes, Layer-0 gate)tdd-typescript-implementer - TypeScript/JavaScript TDD with branded typestdd-python-implementer - Python TDD with Pydantic / NewType / frozen dataclassestest-generator - Automated test creationcode-quality-analyzer - Code quality reviewSkill Version: 2.1
development
Grey Haven's comprehensive testing strategy - Vitest unit/integration/e2e for TypeScript, pytest markers for Python, >80% coverage requirement, fixture patterns, and Doppler for test environments. Use when writing tests, setting up test infrastructure, running tests, debugging test failures, improving coverage, configuring CI/CD, or when user mentions 'test', 'testing', 'pytest', 'vitest', 'coverage', 'TDD', 'test-driven development', 'unit test', 'integration test', 'e2e', 'end-to-end', 'test fixtures', 'mocking', 'test setup', 'CI testing'.
development
Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'.
development
Specialized testing for React applications using TanStack ecosystem (Query, Router, Table, Form) with Vite and Vitest. Use when testing React + TanStack apps, mocking server state, testing router, or validating query behavior. Triggers: 'TanStack testing', 'React Query testing', 'test TanStack', 'mock query', 'router test'.
development
Apply Grey Haven's TanStack ecosystem patterns - Router file-based routing, Query data fetching with staleTime, and Start server functions. Use when building React applications with TanStack Start. Triggers: 'TanStack', 'TanStack Start', 'TanStack Query', 'TanStack Router', 'React Query', 'file-based routing', 'server functions'.