skills/ralph-loop/SKILL.md
Setup the Ralph autonomous AI coding loop - ships features while you sleep
npx skillsauth add devattom/.claude setup-ralphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill ONLY sets up Ralph - you run the commands yourself. </objective>
<quick_start> Setup Ralph interactively (recommended):
/setup-ralph -i
Setup for specific feature:
/setup-ralph -f 01-add-authentication
What this does:
.claude/ralph/ structure in your projectAfter setup, you run:
bun run .claude/ralph/ralph.sh -f <feature-name>
</quick_start>
<critical_rule> 🛑 NEVER run ralph.sh or any execution commands automatically 🛑 NEVER execute the loop - only set up files and show instructions ✅ ALWAYS let the user copy and run commands themselves ✅ ALWAYS end by showing the exact command to run </critical_rule>
<when_to_use> Use this skill when:
Don't use for:
Examples:
/setup-ralph /path/to/project -i # Interactive PRD creation
/setup-ralph . -f 01-add-auth # Setup for specific feature
/setup-ralph -i -f 02-user-dashboard # Interactive with specific name
</parameters>
<state_variables>
| Variable | Type | Description |
|----------|------|-------------|
| {project_path} | string | Absolute path to target project |
| {ralph_dir} | string | Path to .claude/ralph in project |
| {feature_name} | string | Feature folder name (e.g., 01-add-auth) |
| {feature_dir} | string | Path to task folder |
| {interactive_mode} | boolean | Whether to brainstorm PRD interactively |
| {prd_content} | string | PRD markdown content |
| {user_stories} | array | User stories extracted from PRD |
| {branch_name} | string | Git branch for the feature |
</state_variables>
<entry_point>
Load steps/step-00-init.md
</entry_point>
<step_files>
| Step | File | Purpose |
|------|------|---------|
| 00 | step-00-init.md | Parse flags, run setup script, create structure |
| 01 | step-01-interactive-prd.md | Interactive PRD brainstorming and creation |
| 02 | step-02-create-stories.md | Transform PRD into user stories (prd.json) |
| 03 | step-03-finish.md | Show run command (user runs it themselves) |
</step_files>
<execution_rules>
<success_criteria> ✅ Ralph structure created at {project_path}/.claude/ralph ✅ Feature folder created with PRD.md, prd.json, progress.txt ✅ User stories properly formatted in prd.json ✅ Clear run command provided to user (they run it themselves) </success_criteria>
development
Use when you want to audit a project wiki for quality issues — stale version claims, contradictions between pages, orphan pages, broken wiki links, missing cross-references, or misalignment between wiki content and the actual codebase state.
development
Systematic error debugging with analysis, solution discovery, and verification
development
Structured adversarial debate between AI councillors using Agent Teams to evaluate ideas, plans, or decisions. ALWAYS use when the user says "council", "debate this", "evaluate this idea", "challenge my plan", "stress-test", "devil's advocate", "multiple perspectives", "évaluer cette idée", "débattre", "challenger mon plan", "tester cette décision", or when the user wants rigorous multi-perspective analysis of a proposal, architecture decision, or strategic choice. Each councillor (visionary, critic, pragmatist, innovator, ethicist, domain expert) represents a distinct perspective and they challenge each other through cross-examination and peer exchange, producing a nuanced verdict (PROCEED / PROCEED WITH CONDITIONS / RECONSIDER / DO NOT PROCEED). Do NOT use for divergent brainstorming or idea generation — use workflow-brainstorm instead.
testing
Automated CI/CD pipeline fixer - watches CI, fixes errors locally, commits, and loops until green. Use when CI is failing and you want to automatically fix and verify changes.