XP pair-programming workflow with PRD-driven TDD and iterative implementation
looploop is an XP pair-programming workflow for Claude Code that enforces structured, test-driven development.
/looploopFor new features and substantial work. Follows: PRD → TDD → Implement → Iterate
/looploop-fixFor bugfixes, small features, and refactors. Follows: Understand → Test Guard → Implement → Verify
All state is stored in .looploop/ in the project root:
config.json — session configurationprogress.txt — current phase and iterationprd.md — the PRD (full mode only)baseline.txt — test baseline (light mode only)snapshot-*.md — iteration snapshots/looploop-status — check current session progress/looploop-resume — resume an interrupted sessionUse full mode (/looploop) when:
Use light mode (/looploop-fix) when: