Why this workflow exists
There’s a single-PR version of this — paste a PR, get a review. This is the other one: you have a queue. Six PRs sat over the weekend, three of them are one-liners, one is scary, and you don’t know which is which until you’ve opened all six. The cost isn’t reviewing the scary one. It’s the opening, scanning, and context-loading on the five that didn’t need you.
This workflow front-loads the triage. Claude reads the whole queue against a bar you set once, and hands you a sorted list: merge these, fix these (comment written), look at these yourself. You stop paying the open-and-scan cost on PRs that were always going to be fine.
The first run takes ~20 minutes because you’re installing the server and writing your review standard. Every sweep after that is ~10 minutes for a full backlog.
Install in 10 minutes
You need GitHub MCP. Memory MCP is optional but it’s what makes “my review standard” persist across sweeps instead of being re-pasted every time.
1. Install GitHub MCP
claude mcp add github -- npx -y @modelcontextprotocol/server-github
Set GITHUB_PERSONAL_ACCESS_TOKEN in the env block. To post review comments in step 4, the token needs pull request write scope, not just read. The exact scopes and the maintained command are on the GitHub MCP page. Verify with /mcp in Claude Code.
2. (Optional) Install Memory MCP
claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
No env vars. This stores your review standard so step 1 only happens once, ever.
The first run
Run prompt 1 to set your standard — be specific, vague standards produce useless “NEEDS A HUMAN” on everything. Pull the queue with prompt 2. Run the sweep with prompt 3 and read the verdicts.
The first sweep is where you calibrate. If a verdict is wrong, tell Claude exactly why (“this was SAFE TO MERGE but it adds an unauthenticated route”) and, with Memory MCP, that correction sticks. By the third sweep the bar matches your own.
Step 4 is deliberately gated: Claude drafts comments, you approve, only approved comments post. Nothing reaches GitHub without you reading it.
What success looks like
You ran one sweep. You got: three SAFE TO MERGE you merged immediately, two NEEDS CHANGES with the comment already written in your voice, one NEEDS A HUMAN you opened and handled. Ten minutes, full backlog, and your attention only went where judgment was actually required.
Going further
- On a schedule. Run the sweep every morning as the first thing — the queue never builds past a day.
- Risk-only mode. For a fast pass: “only show me PRs where the verdict is NEEDS CHANGES or NEEDS A HUMAN — hide the safe ones entirely.”
- Pair with the single-PR recipe. Use this queue sweep for triage, then the single-PR review for a deep read on the one PR that scared you.
Related
- GitHub MCP — reads the queue and posts reviews
- Memory MCP — persists your review standard
- PR review with GitHub MCP — the deep single-PR version