Skip to content

GitHub PR Review Iteration

Loops through a GitHub pull request's review comments, triaging, fixing, and resolving them until clear.

Repository
prisma/orm
Stars
47,663
Licence
Apache-2.0
Files
4 files

What it does

When installed, the agent can take a GitHub pull request and work through its reviewer comments in a repeating cycle: fetch the current review state, decide which comments to act on, make the code changes with separate commits, reply and resolve the threads, then re-check until nothing actionable remains. It delegates the triage and implementation steps to sub-agent instructions and relies on three sibling skills (fetch, triage, implement) being installed alongside it. It also writes state files into a wip/reviews folder for tracking.

Great for

  • Developers who want an AI agent to handle routine PR review feedback on their own branch
  • Teams using automated reviewers like CodeRabbit that generate many comments to sort through
  • Maintainers who want a repeatable, auditable record of how review items were resolved

Skip it if

  • Repositories where you do not have push rights or where the agent should not commit or resolve threads on your behalf (it posts replies, reactions and resolves threads on GitHub)
  • Users who need a single quick code review rather than a full automated fix-and-resolve loop
  • Setups without the three sibling skills installed, since the orchestrator cannot run without them

Try asking

  • “address PR review https://github.com/OWNER/REPO/pull/123”
  • “triage review comments on this pull request and summarize what needs action”
  • “iterate until review is clean for my open PR”
  • “run only the implement step for the actions already triaged in wip/reviews”
Step-by-step guide: how to use GitHub PR Review IterationInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 4 original files, the Apache-2.0 licence and an attribution note.

    github-review-iteration.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip github-review-iteration.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip github-review-iteration.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Run from the repository root, or pass --reviews-root explicitly so artifacts land in the git-ignored wip/reviews folder.
  • Review the generated review-actions.md before letting the implement step commit and resolve threads.
  • If gh fails with TLS certificate errors in a sandbox, re-run outside the sandbox rather than disabling verification.

What's inside

  • agents/review-orchestrator.md
  • package.json
  • scripts/review-iterate.mjs
  • SKILL.md

Redistributed unmodified from prisma/orm under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.