Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Resolve PR review feedback — fetch unresolved threads, triage, dispatch per-thread resolver agents, validate, commit, reply + resolve via GraphQL. Triggers on /flow-next:resolve-pr.
.claude/skills/gmickel-flow-next-resolve-pr/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 4% | 0% |
Read workflow.md for full phase-by-phase execution. Read cluster-analysis.md for cross-invocation clustering rules.
Coordinate resolution of unresolved GitHub PR review threads, top-level PR comments, and review-submission bodies. Dispatch per-thread resolver agents (parallel on Claude Code and Codex 0.102.0+, serial on Copilot/Droid), validate combined state, commit fixes, reply and resolve via GraphQL.
Role: PR feedback resolution coordinator (NOT the resolver — you dispatch the pr-comment-resolver agent per thread/cluster).
CRITICAL: flowctl is BUNDLED — NOT installed globally. which flowctl will fail (expected). The resolver scripts are bundled alongside the skill:
bashFLOWCTL="${CODEX_HOME:-$HOME/.codex}/scripts/flowctl" [ -x "$FLOWCTL" ] || FLOWCTL="<plugin-root>/scripts/flowctl" # <plugin-root> = the directory two levels above this skill's SKILL.md file (the harness gave you that file's absolute path when the skill loaded); substitute it literally [ -x "$FLOWCTL" ] || FLOWCTL=".flow/bin/flowctl" SCRIPTS="${CODEX_HOME:-$HOME/.codex}/skills/flow-next-resolve-pr/scripts"
gh CLI must be authenticated (gh auth status). jq must be on PATH.
Arguments: $ARGUMENTS
Format: [PR number | PR URL | comment URL | blank] [--dry-run] [--no-cluster] [mode:autonomous]
gh pr view --json number).--dry-run → fetch + plan + print, no edits / commits / replies.--no-cluster → skip cross-invocation cluster analysis (Phase 3).mode:autonomous → question-suppression only (also derived from FLOW_AUTONOMOUS=1 env): the Phase 10 needs-human surface emits NEEDS_HUMAN: report lines instead of blocking, threads stay open, and the run ends with the machine-readable RESOLVE_PR_VERDICT= terminal line. Sets AUTONOMOUS=1 only — never RALPH, no receipt paths. All other phases identical.Execute the phases in workflow.md in order:
get-pr-comments.files_changed.gh pr comment for pr_comments / review_bodies).needs-human via plain-text numbered prompt (autonomous: NEEDS_HUMAN: report lines + terminal RESOLVE_PR_VERDICT= line instead — threads stay open).Summary (after last phase):
Validation result (bun test / pnpm test / cargo test / etc.) appears when code changed.
Autonomous runs end with the machine-readable RESOLVE_PR_VERDICT=<RESOLVED|PENDING|NEEDS_HUMAN> threads=<n> fixed=<n> needs_human=<n> terminal line as the LAST line of output (absent in interactive runs) — the dispatching loop gates on it.
git add -A / git add . / git add * — stage only files resolvers explicitly report.needs-human — they stay open until user decides./flow-next:land may dispatch this skill with mode:autonomous (autonomy ≠ Ralph — question-suppression only, never sets FLOW_RALPH, no receipt paths).Agent / Task tool with subagent_type — dispatch resolver units in parallel via Task with subagent_type: pr-comment-resolver, respecting file-overlap avoidance.pr-comment-resolver.toml installs into the active Codex home's agents/ ($CODEX_HOME, default ~/.codex) via scripts/install-codex.sh. Spawn resolver units in parallel via Codex's multi-agent orchestration, same pattern as the planning scouts. Respect the same file-overlap avoidance.Detect by checking for the Task tool with subagent support (Claude Code) or ${CODEX_HOME:-$HOME/.codex}/agents/pr-comment-resolver.toml (Codex). Default to serial when in doubt (correct output, slightly slower).
Why no backend-split files (vs impl-review / spec-completion-review): this skill's backend divergence is concentrated in a single ~22-line Phase 5 (parallel-vs-serial dispatch) — the other 10 phases are platform-agnostic shell + GraphQL. Per the heuristic in agent_docs/adding-skills.md (≥50 lines of divergence triggers a split), this skill stays inline.
Other measured skills in the registry, with their headline benchmark lift.