triage-review
Triage Review Comments
Consume the review comments already on a PR — Copilot and human reviewers — and sort them into what's worth fixing and what isn't. This is judgment, not a fresh review: each comment is verified against the current code before a verdict.
Read-only. Never reply to threads, resolve conversations, or post anything. The output is a decision aid for the user.
Distinct from siblings: /code-review and /review generate new findings; this skill evaluates existing reviewer comments.
Workflow
-
Fetch with
gh— pull the PR's review comments (default to the current branch's PR). Cover both inline thread comments and top-level review summaries, from Copilot and human reviewers. Keep only unresolved threads — resolution state lives in the GraphQLreviewThreadsfield (isResolved), not RESTpulls/comments, so reach forgh api graphqlwhen you need to filter out resolved/outdated noise. Capture author,path,line, and body for each. No unresolved comments → report that and stop. -
Verify each against current code — read the file at
path:lineand confirm the comment still applies. Reviewers (especially bots) comment on stale diffs and miss surrounding context. Anoutdated: truethread defaults toward Skip unless the concern still holds in the current code. Completion: every comment has been checked against the actual code, not judged from its text alone. -
Classify each comment using the rubric below. Every verdict carries a one-line rationale grounded in what you saw in step 2.
-
Output the triage table — grouped Address-first (see Output). Completion: every fetched comment appears in the table with a verdict and rationale.
-
Offer to fix — ask whether to implement the Address items. On yes, hand them to
/tdd(test-first). Don't auto-implement; don't touch Skip/Optional/Discuss items.