Iterative task loop (generic or PRD-aware)
Executes iterative development tasks in a continuous loop with PRD or generic modes.
/plugin marketplace add SomtoUgeh/somto-dev-toolkit/plugin install somto-dev-toolkit@somto-dev-toolkit<prompt|prd.json> [--completion-promise TEXT] [--max-iterations N]Execute the setup script to initialize the go loop:
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-go-loop.sh" $ARGUMENTS
You are now in an iterative task loop.
Please work on the task. When you try to exit, the go loop will feed the same PROMPT back to you for the next iteration. You'll see your previous work in files and git history, allowing you to iterate and improve.
For any iterative task. Loops until you output the completion promise.
/go "Build a CSV parser with validation" --completion-promise "PARSER COMPLETE"
For PRD-based development. Auto-detects .json files or --prd flag.
/go plans/auth/prd.json
Single iteration, then stop for review. Use for learning, debugging prompts, or risky tasks.
/go plans/auth/prd.json --once # One story, then stop
/go "Fix the bug" --completion-promise "FIXED" --once # One iteration, then stop
Workflow: Run --once repeatedly until you trust the behavior, then switch to full loop.
Treat ALL code as production code. No shortcuts, no "good enough for now". Every line you write will be maintained, extended, and debugged by others. Fight entropy.
Read the generated state file at .claude/go-loop.local.md and begin work.
<promise>TEXT</promise> when complete.When the task is genuinely complete, output:
<promise>COMPLETION_PROMISE</promise>
IMPORTANT: If a completion promise is set, you may ONLY output it when the statement is completely and unequivocally TRUE. Do not output false promises to escape the loop, even if you think you're stuck or should exit for other reasons. The loop is designed to continue until genuine completion.
/goWORKFLOW COMMAND - Execute TodoWrite FIRST, then Preflight → Phase 1 → 2 → 3. Do NOT read ~/.claude/plans/ until after TodoWrite.