TDD-миграция кода через агентов

testing

tdd-migrate is a Claude Code skill that orchestrates TDD-driven code migrations by delegating all work to subagents, keeping the main context free from file reads or direct implementation. It accepts source_path, target_path, a reference pattern, and a comma-separated items list, then spawns parallel scout agents for analysis and kraken agents for per-item test writing and implementation, with critic and validator agents running in parallel for quality gating. Available tools are Task, TodoWrite, Write, Read, and Bash; the migration plan is written as a YAML file under thoughts/shared/plans/. The eight-phase workflow covers YAML planning, TLDR analysis, failing-test authoring, minimal implementation, build validation, QLTY checks, code review, TLDR diff against the reference pattern, and issue fixes via spark agents. Ideal for porting modules between languages, generating multiple adapters from a single pattern, or migrating to a new architecture at scale — a documented example produced 5 parallel krakens, 39 passing tests, in roughly 15 minutes.