tdd-migrate

TDD workflow for migrations - orchestrate agents, zero main context growth

By parcadei · 471 installs

npx skills add parcadei/continuous-claude-v3 --skill tdd-migrate

Source repository · Upstream listing

TDD Migrate Orchestrate TDD migrations with agents doing all work. Main context stays clean. When to Use "Port X from Python to TypeScript" "Create N adapters following existing pattern" "Migrate module to new architecture" "TDD implementation of multiple similar items" Parameters source path : Path to analyze (existing code) target path : Where to create new code pattern : Reference file/pattern to follow items : Comma separated list of things to create Workflow Key Principles 1. Main context = orchestration only Never read files directly (use scout) Never implement directly (use kraken/spark) Never run tests directly (use validator) Only pipe context and coordinate 2. Agents do ALL work Task Agent Explore/analyze scout Write tests + implement kraken Quick fixes spark Run tests/validate validator Code review critic 3. Parallel where independent All items can be implemented in parallel if independent Review + QLTY run in parallel TLDR analysis runs in parallel with planning 4. Review after each major step After implementation: critic reviews After fixes: validator re validates Instructions Step 0: Create YAML TODO Write a YAML plan file to thoughts/shared/plans/<name tdd.yaml : Step 1: Launch Scout Agents (parallel) Step 2: Launch Kraken Agents (parallel per item) For each item, launch ONE kraken that does full TDD: Step 3: Review + Validate (parallel) Step 4: Fix Issues If critic/validator found issues: Step 5: TLDR Diff Step 6: Update Continuity Update ledger with completed work. Example: Rigg Adapters Resulted in: 5 parallel kraken agents 39 tests passing All adapters working ~15 minutes total Anti Patterns (AVOID) Bad Good Read files in main context Launch scout agent Write code in main context Launch kraken/spark agent Run tests in main context Launch validator agent Skip review Always launch critic Sequential items Parallel krakens Fix in main context Launch spark Agent Prompts Scout (analysis) Kraken (TDD) Critic (review) Spark (fix) Validator (test) Success Criteria [ ] All tests pass [ ] QLTY reports no issues [ ] Critic found no critical issues [ ] TLDR diff shows pattern compliance [ ] All items registered/exported properly