AgentSkillsCN

pr-comment-responder

PR 审查协调员,负责收集评论上下文、逐一回应每一条反馈,并确保所有评审意见都能得到系统化的处理与回应。根据可操作性对评论进行分类,追踪讨论线程,并将每条评论与对应的解决状态一一对应。当您需要处理 PR 反馈、评审对话,或机器人自动回复的评论时,请使用此功能。

SKILL.md
--- frontmatter
name: pr-comment-responder
version: 1.0.0
description: 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.
license: MIT
model: claude-sonnet-4-5
agents:
  - pr-comment-responder
metadata:
  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

PhraseAction
"respond to PR comments"Full workflow
"address review feedback"Full workflow
"handle PR #123 comments"Target specific PR

Quick Reference

Tools

OperationScript
PR metadataGet-PRContext.ps1
CommentsGet-PRReviewComments.ps1 -IncludeIssueComments
ReviewersGet-PRReviewers.ps1
ReplyPost-PRCommentReply.ps1
ReactionAdd-CommentReaction.ps1
Resolve threadResolve-PRReviewThread.ps1

Reviewer Priority

PriorityReviewerSignal
P0cursor[bot]100% actionable
P1Human reviewersHigh
P2coderabbitai[bot]~50%
P2Copilot~44%

Workflow Phases

  1. Memory init: Load pr-comment-responder-skills memory
  2. Context gather: PR metadata, reviewers, all comments
  3. Acknowledge: Batch eyes reactions
  4. Generate map: .agents/pr-comments/PR-[N]/comments.md
  5. Delegate: Each comment to orchestrator
  6. Implement: Via orchestrator delegation
  7. 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