flow-next-audit
Audit `.flow/memory/` entries against the current codebase and decide Keep / Update / Consolidate / Replace / Delete / Harden per entry. Triggers on…
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.
$ npx -y skills add gmickel/flow-next --skill flow-next-resolve-pr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/flow-next-resolve-prContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: flow-next-resolve-pr description: 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. user-invocable: false
**Read [workflow.md](workflow.md) for full phase-by-phase execution. Read [cluster-analysis.md](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:
FLOWCTL="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/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="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/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]`
Execute the phases in [workflow.md](workflow.md) in order:
0. Parse arguments → detect mode (full / targeted), strip flags. 1. Detect PR + fetch unresolved feedback via `get-pr-comments`. 2. Triage → separate new vs pending vs dropped (non-actionable). 3. Cluster analysis (gated — see [cluster-analysis.md](cluster-analysis.md)). 4. Plan task list (clusters + individual items). 5. Dispatch resolver agents — parallel on Claude Code + Codex (0.102.0+) with file-overlap avoidance, serial on Copilot/Droid. 6. Validate combined state — run project's test/lint command once if any `files_changed`. 7. Commit + push (stage only resolver-reported files). 8. Reply + resolve per verdict (GraphQL scripts for threads, `gh pr comment` for pr_comments / review_bodies). 9. Verify + loop — bounded at 2 fix-verify cycles. 10. Summary output grouped by verdict; surface `needs-human` via blocking question (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.
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 bac
Repeatable agentic engineering. The workflow layer that turns AI coding agents into a disciplined factory: durable specs, fresh-context workers, adversarial cross-model reviews, receipts. Everything in your repo, zero dependencies. Claude Code · Codex · Cursor · Droid.
Audit `.flow/memory/` entries against the current codebase and decide Keep / Update / Consolidate / Replace / Delete / Harden per entry. Triggers on…
Synthesize the current conversation context into a flow-next spec at `.flow/specs/<spec-id>.md` via `flowctl spec create + spec set-plan` — agent-native,…
Decision-map discovery for one oversized/unclear idea before capture. Triggers on /flow-next:chart with an unshaped idea, chart id, decision pin, --status, or…
Show spec dependency graph and execution order. Use when asking 'what's blocking what', 'execution order', 'dependency graph', 'what order should specs run',…
Drive any UI surface like a real user - a web app, a Chromium-backed desktop app (Electron / WebView2, reached over CDP), or a genuinely native app (macOS…
Export RepoPrompt context to a markdown file for review with an external LLM (ChatGPT, Claude web, etc.). Use when you want Carmack-level review but prefer an…