review-triagelisted
Install: claude install-skill gitgitWi/council-flow
# flow:review-triage — Triage and address PR review feedback
The closing-loop skill: take the comments a PR has accumulated, decide which are valid and how urgent, plan the fixes, and (after the user signs off) apply them. It is the counterpart to `flow:code-review-brief` (which *prepares* a review). This one *processes the feedback that came back*.
> **Recommend-only.** No skill auto-invokes this — the user starts it, usually in its own session after reviewers have left feedback. Keeping it independent means the triage sees the full, settled set of comments rather than a half-finished review.
## Inputs
1. **PR number** — auto-detect from the current branch (`gh pr view --json number --jq .number`); ask if there is none.
2. **`.flow/config.yaml`** — read defaults (assignee, etc.) if fixes will lead to a PR update.
## Preconditions
- `gh` authenticated against the PR's repo; confirm the active account.
- PR exists. If applying fixes, you should be on (or able to check out) the PR's head branch — confirm before editing.
## Step 1 — Gather ALL feedback (every type)
GitHub scatters PR feedback across several endpoints. Collect all of them; missing one drops real comments.
```bash
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner) # owner/name
PR=<number>
mkdir -p "$OUT_DIR"
# a) Review summaries + states (APPROVED / CHANGES_REQUESTED / COMMENTED)
gh pr view "$PR" --json reviews > "$OUT_DIR/_reviews.json"
# b) Inline review comments (anchored to a file:line,