Install any skill in seconds. Free to start, no credit card required.
Get Started Free →giuseppe-trisciuoglio/ralph-loop
Ralph Wiggum-inspired automation loop for specification-driven development. Orchestrates task implementation, review, cleanup, and synchronization using a Python script.
Passed 18 of 21 test cases with the skill, and 9 of 21 without it.
and 9 more in the full report
10 fixed10 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am manually organizing the state persistence file for the spec at `docs/specs/005-payment/`. Should I place `fix_plan.json` directly at `docs/specs/005-payment/fix_plan.json` or in a subfolder? Provide the exact relative file path where the orchestrator script expects and enforces it.
| Checked | Without skill | With skill |
|---|---|---|
| Specifies `docs/specs/005-payment/_ralph_loop/fix_plan.json` as the file path. | Missed | Passed |
The instructions your model reads when the skill loads.
⚠️ WARNING: This skill was deprecated in favor of a new command
ralph-loop-v2that uses a Python orchestrator script. The old/specs:ralph-loopcommand will be removed soon. Please migrate to the new command.
⚠️ IMPORTANT: This skill uses a Python orchestrator script. Do NOT execute arbitrary bash commands. Use Bash ONLY to run ralph_loop.py. All task commands (like /developer-kit-specs:specs.task-implementation) are shown to the user to execute manually.
The Ralph Loop applies Geoffrey Huntley's "Ralph Wiggum as a Software Engineer" technique to specification-driven development. It uses a Python orchestrator script that manages a state machine: one invocation = one step, state persisted in fix_plan.json.
Key insight: Implementing + reviewing + syncing in one invocation explodes the context window. Solution: each loop iteration does exactly one step, saves state to fix_plan.json, and stops. The next iteration resumes from saved state.
Key improvement: The Python script ralph_loop.py handles all state management, task selection, and command generation. It does NOT execute task commands directly — it shows you the correct command to execute in your CLI.
/loop command for recurring automation┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ ralph_loop.py │────▶│ fix_plan.json │────▶│ User executes │
│ (orchestrator)│ │ (state file) │ │ command in CLI │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │
│ ▼
│ ┌─────────────────┐
└──────────────────────────────────────│ Task result │
│ (success/ │
│ failure) │
└─────────────────┘
One Step Flow:
test cases passed, vs 9 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.