Оркестровая миграция кодовой базы с TDD

orchestration

tdd-migration-pipeline is a Claude Code skill that implements an orchestrator-only workflow for migrating or rewriting codebases with full TDD guarantees and complete agent delegation. The orchestrator never reads files, writes code, or validates anything itself — it passes paths (not file contents) to subagents, keeping its context window flat throughout execution. The pipeline runs six phases: behavioral contract extraction into spec.md, failing test authoring, three adversarial premortem passes for edge-case discovery, phased-plan.yaml generation, a per-phase build loop with qlty quality checks, and a final integration validation using tldr diff against the reference repository. Specialized subagents handle each phase — scout or architect for spec, arbiter for tests, critic or judge for review, kraken or spark for implementation, and atlas or validator for integration. The skill is designed for language or framework migrations, large-scale refactoring with behavioral contracts, and any scenario requiring reproducible, regression-free codebase rewrites.