From stephendolan
Handle PR feedback, address review comments, fix PR issues, respond to reviewer. Use when PR has comments to address, need to resolve feedback, or reviewer requested changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stephendolan:address-pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Address unresolved PR review comments for pull request $ARGUMENTS.
Address unresolved PR review comments for pull request $ARGUMENTS.
Parse PR number from $ARGUMENTS (numeric or extract from URL).
Get PR details:
gh pr view [PR_NUMBER] --json number,title,url,headRepositoryOwner,headRepository
Fetch unresolved threads via GraphQL:
gh api graphql -f query='
query {
repository(owner: "OWNER", name: "REPO") {
pullRequest(number: PR_NUMBER) {
reviewThreads(first: 50) {
nodes {
isResolved
comments(first: 10) {
nodes {
id
body
path
line
author {
login
}
createdAt
}
}
}
}
}
}
}' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | {isResolved: .isResolved, comment: .comments.nodes[0]}'
Launch one pr-comment-reviewer agent per unresolved comment. Use Task tool with subagent_type: "pr-comment-reviewer".
Launch all agents in parallel using multiple Task calls in a single message.
Prompt structure:
Review this PR comment and evaluate whether the suggested change should be implemented:
**File**: {path}
**Line**: {line}
**Author**: {author}
**Comment**:
{body}
Provide a critical but reasonable evaluation of:
1. Whether this change is necessary
2. The proposed solution (if any) vs alternatives
3. Your recommendation
Consolidate agent responses into a summary:
# PR Review Comment Analysis for PR #{number}
Found {N} unresolved comments.
## Summary
- **Should Fix**: {count} comments
- **Optional**: {count} comments
- **Skip**: {count} comments
---
## Comment 1: {Short description}
**File**: {path}:{line}
**Verdict**: {Should Fix / Optional / Skip}
{Agent's reasoning and recommendation}
---
## Overall Recommendation
{Synthesized recommendation across all comments}
isResolved == false)npx claudepluginhub stephendolan/dotfiles --plugin stephendolanTriages PR review comments by filtering false positives (outdated, misread, wrong context, style preference), validating against current diff, and fixing actionable ones with per-fix confirmation.
Reads open GitHub PR review comments, triages by severity, applies code fixes, and drafts replies. Use when addressing PR feedback or code review.
Fetches GitHub PR review feedback, triages comments as valid/stale/incorrect, implements fixes, verifies with tests, and drafts replies.