resolve-pr — Claude Code command: resolve PR review threads
A thin wrapper that hands your PR's open review threads to the flow-next-resolve-pr skill, which fixes, replies and resolves them over GraphQL.
MIT ★ 730 updated 2026-10-29
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-nextWhat resolve-pr does
resolve-pr is an entry point, not the worker. It passes its arguments to the flow-next-resolve-pr skill, and that skill pulls the open review threads, sorts them, sends resolver agents after each one, validates the result, commits, then posts a reply and marks the thread resolved over GraphQL. If the skill is missing, the command has nothing to call.
Leave the argument empty and it works on the PR for your current branch. A PR number or a link to a single comment both work. --dry-run walks through the plan without touching code or posting replies, and --no-cluster stops it from grouping threads together.
You get it with the flow-next plugin from the marketplace, or as a single file at .claude/commands/resolve-pr.md. Codex reads the same file from ~/.codex/prompts/resolve-pr.md.
What it helps with
- clear a backlog of open review threads in a PR
- reply to each comment and close the thread
- preview the planned fixes without changing code
- handle one specific comment from its link
- group scattered remarks before fixing them
Example prompts for the agent
- Work through the review on PR 128:
/resolve-pr 128 - Show me the plan first:
/resolve-pr --dry-run - Handle this one thread:
/resolve-pr <comment URL>
How to install resolve-pr
1Plugin marketplace
/plugin marketplace add gmickel/flow-next/plugin install flow-next@flow-next2Manually: put the files in place
.claude/commands/resolve-pr.mdCall it with /resolve-pr. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/resolve-pr.mdCall it with /prompts:resolve-pr. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/resolve-pr.prompt.mdManually: put the files in place
.gemini/commands/resolve-pr.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about resolve-pr
How do I install resolve-pr in Claude Code?
Add the marketplace with /plugin marketplace add gmickel/flow-next, then install the plugin: /plugin install flow-next@flow-next.
What does resolve-pr do?
It collects the unresolved review threads on a PR and hands them to the flow-next-resolve-pr skill, which edits the code, commits, replies and resolves each thread over GraphQL.
What is --dry-run for?
It shows what the command intends to do while leaving the code untouched and posting no replies.
Source text
resolve-pr.md · MIT
--- name: resolve-pr description: Resolve PR review feedback — fetch unresolved threads, triage, dispatch resolver agents, reply + resolve via GraphQL. argument-hint: "[PR number | comment URL | blank for current branch's PR] [--dry-run] [--no-cluster]" disable-model-invocation: true --- # IMPORTANT: This command MUST invoke the skill `flow-next-resolve-pr` The ONLY purpose of this command is to call the `flow-next-resolve-pr` skill. You MUST use that skill now. **Arguments:** $ARGUMENTS Pass the arguments to the skill. The skill handles fetch, triage, dispatch, validate, commit, reply, and resolve.
© Gordon Mickel · MIT · gmickel/flow-next