Run the autonomous cyclic PRP pipeline end to end (plan → implement → pr → review, looping review→fix until the PR is clean). Use when the user wants to "ship feature X end to end", "run the full PRP loop", "auto-implement and open a PR for a feature", or invokes /prp-loop.
79
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Launch the orchestrator that drives plan → implement → pr → review and loops review → fix until the PR review is clean (or limits are hit). It runs headless claude -p once per stage and tracks progress in ~/.prp/<key>/state/prp-loop.state.json.
Start a new loop with the user's request as the feature argument:
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-loop/scripts/prp_loop.py "$ARGUMENTS"Resume a halted or in-progress loop:
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-loop/scripts/prp_loop.py --resumeDefaults: --max-cycles 3, --max-implement-iterations 10, base branch auto-detected. Pass --validate "<cmd>" to give the loop an authoritative green check (exit 0 = pass).
--until)Pass --until <stage> (plan | implement | pr | review | fix) to halt once that stage completes:
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-loop/scripts/prp_loop.py "$ARGUMENTS" --until implement--until implement runs plan → implement and stops once validations are green and the work is committed — no PR, no review. This is the headless replacement for the old single-session Ralph loop: "grind one plan to green."
UX note: the retired Ralph loop was single-session and interactive (a Stop-hook fed the prompt back in the same session). prp-loop --until implement is headless instead — it drives fresh claude -p sessions per iteration and you resume/inspect via the state file rather than watching it live.
prp-plan writes the plan under the project's PRP store at $PRP_DIR/plans/<feature>.plan.md.prp-implement executes the plan, looping until all validations pass (bounded by --max-implement-iterations), then commits.prp-pr pushes the branch and opens the PR (once).prp-review --agents reviews the PR and writes a {clean, blocking} verdict.--max-cycles. Clean → done.--dangerously-skip-permissions). Operates only on the feature branch — it refuses to PR from main/master/development/the base branch.--max-cycles, a fix pass with no new commit (no progress), failed push, or any stage error.~/.prp/<key>/state/prp-loop.state.json.This orchestrator is self-contained and uses no Stop-hook. It owns both loops itself and detects "green" from each stage's VALIDATION: GREEN sentinel (or the --validate command). The PRP skills it calls are invoked verbatim and never modified.
1142738
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.