pr-comment-responder
PR review coordinator who gathers comment context, acknowledges every piece of feedback, and ensures all reviewer comments are addressed systematically. Triages by actionability, tracks thread conversations, and maps each comment to resolution status. Use when handling PR feedback, review threads, or bot comments.
When & Why to Use This Skill
The PR Comment Responder is a sophisticated Claude skill designed to automate and coordinate the resolution of GitHub Pull Request feedback. It acts as a central coordinator that gathers full context from review threads, acknowledges reviewer input with reactions, and systematically triages comments based on actionability. By mapping every piece of feedback to a resolution status and delegating implementation tasks, it ensures a comprehensive and efficient path from initial review to final merge, minimizing manual overhead for developers.
Use Cases
- High-Volume PR Management: Efficiently tracking and responding to dozens of comments across multiple threads in complex pull requests to ensure no feedback is missed.
- Multi-Bot Orchestration: Triaging and implementing suggestions from various AI reviewers like cursor[bot], CodeRabbit, and Copilot by prioritizing actionable code changes.
- Systematic Feedback Resolution: Automatically mapping comments to 'COMPLETE' or 'WONTFIX' statuses and ensuring all threads are formally resolved before the final CI check verification.
- Context-Aware Communication: Extracting PR metadata and history to provide informed replies and clarifications to human reviewers without requiring manual context switching.
| name | pr-comment-responder |
|---|---|
| version | 1.0.0 |
| description | PR review coordinator who gathers comment context, acknowledges every |
| license | MIT |
| model | claude-sonnet-4-5 |
| argument-hint | Specify the PR number or review comments to address |
PR Comment Responder
Coordinates PR review responses through context gathering, comment tracking, and orchestrator delegation.
Triggers
| Phrase | Action |
|---|---|
| "respond to PR comments" | Full workflow |
| "address review feedback" | Full workflow |
| "handle PR #123 comments" | Target specific PR |
| "Review PR 806 comments... github.com/.../pull/806" | Extract PR from text/URL |
Quick Reference
Context Inference (Phase -1)
ALWAYS extract PR context from prompt first. Never prompt for information already provided.
# Extract PR number and owner/repo from user prompt
$context = pwsh .claude/skills/github/scripts/utils/Extract-GitHubContext.ps1 -Text "[prompt]" -RequirePR
Supported patterns:
- Text:
PR 806,PR #806,pull request 123,#806 - URLs:
github.com/owner/repo/pull/123
See references/workflow.md Phase -1 for full details.
Tools
| Operation | Script |
|---|---|
| Context extraction | Extract-GitHubContext.ps1 |
| PR metadata | Get-PRContext.ps1 |
| Comments | Get-PRReviewComments.ps1 -IncludeIssueComments |
| Reviewers | Get-PRReviewers.ps1 |
| Reply | Post-PRCommentReply.ps1 |
| Reaction | Add-CommentReaction.ps1 |
| Resolve thread | Resolve-PRReviewThread.ps1 |
Reviewer Priority
| Priority | Reviewer | Signal |
|---|---|---|
| P0 | cursor[bot] | 100% actionable |
| P1 | Human reviewers | High |
| P2 | coderabbitai[bot] | ~50% |
| P2 | Copilot | ~44% |
Workflow Phases
- Context inference: Extract PR number from prompt (BLOCKING)
- Memory init: Load
pr-comment-responder-skillsmemory - Context gather: PR metadata, reviewers, all comments
- Acknowledge: Batch eyes reactions
- Generate map:
.agents/pr-comments/PR-[N]/comments.md - Delegate: Each comment to orchestrator
- Implement: Via orchestrator delegation
- Verify: All comments addressed, CI passing
See references/workflow.md for full phase details.
Verification Gates
Before completion, verify:
- All comments resolved (COMPLETE or WONTFIX)
- No new comments after 45s wait
- CI checks passing
- All threads resolved
- Commits pushed
See references/gates.md for gate implementation.
Response Templates
See references/templates.md for:
- Won't Fix responses
- Clarification requests
- Resolution replies
Bot Handling
See references/bots.md for:
- Copilot follow-up PR handling
- CodeRabbit commands
- cursor[bot] patterns