Complete development lifecycle: brainstorm → TDD planning → ralph implementation → review → feedback loop until approved
/plugin marketplace add dot-do/workers/plugin install dot-do-workers-do@dot-do/workersThis skill inherits all available tools. When active, it can use any tool Claude has access to.
A complete development workflow that wraps Ralph with planning, review, and feedback cycles. Think of it as an "outer loop" that ensures quality through iterative refinement.
┌─────────────────────────────────────────────────────────────┐
│ DEVELOPMENT LOOP │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────────────────┐ │
│ │BRAINSTORM│───▶│ PLAN │───▶│ RALPH IMPLEMENT │ │
│ │ │ │(superthink) │ (inner loop) │ │
│ └──────────┘ └──────────┘ └──────────┬───────────┘ │
│ │ │
│ ▼ │
│ ┌──────────┐ ┌──────────┐ ┌──────────────────────┐ │
│ │ APPROVED │◀───│ REVIEW │◀───│ 5-AGENT REVIEW │ │
│ │ (exit) │ │(decision)│ │ │ │
│ └──────────┘ └────┬─────┘ └──────────────────────┘ │
│ │ needs work │
│ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ FEEDBACK LOOP │ │
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
│ │ │ FEEDBACK │───▶│ RALPH │───▶│ REVIEW │──┐ │ │
│ │ │ PLAN │ │ FIX │ │ │ │ │ │
│ │ └──────────┘ └──────────┘ └──────────┘ │ │ │
│ │ ▲ │ │ │
│ │ └────────── needs more work ─────────────┘ │ │
│ └──────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
Goal: Understand what to build through collaborative dialogue.
workers-do:brainstorming skilldocs/plans/Exit criteria: User approves the design
Goal: Create TDD beads issues with extended thinking.
Use extended thinking to:
RED: [Module] tests (tdd-red label)GREEN: Implement [Module] (tdd-green label, blocked by RED)REFACTOR: Clean up [Module] (tdd-refactor label, blocked by GREEN)Output: Beads issues with full dependency graph
Exit criteria: Issue plan reviewed and approved
Goal: Autonomous implementation following TDD.
Start Ralph loop with prompt:
Work through beads issues in dependency order.
For each issue:
1. Claim it (bd update --status=in_progress)
2. Follow TDD: write test (RED), implement (GREEN), refactor
3. Close it (bd close)
4. Move to next ready issue (bd ready)
Continue until all issues are closed.
Output <promise>IMPLEMENTATION COMPLETE</promise> when done.
Exit criteria: All beads issues closed, tests passing
Goal: Comprehensive quality check.
Launch 5 parallel review agents:
Output: Synthesized review with findings
Decision point:
Goal: Convert review feedback into actionable issues.
Use extended thinking to:
FIX: [Finding description] with appropriate labelsOutput: New beads issues for fixes
Goal: Address review findings.
Start Ralph loop with prompt:
Work through fix issues from code review.
For each issue:
1. Claim it
2. Implement the fix following TDD
3. Verify tests pass
4. Close it
Output <promise>FIXES COMPLETE</promise> when all fix issues closed.
Goal: Verify fixes and decide if done.
Run 5-agent review again, focused on:
Decision:
The loop tracks state in .claude/dev-loop.local.md:
---
phase: IMPLEMENT # Current phase
iteration: 1 # Which review cycle
started_at: "2024-01-01T00:00:00Z"
design_doc: "docs/plans/2024-01-01-feature-design.md"
initial_issues: ["workers-xxx", "workers-yyy"]
fix_issues: []
review_findings: []
---
Original task description here...
Start a new development loop.
Show current phase and progress.
Manually advance to next phase (for human checkpoints).
Cancel the loop and clean up.
The loop pauses for human approval at:
Phases 2 and 5 use "superthink" - extended thinking mode for:
Enable with: thinking: extended in prompts or model configuration.
# Start the loop
/dev-loop "Add user authentication with JWT tokens, SSO support, and session management"
# Loop will:
# 1. Brainstorm with you about auth requirements
# 2. Create TDD issues for auth module
# 3. Ralph-loop implement the auth system
# 4. 5-agent review the implementation
# 5. Create fix issues from feedback
# 6. Ralph-loop the fixes
# 7. Final review → approve or iterate
Good for:
Not good for: