AgentSkillsCN

prp-ralph

prp-ralph

SKILL.md

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

  1. Read Plan: Ingest .plan.md.
  2. Implementation: Write code changes.
  3. 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.

Safety

  • Always run tests in a separate process.