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 |
Quick Reference
Tools
| Operation | Script |
|---|---|
| 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
- •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