ralph-loop-creator
FreeNo executable scriptsNot checkedGenerate structured prompts for autonomous AI work. Creates PROMPT.md with phases, validation criteria, and completion promise from a rough description or PRD.
About this skill
Ralph Loop Creator
Core Purpose
Transform a rough idea, description, or PRD into a fully structured Ralph Loop prompt ready for execution. This automates the tedious work of structuring phases, validation criteria, and completion promises.
Based on @GeoffreyHuntley's Ralph Wiggum technique, @callam53's workflow guide.
Operating Philosophy
What This Skill IS
- Prompt scaffolder that creates structured Ralph-ready prompts
- Phase decomposer that breaks work into iterative chunks
- Validation designer that ensures each phase has clear success criteria
- Kanban translator that treats phases like tickets with ACs
- Quality gate that runs blind review before declaring ready
What This Skill IS NOT
- Interviewer (use /interview first if requirements are vague)
- Ralph runner (use /ralph-loop to actually run it)
When to Use This Skill
Use AFTER you have clarity on what to build:
Rough idea → /interview → /ralph-loop-creator → /ralph-loop
↑ ↑
(if spec has (THIS SKILL)
ambiguities) │
├── Generate PROMPT.md
├── Blind Review (subagent)
├── Fix issues if confidence < 7
└── Output ready-to-run command
Activation Protocol
When invoked with /ralph-loop-creator <input> [output-path]:
Parse input:
- If file path: read the file (PRD, notes, rough plan)
- If description: use the provided text
Assess completeness:
- Are requirements clear enough to structure?
- If not: suggest
/interviewfirst
Gather context:
- Read relevant CLAUDE.md for project patterns
- Check for existing architecture/infrastructure to reference
- Identify dependencies and constraints
Generate PROMPT.md:
- Mission statement + completion promise
- Context section (what exists, architecture)
- Scope (in/out)
- Phases with tasks and validation
- File structure
- Environment variables
- Decision log
- Success metrics
Blind Review (critical step):
- Spawn a subagent with ZERO context about the task
- Have them review the PROMPT.md as if coming in cold
- They report back:
- What they expect to happen (validates clarity)
- Implicit intent they're inferring (surfaces assumptions)
- Pre-mortem: what could go wrong (finds gaps)
- Confidence score 1-10 for autonomous execution
- If confidence < 7: iterate on PROMPT.md to address issues
- See "Blind Review Protocol" section below
Output:
- Write to specified path (or suggest default)
- Include confidence score from blind review
- Provide the exact
/ralph-loopcommand to run
PROMPT.md Template
Generate prompts following this structure:
# [Feature Name] - Ralph Loop Prompt
## Mission
[1-2 sentence description of what we're building]
**Completion Promise:** When all phases complete and [success criteria], output:
\`\`\`
<promise>[FEATURE_NAME] COMPLETE</promise>
\`\`\`
---
## Context
### What Already Exists
[Relevant existing infrastructure, patterns, files]
| Component | Location | Purpose |
| --------- | -------- | -------------- |
| [Name] | [Path] | [What it does] |
### Architecture Overview
\`\`\`
[ASCII diagram if helpful]
\`\`\`
---
## Scope
### In Scope
- [ ] [Feature/requirement 1]
- [ ] [Feature/requirement 2]
### Out of Scope (Future)
- [Thing explicitly deferred]
---
## Phases
Work through these sequentially. Each phase should result in working, tested code.
### Phase 1: [Foundation/Setup]
**Goal:** [What this phase achieves]
**Tasks:**
1. [Specific task]
2. [Specific task]
**Validation:**
- [ ] [Testable criterion]
- [ ] [Testable criterion]
**Reference:** [Docs/links if relevant]
---
### Phase 2: [Core Feature]
[Same structure]
---
### Phase N: Testing & Documentation
**Goal:** Production-ready with tests and docs.
**Tasks:**
1. Unit tests for [components]
2. Integration tests for [flows]
3. Documentation at [location]
**Validation:**
- [ ] Tests passing
- [ ] Coverage > [X]%
- [ ] Docs complete
---
## Key Files to Create
\`\`\`
[File tree of expected output]
\`\`\`
---
## Environment Variables
\`\`\`bash
[Required env vars with descriptions]
\`\`\`
---
## Decision Log
| Decision | Choice | Rationale |
| -------- | -------- | --------- |
| [What] | [Choice] | [Why] |
---
## Success Metrics
**Functional:**
- [Measurable criterion]
**Quality:**
- [Quality gate]
---
## Notes for Implementation
- [Important gotcha]
- [Pattern to follow]
- [Thing to avoid]
---
## When Complete
Output the completion promise:
\`\`\`
<promise>[FEATURE_NAME] COMPLETE</promise>
\`\`\`
Phase Design Principles
Good Phases
- Self-contained: Can be validated independently
- Incremental: Build on previous phases
- Testable: Clear
Install ralph-loop-creator in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the ralph-loop-creator skill do?
Generate structured prompts for autonomous AI work. Creates PROMPT.md with phases, validation criteria, and completion promise from a rough description or PRD.
How do I install the ralph-loop-creator skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ralph-loop-creator skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic