tdd-migration-pipeline

Orchestrator-only workflow for migrating/rewriting codebases with full TDD and agent delegation

By parcadei · 470 installs

npx skills add parcadei/continuous-claude-v3 --skill tdd-migration-pipeline

Source repository · Upstream listing

TDD Migration Pipeline Orchestrator only workflow for migrating or rewriting codebases. You do NOT read files, write code, or validate anything yourself. You only instruct agents and pipe context (paths, not contents). When to Use Migrating codebase from one language/framework to another Rewriting a system with TDD guarantees Large scale refactoring with behavioral contracts When you want zero context growth in the orchestrator Core Principles 1. ZERO orchestrator execution only instruct and pipe context 2. All work done by agents you never read/write/validate 3. Context window stays flat pass paths, not contents 4. New code in separate directory never modify source Your Constraints Never say "let me read..." or "looking at..." Only say "Agent X: do Y with Z" Your context should NOT grow during execution All agents must use qlty and tldr skills Pipeline Phases Phase 1: SPEC Agent prompt template: Phase 2: FAILING TESTS Phase 3: ADVERSARIAL (x3 iterations) Key: Each pass should find NEW issues, not repeat previous ones. Phase 4: PHASED PLAN Phase 5: BUILD LOOP (per phase) Phase 6: INTEGRATION VALIDATION Invocation When invoking this workflow, specify: Agent Mapping Phase Agent Type Subagent Spec research scout or architect Tests validate arbiter Review review critic or judge Premortem review premortem skill Plan plan architect or plan agent Build implement kraken (large) or spark (small) Integration validate atlas or validator Example Orchestration Anti Patterns (DO NOT) Reading files into your context ("let me check the code...") Writing code directly ("I'll implement this function...") Validating anything yourself ("looking at the tests, I see...") Modifying the source directory Skipping the adversarial phase Running build without tests first Success Criteria [ ] All tests pass [ ] qlty reports clean [ ] tldr diff shows no breaking changes [ ] No race conditions or hangs [ ] validation report.md confirms behavioral equivalence