ralph-json-start-loop
Ralph
Run the autonomous loop to execute features from prds/ directory.
Usage
/ralph # Run next available project (respects dependencies)
/ralph 25 # Run with 25 iterations
/ralph auth-flow # Run specific project
Process
Run the loop script in background mode:
~/.claude/skills/ralph/ralph.sh [iterations] [project-name]
Use run_in_background: true to prevent timeout. After starting, tell the user to check progress with tail -f <worktree>/.ralph-progress.txt.
What It Does
- Shows dependency graph, finds next available project
- Creates git worktree at
../{repo}-{feature}/ - For each iteration:
- Picks first story where
passes: false - Implements it, runs quality checks
- Commits:
feat: [id] - [title] - Updates JSON, syncs back to main repo
- Picks first story where
- When all stories pass, outputs
<promise>COMPLETE</promise>
Dependencies
Ralph reads dependsOn from each PRD and enforces ordering:
{
"projectName": "Dashboard",
"dependsOn": ["auth-flow", "user-profile"]
}
Projects with incomplete dependencies are blocked. Ralph picks the first ready project alphabetically.
Prerequisites
- At least one
.jsonPRD file in.claude/plans/,plans/, orprds/ - Use plan mode to create a plan, then run
/ralph-json-create-issuesto convert it
Notes
- Run multiple Ralphs in parallel on independent projects (separate terminals)
- Each works in its own worktree, no conflicts
More from richtabor/agent-skills
humanize
Reviews and edits copy to remove AI-generated patterns and make text sound natural. Use when editing drafts, reviewing copy, "humanize this", "make it less AI", "sounds too AI", "remove AI patterns", "edit my copy", "this sounds robotic", or when text feels machine-generated.
105technical-writing
Writes technical blog posts about features being built. Triggers when user asks to write about development progress, implementations, or project updates.
43create-prd
Plan features interactively. Asks clarifying questions, then generates a detailed PRD document.
36motion-design
Provides motion design guidance for UI components. Triggers on animation requests ("animate this", "add transition", "motion for"), refinement requests ("clean up this animation", "clean up the motion", "this feels too fast/slow", "make this feel more alive/natural"), and questions about easing, timing, or micro-interactions.
28review-agents-md
Creates minimal, effective AGENTS.md files using progressive disclosure. Triggers on "create agents.md", "refactor agents.md", "review my agents.md", "claude.md", or questions about agent configuration files. Also triggers proactively when a project is missing AGENTS.md.
27skill-review
Reviews and validates agent skills against best practices. Triggers on "review this skill", "check my skill", "validate skill", "is this skill well-written", or when creating/editing skills.
22