Pull request guard

Quest: Review a pull request before it merges

Proposed, not tested

Equipment

Inquisitor Claude Code
Quest
Review a pull request before it merges
Hero
Claude CodeThe agent that runs the quest
Weapon
Claude Opus 5.5Greatsword: Anthropic's flagship for hard coding workMana rate 21 per 1k tokens
Charge
Extra highReasoning effort
Author
The curator

GitHub MCP pulls the diff and comments, then two reviewers look at it from different angles. CodeRabbit needs its own account.

Can't be appraised: Proving Grounds can't equip orbs (MCP servers).

Skill tree

  1. ScoutGather context

  2. CraftMake the thing

    Nothing equipped here

  3. TestCheck the work

  4. ShipDeliver it

    Nothing equipped here

Quest replay

Quest: "Review a pull request before it merges". Four waves, then the Backlog Dragon.

Foes

  • Fog Wraith

Party · Context

  • Claude CodeInquisitor100/100
  1. Wave 1 of 4 · Scout

    The Fog Wraith steps up.

    What really happensGather context

    Claude Code: Context 100/100.

  2. Explore

    Claude Code sends Explore, a fox scout, into the fog.

    What really happensClaude Code can hand a codebase search to its built-in Explore subagent, which works in its own context window.

    Explore: Context 40/40.

  3. Explore

    Explore sniffs out the right files.

    What really happensThe subagent reads and searches. None of that output lands in the main context.

    Fog Wraith takes 22.

  4. Haze

    The Fog Wraith breathes haze. Swings start to miss.

    What really happensWithout current docs, the agent guesses at APIs that may have changed.

    Explore takes 3. Explore: Context 37/40. Explore: Haze.

  5. GitHub MCP Server

    An orb that opens repos, issues, and pull requests.

    What really happensThe agent can list repositories, read issues and pull requests, inspect Actions runs, and review security findings.

    Fog Wraith takes 38. Fog Wraith falls.

  6. Haze cleared

    Fresh pages burn the haze away.

    What really happensCurrent docs replace guesses with facts.

  7. Explore

    Explore returns with a short report.

    What really happensOnly the subagent's final summary comes back to the main agent.

    Claude Code takes 2. Claude Code: Context 98/100. Claude Code: Insight. Explore returns.

  8. Wave 2 of 4 · Craft

    The Tangle Hydra steps up.

    What really happensMake the thing

  9. Regrow

    The Tangle Hydra uses Regrow.

    Claude Code takes 4. Claude Code: Context 94/100.

  10. Greatsword

    Claude Code swings the Greatsword.

    Tangle Hydra takes 69 (critical hit).

  11. Regrow

    A cut head grows back.

    What really happensA messy diff hides new problems inside old ones.

    Claude Code takes 4. Tangle Hydra recovers 15. Claude Code: Context 90/100.

  12. Greatsword

    Claude Code swings the Greatsword.

    Tangle Hydra takes 46 (critical hit). Tangle Hydra falls.

  13. Wave 3 of 4 · Test

    The Bug Slime and the Flaky Wisp step up.

    What really happensCheck the work

    Flaky Wisp: Flicker.

  14. Flicker

    The Flaky Wisp uses Flicker.

    Claude Code takes 3. Claude Code: Context 87/100.

  15. Regress

    The Bug Slime uses Regress.

    Claude Code takes 3. Claude Code: Context 84/100.

  16. Anthropic PR Review Toolkit

    A relic that calls six specialists onto one pull request.

    What really happenscode-reviewer scores 0-100 and reports 80 or higher. Test and type agents rate gaps from 1 to 10.

    Code reviewer: Context 40/40. Comment analyzer: Context 40/40. Test analyzer: Context 40/40. Silent-failure hunter: Context 40/40. Type designer: Context 40/40. Simplifier: Context 40/40.

  17. Pinned

    Pinned in place, it cannot slip away.

    What really happensA test that runs the same way each time shows the real failure.

    Bug Slime: Pinned. Flaky Wisp: Pinned.

  18. Flicker

    The Flaky Wisp lashes at Code reviewer.

    What really happensThe subagent takes the hit in its own context. The main context stays clean.

    Code reviewer takes 3. Code reviewer: Context 37/40.

  19. Anthropic PR Review Toolkit

    The summons work the problem, each in its own context.

    What really happensEach subagent does its own model and tool work, apart from the main conversation.

    Flaky Wisp takes 25. Flaky Wisp takes 15. Flaky Wisp takes 0. Flaky Wisp takes 0. Flaky Wisp takes 0. Flaky Wisp takes 0. Flaky Wisp falls.

  20. Regress

    The Bug Slime uses Regress.

    Claude Code takes 3. Claude Code: Context 81/100.

  21. CodeRabbit Plugin

    A relic that runs CodeRabbit on the diff and can patch findings.

    What really happensAsk for a review, or run /coderabbit:code-review in Claude Code. Findings keep severities such as critical, major, and minor.

    Bug Slime takes 45. Bug Slime falls.

  22. Anthropic PR Review Toolkit

    The summons return with short reports.

    What really happensOnly the subagent's final summary comes back to the main agent.

    Claude Code takes 2. Claude Code takes 2. Claude Code takes 2. Claude Code takes 2. Claude Code takes 2. Claude Code takes 2. Claude Code: Context 69/100. Claude Code: Insight. Code reviewer returns. Comment analyzer returns. Test analyzer returns. Silent-failure hunter returns. Type designer returns. Simplifier returns.

  23. Wave 4 of 4 · Ship

    The Gate Warden steps up.

    What really happensDeliver it

    Gate Warden: Barrier.

  24. Boss · Backlog Dragon

    The Backlog Dragon guards the quest: "Review a pull request before it merges".

    What really happensIt stands for the whole quest, every task on the list.

  25. Scope creep

    The dragon breathes scope creep across the party.

    What really happensNew asks pile onto a task while it is underway.

    Claude Code takes 5. Claude Code: Context 64/100.

  26. Greatsword

    Claude Code swings the Greatsword.

    Gate Warden is behind a barrier.

  27. Bar the gate

    The warden raises the gate. Nothing passes until the checks are green.

    What really happensA release waits until tests, builds and reviews pass.

  28. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 6. Claude Code: Context 58/100.

  29. Greatsword

    Claude Code swings the Greatsword.

    Gate Warden is behind a barrier.

  30. Bar the gate

    The Gate Warden swings the gate shut.

    Claude Code takes 5. Claude Code: Context 53/100.

  31. Scope creep

    The Backlog Dragon uses Scope creep.

    Claude Code takes 5. Claude Code: Context 48/100.

  32. Greatsword

    Claude Code swings the Greatsword.

    Gate Warden takes 51.

  33. Gate open

    The checks turn green and the gate opens.

    What really happensTests, build and review pass, so the release can go.

  34. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 6. Claude Code: Context 42/100.

  35. Bar the gate

    The Gate Warden swings the gate shut.

    Claude Code takes 5. Claude Code: Context 37/100.

  36. Scope creep

    The Backlog Dragon uses Scope creep.

    Claude Code takes 5. Claude Code: Context 32/100.

  37. Greatsword

    Claude Code swings the Greatsword.

    Gate Warden takes 9. Gate Warden falls.

  38. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 6. Claude Code: Context 26/100.

  39. Greatsword

    Claude Code swings the Greatsword.

    Backlog Dragon takes 46.

  40. Scope creep

    The Backlog Dragon uses Scope creep.

    Claude Code takes 5. Claude Code: Context 21/100.

  41. Compact

    The hero rolls the scroll of memory tight and fights on.

    What really happensWhen context runs low, the agent summarizes the session so far and keeps going. Small details can get lost.

    Claude Code recovers 29. Claude Code: Context 50/100.

  42. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 6. Claude Code: Context 44/100.

  43. Greatsword

    Claude Code swings the Greatsword.

    Backlog Dragon takes 50.

  44. Call the backlog

    The dragon roars, and another task crawls out of the backlog.

    What really happensFinishing one task often surfaces the next one on the list.

  45. Greatsword

    Claude Code swings the Greatsword.

    Bug Slime takes 25. Bug Slime falls.

  46. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 6. Claude Code: Context 38/100.

  47. Greatsword

    Claude Code swings the Greatsword.

    Backlog Dragon takes 43.

  48. Scope creep

    The Backlog Dragon uses Scope creep.

    Claude Code takes 5. Claude Code: Context 33/100.

  49. Greatsword

    Claude Code swings the Greatsword.

    Backlog Dragon takes 46.

  50. Enraged

    Wounded, the dragon rages.

    What really happensThe last stretch of a big job is often the hardest.

    Backlog Dragon: Enraged.

  51. Claw

    The Backlog Dragon uses Claw.

    Claude Code takes 8. Claude Code: Context 25/100.

  52. Scope creep

    The Backlog Dragon uses Scope creep.

    Claude Code takes 6. Claude Code: Context 19/100.

  53. Greatsword

    Claude Code swings the Greatsword.

    Backlog Dragon takes 35. Backlog Dragon falls.

  54. Quest clear

    The Backlog Dragon falls. Quest complete.

    What really happensEvery equipped spell did its part of "Review a pull request before it merges".

After the battle

  • Claude Code took 15 turns to clear four waves.
  • Context ran low once, so the agent compacted it.
  • No Craft or Ship spell, so those waves ran on basic attacks.
  • Summons took 6 damage in their own context and brought back 7 reports.

Copy this loadout

Prompt for Claude Code

Paste this into Claude Code. It installs each spell, leaves API keys and sign-ins to you, and ends with the command that restarts it with this weapon and charge.

Set up these tools for me in Claude Code.
Loadout: https://vibe-rpg-simulator.vercel.app/loadouts/pull-request-guard/

1. GitHub MCP Server
   Source: https://github.com/github/github-mcp-server
   Run:
     claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'

2. Anthropic PR Review Toolkit
   Source: https://github.com/anthropics/claude-plugins-official/tree/main/plugins/pr-review-toolkit
   I type in Claude Code:
     /plugin install pr-review-toolkit@claude-plugins-official

3. CodeRabbit Plugin
   Source: https://github.com/coderabbitai/skills
   Run:
     curl -fsSL https://cli.coderabbit.ai/install.sh | sh
     coderabbit auth login
   I type in Claude Code:
     /plugin marketplace update
     /plugin install coderabbit@claude-plugins-official

How to do it:
- Skip anything that is already installed. Run the rest in order and check that each step worked.
- Commands under "I type in Claude Code" are mine to enter. List them for me at the end, in order.
- Never ask me to paste an API key or token into this chat. When a command needs one, such as YOUR_API_KEY, give me the full command to run in my own terminal.
- Ask me for any other value you can't work out, such as a project path.
- If a command asks a question or needs a browser sign-in or an open app, tell me what to do and wait.
- If a command fails, follow the install steps in the tool's source for Claude Code instead. Show me any command that is not on this list before you run it, and install nothing else.

When you're done, tell me what is ready and what still needs me. New tools load in a new session, so finish by telling me to restart Claude Code with Claude Opus 5.5 and reasoning effort xhigh:
claude --model opus --effort xhigh

Terminal commands

Or paste these lines into a terminal. The first part installs every spell for Claude Code; the last line starts it with the same weapon and charge. Lines starting with # are notes or commands you type inside the agent.

# Loadout: Pull request guard
# Quest: Review a pull request before it merges
# Hero: Claude Code · Weapon: Claude Opus 5.5 · Charge: Extra high
# From https://vibe-rpg-simulator.vercel.app/loadouts/pull-request-guard/

# 1. Learn the spells
# Scout: GitHub MCP Server
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'
# Test: Anthropic PR Review Toolkit
# in Claude Code: /plugin install pr-review-toolkit@claude-plugins-official
# Test: CodeRabbit Plugin
curl -fsSL https://cli.coderabbit.ai/install.sh | sh
coderabbit auth login
# in Claude Code: /plugin marketplace update
# in Claude Code: /plugin install coderabbit@claude-plugins-official

# 2. Start the hero with this weapon and charge
claude --model opus --effort xhigh