.claude/skills/review-pr/SKILL.md
Use when asked to review a PR, run a code review loop, or invoke the ralph reviewer against a pull request number or GitHub URL
npx skillsauth add mikeyobrien/ralph-orchestrator review-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the ralph.reviewer.yml orchestration loop against a pull request. The loop checks out the PR in an isolated worktree, runs tests, reviews the diff, and produces a structured report.
/review-pr <PR number or URL>
Accepts: 207, #207, or https://github.com/.../pull/207
Extract the PR number from the argument. Strip # prefix or extract from URL path.
ralph run -H ralph.reviewer.yml -p "Review PR #<N>"
Bash tool settings:
timeout: 600000 (10 minutes)run_in_background: trueUse TaskOutput with block: true to wait for completion.
Read and print .ralph/REVIEW-REPORT.md to the conversation.
If the report file doesn't exist (loop failed before the synthesizer hat), check for and display whatever intermediate files exist:
.ralph/review-scope.md — what was scoped.ralph/review-verification.md — test results.ralph/review-findings.md — review findingsCheck that the review worktree was removed:
ls -d .worktrees/review-<N> 2>/dev/null
Also note the presence of intermediate files (.ralph/review-scope.md, etc.) — they're useful for debugging but the user may want to clean them up later.
| Situation | Action |
|-----------|--------|
| Ralph exits non-zero | Display error output. Suggest re-running with RALPH_DIAGNOSTICS=1 |
| Report file missing | Display intermediate files that do exist (scope, verification, findings) |
| PR argument missing | Ask the user for the PR number |
| PR argument unparseable | Ask the user to provide a bare number, #N, or full GitHub URL |
development
Introspect, explain, and improve Ralph Orchestrator using its published llms.txt doc map. Use this skill whenever the user asks questions about Ralph's behavior, wants to understand how a Ralph internal works (event loop, hats, memories, tasks, backends, presets), debug an unfamiliar failure mode, or propose a code change to the ralph-orchestrator repo. The skill teaches the agent to discover authoritative answers from the live docs via llms.txt before guessing, and to scope improvements through the published architecture rather than the local checkout alone.
development
Run, monitor, resume, merge, and debug Ralph loops. Use this skill whenever the user asks to operate `ralph run` or `ralph loops`, inspect loop state, recover suspended loops, analyze diagnostics, or unblock merge queue issues.
development
Create, inspect, validate, explain, and improve Ralph hat collections. Use this skill whenever the user asks to make or refine a `.ralph/hats/*.yml` workflow, debug hat routing, explain event topology, or tune a multi-hat Ralph run.
testing
A directory-style test skill for smoke testing