From ralph-loop
Explain the Ralph Loop plugin, how it works, and available skills. Use when the user asks for help with ralph loop, wants to understand the technique, or needs usage examples.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ralph-loop:ralph-loop-helpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user asks what Ralph Loop is, how it works, or needs usage guidance.
The user asks what Ralph Loop is, how it works, or needs usage guidance.
Ralph Loop implements the Ralph Wiggum technique — an iterative development methodology based on continuous AI loops, pioneered by Geoffrey Huntley.
Core concept: the same prompt is fed to the agent repeatedly. The "self-referential" aspect comes from the agent seeing its own previous work in the files and git history, not from feeding output back as input.
Each iteration:
Tell the agent your task along with options:
Start a ralph loop: "Build a REST API for todos" --max-iterations 20 --completion-promise "COMPLETE"
Options:
--max-iterations N — max iterations before auto-stop--completion-promise "TEXT" — phrase to signal completionHow it works:
.cursor/ralph/scratchpad.md state fileAsk the agent to cancel the ralph loop. It will remove the state file and report the iteration count.
To signal completion, the agent outputs a <promise> tag:
<promise>TASK COMPLETE</promise>
The stop hook looks for this specific tag. Without it (or --max-iterations), Ralph runs indefinitely.
Good for:
Not good for:
Present the above information clearly to the user, tailored to their specific question.
npx claudepluginhub kdoroszewicz/cursor-plugins-claude --plugin ralph-loopGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.