Start an autonomous Ralph loop that executes a PRP plan iteratively until all validations pass. Requires manual re-invocation between iterations. Provide a .plan.md or .prd.md file path and optionally --max-iterations N (default: 20).
Start an autonomous Ralph loop that executes a PRP plan iteratively until all validations pass. Each iteration: implement → validate → fix → repeat until complete.
The prp-ralph-loop skill provides detailed execution guidance during iterations.
Extract from input:
.plan.md or .prd.md--max-iterations N (default: 20)| Input | Action |
|---|---|
.plan.md file | Use as plan file |
.prd.md file | Select next pending phase |
| Free-form / blank | STOP: "Ralph requires a plan or PRD file. Create one first with prp-plan or skill." |
prp-prdVerify file exists: test -f "{file_path}"
If PRD: Read it, parse Implementation Phases table, find first pending phase with complete dependencies.
Create state file .claude/prp-ralph.state.md:
mkdir -p .claude .claude/PRPs/ralph-archives
---