Orchestrates a GitHub PR review loop by delegating triage and implementation to dedicated sub-agents, then repeating until actionable review items are cleared. Use when the user says “address PR review”, “triage review comments”, or “iterate until review is clean”.
npx skills add https://github.com/prisma/prisma --skill github-review-iteration
Run an iterative PR review loop: fetch state → render/summarize → triage actions → implement (code + Done + resolve) → re-fetch until the PR has no remaining actionable items.
This skill is an orchestrator. It delegates:
../review-triage-phase/agents/review-triager.md../review-implement-phase/agents/review-implementer.mdThe orchestrator owns sequencing, handoff, and loop control. It does not perform triage or implementation directly when delegation is available.
This skill depends on three sibling skills that live in the same parent directory:
../review-fetch-phase/ — fetches and renders PR review state../review-triage-phase/ — triages review threads into an action plan../review-implement-phase/ — implements triaged actions and resolves threadsAll script paths in this document are relative to this skill's directory. Use ../ to reach sibling skills. Do not search the workspace/repo for these files — they are part of the skills installation, not the project being reviewed.
This skill supports subcommands:
triage: fetch + triage into structured actionsimplement: execute the triaged actions and update statusiterate: loop triage → implement until clear (default)/github-review-iteration iterate <PR_URL> [output-dir]
When output-dir is omitted, use the standard layout: wip/reviews/<owner>_<repo>_pr-<number>/ (derived from PR URL).
Example:
/github-review-iteration iterate https://github.com/OWNER/REPO/pull/123
Store artifacts under:
wip/reviews/<owner>_<repo>_pr-<number>/
Canonical artifacts:
review-state.json (canonical v2)review-actions.json (canonical v2)Derived artifacts:
review-state.mdsummary.txt (or JSON summary)review-actions.mdapply-log.json (optional)When you need a thin wrapper for path setup + standard script calls, run:
node ./scripts/review-iterate.mjs --pr <PR_URL>
For phase-specific execution without full orchestration, use:
/review-fetch-phase <PR_URL> [output-dir]/review-triage-phase <PR_URL> [output-dir]/review-implement-phase <PR_URL> [output-dir]git add -A / git add .)gh api TLS / cert failures in sandboxed shellsIf GitHub administration fails with an error like:
x509: OSStatus -26276 (or similar TLS/certificate verification failures)Treat it as an environment/sandbox cert-store mismatch, not a script bug.
Recovery:
gh calls outside the sandbox (use a shell mode that uses the system cert store).GH_NO_VERIFY_SSL, no custom curl flags).All script paths below are relative to this skill's directory.
node ../review-fetch-phase/scripts/fetch-review-state.mjs --pr <PR_URL> --out-json <review-dir>/review-state.json
node ../review-fetch-phase/scripts/render-review-state.mjs --in <review-dir>/review-state.json --out <review-dir>/review-state.md
node ../review-fetch-phase/scripts/summarize-review-state.mjs --in <review-dir>/review-state.json --format text --out <review-dir>/summary.txt
node ../review-triage-phase/scripts/render-review-actions.mjs --in <review-dir>/review-actions.json --out <review-dir>/review-actions.md
review-actions.json is the contract between the triager and implementer.
Minimum v2 shape:
{
"version": 2,
"pr": { "url": "https://github.com/OWNER/REPO/pull/123", "nodeId": "PR_kw..." },
"reviewState": { "path": "review-state.json", "fetchedAt": "...", "version": 2 },
"actions": [
{
"actionId": "A-001",
"target": { "kind": "review_thread", "nodeId": "PRRT_xxx", "url": "..." },
"decision": "will_address",
"summary": "One-line description of what will be done",
"rationale": null,
"targetFiles": ["path/to/file.ts"],
"acceptance": "How to tell it's done",
"status": "pending",
"done": null
}
]
}
Rules:
target.nodeId).actions[] order intentionally (do not reorder).status (pending|in_progress|done) and done records in place.pull_request_review body may contain multiple findings (especially from automated reviewers like CodeRabbit which bundle "outside diff range" comments into the review body). The triager must decompose these into sub-actions (e.g., A02a, A02b). Never blanket-dismiss review bodies without reading their content.triageInvoke the review triager agent at ../review-triage-phase/agents/review-triager.md and pass:
<output-dir>/review-state.md<output-dir>/review-state.json<output-dir>/review-actions.md<output-dir>/review-actions.jsonThe triager must:
../review-fetch-phase/scripts/fetch-review-state.mjs)review-actions.json decisions/statusreview-actions.md and review-actions.jsonBefore returning from triage, verify that <output-dir>/review-actions.json exists and is valid for implementer consumption (version, PR metadata, and actions[] with target.kind + target.nodeId).
implementInvoke the review implementer agent at ../review-implement-phase/agents/review-implementer.md and pass:
<output-dir>/review-actions.md<output-dir>/review-actions.jsonThe implementer must:
will_address actionsreview-actions.json in-place (status, done)Responsibility note:
iterateRepeat delegated triage → delegated implement until there are no remaining actionable review items.
Loop contract:
triage delegation and read resulting review-actions.json.review-actions.json; if no will_address actions remain with pending or in_progress status, stop and report completion.implement delegation.triage delegation to refresh state and determine next iteration.If this repo provides dedicated slash commands or subagents for triage/implementation, prefer them to reduce manual steps.
Use when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large context windows. Uses Gemini 3 Pro by default for state-of-the-art reasoning and coding.
Claude Skills meta-skill: extract domain material (docs/APIs/code/specs) into a reusable Skill (SKILL.md + references/scripts/assets), and refactor existing Skills for clarity, activation reliability, and quality gates.
> Pedantic backend pre-commit and atomic commit Skill for Django/Optimo-style repos. Enforces local AGENTS.md / CLAUDE.md, pre-commit hooks, .security/* helpers, and Monty’s backend engineering taste – with no AI signatures in commit messages.
Automatically backs up files, saves diffs, uses agents/skills, and ensures modular code (<200 lines) before any implementation. Use this skill for ALL code changes to ensure safe, reversible, and clean implementations.
Use when you've developed a broadly useful skill and want to contribute it upstream via pull request - guides process of branching, committing, pushing, and creating PR to contribute skills back to upstream repository
Default reference pipeline for the code-migration taskKind — code-import → design-extract → token-map → rewrite-plan → patch-edit ↔ build-test devloop → diff-review → handoff.
Configure human-in-the-loop gating for AI agent review actions in Claude Code. Use when setting up a project where an agent may post PR reviews, comments, merges, or edit CI configuration, and you want a cryptographically auditable approval trail with Cedar-enforced gates.
> Check installed community skills for updates. Shows a diff and requires explicit approval before applying. Use when the user says "check for updates", "update my skills", "anything new for my installed skills", or when invoked from the registry-sync agent.
Take prisma/github-review-iteration from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.