/triage-pr-review-comments:triage-pr-review-commentsfrom triage-pr-review-comments
Analyzes GitHub PR review comments, investigates the relevant codebase context, and provides a verdict on whether each comment should be fixed or ignored. Does not make code changes. Use when the user asks to "triage review comments", "investigate PR feedback", or "review the reviews".
Ships in triage-pr-review-comments. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Workflow for investigating GitHub PR review comments and providing a verdict on whether they should be addressed, without actually applying the code fixes.
Determine OWNER, REPO, and PR_NUMBER from context. If not obvious:
git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##'
gh pr list
Use the gh api graphql command to fetch unresolved review threads:
gh api graphql -F owner='<OWNER>' -F name='<REPO>' -F number=<PR NUMBER> -f query='query($name: String!, $owner: String!, $number: Int!) {
repository(owner: $owner, name: $name) { pullRequest(number: $number) {
reviewThreads(last: 100) { nodes { id isResolved path comments(first: 1) {
nodes { body line } } } } } } }' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | "ThreadID: \(.id)\nFile: \(.path)\nComment: \(.comments.nodes[0].body)\n---"'
For each comment, you must read the corresponding file(s) mentioned.
Based on your investigation, assign one of the following verdicts to each thread:
Present your findings to the user in a clear Markdown report format. Do not make any code changes.
Use the following format for your response:
## Triage Report for PR #<NUMBER>
### 1. File: `path/to/file.ex`
**Comment:** "<Summary of the reviewer's comment>"
**Investigation:** <Briefly explain what you found when you looked at the code. e.g., "The reviewer is correct, the function currently returns nil instead of an empty list...">
**Verdict:** `[MUST FIX]` | `[OPTIONAL/NIT]` | `[REJECT/WONTFIX]`
**Reasoning:** <Why you gave this verdict. e.g., "This causes a crash down the line, so it must be addressed." or "This is out of scope and should be a separate PR.">
---
Wait for the user's instructions after presenting the report. They will usually follow up by asking you to run address-pr-review-comments or explicitly telling you to fix the ones marked as [MUST FIX].
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dvcrn/skills --plugin triage-pr-review-comments