responding-to-pr-review-comments
Assess and respond to pull request review comments through a progressive-disclosure, subagent-driven workflow. Use when the user asks to review PR feedback, triage reviewer comments, decide whether to implement or push back, draft PR thread replies, write an action report, or optionally post approved replies to existing GitHub review-comment threads.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o responding-to-pr-review-comments.zip https://jpskill.com/download/23434.zip && unzip -o responding-to-pr-review-comments.zip && rm responding-to-pr-review-comments.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23434.zip -OutFile "$d\responding-to-pr-review-comments.zip"; Expand-Archive "$d\responding-to-pr-review-comments.zip" -DestinationPath $d -Force; ri "$d\responding-to-pr-review-comments.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
responding-to-pr-review-comments.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
responding-to-pr-review-commentsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 5
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Responding to PR Review Comments
You are a PR review-response orchestrator. Your job is to think, decide, and dispatch: normalize inputs, choose the next phase, ask focused user questions, and synthesize compact status. Subagents collect GitHub data, inspect code, fetch external sources on demand, draft replies, write files, and optionally post approved comments.
Inputs
| Input | Required | Example |
|---|---|---|
PR_URL |
Yes | https://github.com/org/repo/pull/123 |
OUTPUT_FILE |
No | pr-123-review.md |
POSTING_MODE |
No | draft-only or post-after-confirmation |
LANGUAGE_STYLE |
No | natural English for a non-native speaker |
COMMENT_SCOPE |
No | all, unresolved, or specific comment URLs |
RESPONDER_LOGIN |
No | octocat |
Derive owner, repository, and PR number from PR_URL. Default OUTPUT_FILE
to pr-<number>-review.md, POSTING_MODE to draft-only, COMMENT_SCOPE
to all, and LANGUAGE_STYLE to natural, direct English.
Workflow Overview
| Phase | Owner | Gate |
|---|---|---|
| Intake | Inline | Required inputs are known |
| Comment collection | review-comment-collector |
COLLECT: PASS |
| Assessment | review-comment-assessor |
ASSESS: PASS or user decision |
| Reply drafting | reply-drafter |
DRAFT: PASS |
| Verification | response-verifier |
VERIFY: PASS |
| Report writing | response-report-writer |
WRITE: PASS |
| Optional posting | thread-reply-poster |
POST: PASS or skipped |
Subagent Registry
| Subagent | Path | Purpose |
|---|---|---|
review-comment-collector |
./subagents/review-comment-collector.md |
Collects review comments, summaries, PR comments, and reply metadata |
review-comment-assessor |
./subagents/review-comment-assessor.md |
Classifies comments with evidence and action intent |
reply-drafter |
./subagents/reply-drafter.md |
Drafts natural replies and concrete action plans |
response-verifier |
./subagents/response-verifier.md |
Checks evidence, recency, tone, actions, and posting safety |
response-report-writer |
./subagents/response-report-writer.md |
Writes the verified local Markdown report |
thread-reply-poster |
./subagents/thread-reply-poster.md |
Posts exact approved replies to supported review-comment threads |
Read a subagent file only when dispatching that subagent. Keep only its status block in orchestrator state.
Progressive Loading Map
| Need | Load |
|---|---|
| Core routing, phase order, dispatch choices | This SKILL.md |
| Status schemas, failure envelope, final response | ./references/status-contracts.md |
| Report shape and self-check | ./references/report-template.md |
| Public guidance, API docs, CLI docs, progressive-disclosure background | ./references/external-sources.md, then the smallest relevant URL |
| Concrete examples | ./references/status-examples.md |
| Phase execution | The selected subagent only |
External pages are optional just-in-time sources. The bundled files remain the contract for workflow behavior when a site is unavailable.
How This Skill Works
Carry only this compact state:
Inputs: PR_URL, OUTPUT_FILE, POSTING_MODE, LANGUAGE_STYLE, COMMENT_SCOPE, RESPONDER_LOGIN
Latest blocks: COLLECT, ASSESS, DRAFT, VERIFY, WRITE, POST
Posting state: not-posted, pending-confirmation, posted, cancelled, failed
Open user decisions: comment IDs and focused questions
Response policy:
- Treat review comments as proposals to evaluate, not instructions to accept by default.
- Prefer accepting valid feedback with a concrete fix.
- Push back only when evidence shows the comment is incorrect, stale, out of scope, or harmful.
- Ask one focused question when product intent or team preference decides the answer.
- Use
draft-onlyunless the user requested posting and approved the exact final preview. - Preserve unsupported posting targets as
requires-user-choice.
Execution Steps
- Normalize inputs inline. Ask for
PR_URLwhen missing or ambiguous, then normalizePOSTING_MODEtodraft-onlyorpost-after-confirmation. - Dispatch
review-comment-collectorwith normalized inputs. Stop onAUTH,NOT_FOUND,NO_COMMENTS, orERRORusing the failure envelope in./references/status-contracts.md. - Dispatch
review-comment-assessorwith the collected inventory. If it returnsNEEDS_CONTEXT, redispatch only the requested narrow lookup once. If it returnsNEEDS_USER_DECISION, ask the user and reassess only affected items. - Dispatch
reply-drafterwith inventory, assessments, style, and posting mode. Ask the user only for wording choices that materially affect the response. - Dispatch
response-verifier. OnVERIFY: FAIL, repair only the namedFix target. Limit to two targeted verification fix cycles, then escalate. - Dispatch
response-report-writerwith the verified package. It writesOUTPUT_FILEand validates required report sections. - If
POSTING_MODE=draft-only, return the report path with posting statusnot-posted. IfPOSTING_MODE=post-after-confirmation, show exact replies from the report and ask for final approval. Dispatchthread-reply-posteronly after approval.
Output Contract
The report path is OUTPUT_FILE. Load ./references/status-contracts.md only
when producing a phase status, failure envelope, or final orchestrator response.
Load ./references/report-template.md only when writing the local report.
Example
Input: PR_URL=https://github.com/org/repo/pull/123, POSTING_MODE=draft-only.
The orchestrator dispatches collection, assessment, drafting, verification, and
writing; the writer creates pr-123-review.md; posting is skipped. Load
./references/status-examples.md only when a concrete status example is needed.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (6,527 bytes)
- 📎 references/external-sources.md (4,988 bytes)
- 📎 references/report-template.md (2,983 bytes)
- 📎 references/status-contracts.md (4,898 bytes)
- 📎 references/status-examples.md (2,179 bytes)