Disciplined iterative development loops with TDD planning for Claude Code
Curated Claude Code plugins that keep Claude on track - less hallucination, less prompting.
claude plugin marketplace add mohamedgamalali/claude-rails
Then install the plugins you need:
claude plugin install strict-loop
Disciplined iterative development loops with TDD planning. Claude works on your task iteratively using the Stop hook pattern - when it tries to exit, the hook re-feeds the same prompt until the task is genuinely complete.
# Simple loop
/strict-loop "Build a REST API for todos with CRUD and tests"
# With TDD planning (recommended for complex tasks)
/strict-plan "Migrate auth to JWT tokens"
# Review .claude/dev-plan.local.md, then:
/strict-loop --from-plan
| Command | Description |
|---|---|
/strict-loop "task" | Start a development loop |
/strict-loop --from-plan | Run loop using an existing TDD plan |
/strict-loop "task" --max-iterations 30 | Custom iteration limit (default: 50) |
/strict-loop "task" --promise "ALL TESTS PASS" | Custom completion phrase (default: DONE) |
/strict-plan "task" | Generate a structured TDD plan |
/strict-plan "task" --framework django | Override framework auto-detection |
/strict-plan "task" --test-cmd "make test" | Custom test command |
/strict-plan "task" --interactive | Ask clarifying questions first |
/cancel-strict | Stop the active loop immediately |
/strict-help | Show usage guide |
/strict-loop "task"
-> setup-strict-loop.sh creates state file
-> Claude works on the task
-> Claude tries to exit
-> stop-hook.sh intercepts:
- Found <promise>DONE</promise>? -> exit
- Hit max iterations? -> exit
- Otherwise -> increment iteration, re-feed prompt
-> Loop continues until done
Claude signals completion by outputting <promise>DONE</promise>. The stop hook detects this in the transcript and allows the session to exit.
Auto-detected from project files (17+ frameworks):
Package manager detection: bun > pnpm > yarn > npm (defaults to bun).
jq (for JSON parsing in stop hook)perl (for promise tag extraction - standard on macOS/Linux)MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mohamedgamalali/claude-rails --plugin strict-loopA TDD-driven iterative feedback loop for software development with Claude Code. 16 cohesive skills + 2 custom subagents walk an idea from brainstorm → plan → execute → tdd → iterate, with checkpoints throughout. Vertical-slice TDD, parallel coder/overseer review, no auto-commits. Single entry point: 'let's evanflow this'.
SPEC-First development workflow with TDD, Ralph Loop, and autonomous agent coordination for Claude Code
Autonomous development orchestration with parallel TDD execution
Test-driven development workflow for writing tests before implementation - red-green-refactor cycle with deterministic unit tests
Auto-loop execution workflow with quality gates for Claude Code. Automatically decomposes tasks, implements code, runs tests, and iterates through quality gates until completion.
Use Claude Code like a Director, not a Programmer. Complete toolkit with 26 commands, 14 agents, 31 skills, and TDD-based Auto-Loop.