name: prp-ralph description: Autonomous execution loop (The Ralph Loop). Implements code from a Plan and iteratively validates it. triggers: ["execute plan", "start ralph", "implement feature", "build"]
Ralph Loop Skill
Usage
Activate only AFTER a .plan.md is approved.
Procedure
- •Read Plan: Ingest
.plan.md. - •Implementation: Write code changes.
- •Validation (The Loop):
- •Execute validation commands via
ralph_runner.py. - •IF PASS: Save report to
.prp/reports/. - •IF FAIL: Analyze error, fix, and re-run.
- •Limit: 5 attempts max.
- •Execute validation commands via
Safety
- •Always run tests in a separate process.