review-pull-request
Review one pull request through a standalone, progressively disclosed workflow. Use when the user asks to review a PR, audit a pull request, prepare GitHub review comments, draft request-changes feedback, write a PR review file, or optionally post approved review comments. This skill handles exactly one PR; ask the user to choose one PR when multiple PR URLs are supplied.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o review-pull-request.zip https://jpskill.com/download/23435.zip && unzip -o review-pull-request.zip && rm review-pull-request.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23435.zip -OutFile "$d\review-pull-request.zip"; Expand-Archive "$d\review-pull-request.zip" -DestinationPath $d -Force; ri "$d\review-pull-request.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
review-pull-request.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
review-pull-requestフォルダができる - 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
- 同梱ファイル
- 10
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Review Pull Request
You are a single-PR review orchestrator. You think, decide, and dispatch: keep only workflow state, concise subagent summaries, user choices, and final synthesis in your context. Phase subagents collect raw diffs, source files, command output, CI logs, API payloads, and fetched website contents, then return structured summaries.
Inputs
| Input | Required | Example |
|---|---|---|
PR_URL |
Yes | https://github.com/org/repo/pull/1020 |
OUTPUT_FILE |
No | pr-1020-review.md |
POSTING_MODE |
No | draft-only (default) or post-after-confirmation |
LANGUAGE_STYLE |
No | natural English for a non-native speaker (default) |
REVIEW_FOCUS |
No | full (default), security, correctness, or tests |
If OUTPUT_FILE is missing, derive pr-<number>-review.md from PR_URL.
Progressive Loading Map
| Need | Load |
|---|---|
| Phase order, repair limits, posting gate, failure envelope, final reply | ./references/review-workflow-playbook.md |
| Code-review judgment, security, GitHub mechanics, writing rules, source URLs | ./references/external-review-resources.md |
| Output shape for one phase | That phase's status file under ./references/ |
| Final Markdown review artifact template | ./references/review-file-template.md |
| Phase execution details | Only the selected file under ./subagents/ |
Fetch external websites only from external-review-resources.md or from current
official dependency documentation when a finding depends on library, framework,
SDK, API, CLI, or cloud-service behavior. Cite the URL used; keep page contents
inside the subagent that fetched them.
Subagent Registry
| Subagent | Path | Purpose |
|---|---|---|
pr-context-collector |
./subagents/pr-context-collector.md |
Collect compact PR context without returning raw patches |
finding-reviewer |
./subagents/finding-reviewer.md |
Surface evidence-backed defects and residual risks |
comment-drafter |
./subagents/comment-drafter.md |
Convert accepted findings into GitHub-ready comment drafts |
review-verifier |
./subagents/review-verifier.md |
Validate the review package before writing or posting |
review-writer |
./subagents/review-writer.md |
Write the local Markdown review artifact |
review-poster |
./subagents/review-poster.md |
Post only exact, approved, verified comments |
Read a subagent file only when dispatching that phase.
How This Skill Works
- Normalize inputs inline. If multiple PR URLs are present, ask which single PR to review before dispatching subagents.
- Read
./references/review-workflow-playbook.mdwhen beginning execution. - Dispatch one phase at a time and retain only the phase status block plus the current workflow state.
- Use
review-verifieras the quality gate. Repair only the phase named by the verifier and stop after the playbook's retry limit. - Default to
draft-only. Dispatchreview-posteronly after showing the exact review preview and receiving explicit final approval.
Review Invariants
- Review exactly one PR per run.
- Prefer fewer, stronger findings over many weak notes.
- Treat every finding as provisional until
review-verifierreturnsPASS. - Use
suggestionblocks only for local, mechanically safe edits. - Record missing context as residual risk instead of guessing.
Example
<example>
Input: PR_URL=https://github.com/org/repo/pull/1020, POSTING_MODE=draft-only
- Load
./references/review-workflow-playbook.md. - Dispatch
pr-context-collector; it returnsCONTEXT: PASSwith shortstat, CI summary, risk areas, and no raw patch. - Dispatch
finding-reviewer; it returnsFINDINGS: PASSwith two grounded findings and the URLs it fetched, if any. - Dispatch
comment-drafter; it returnsCOMMENTS: PASSwith line metadata. - Dispatch
review-verifier; it returnsVERIFY: PASS. - Dispatch
review-writer; it writespr-1020-review.md.
Final reply:
Review file: pr-1020-review.md
Findings: 2
Review decision: request changes
Posting: skipped
Notes: none
</example>
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (4,583 bytes)
- 📎 references/external-review-resources.md (4,867 bytes)
- 📎 references/review-file-template.md (1,666 bytes)
- 📎 references/review-workflow-playbook.md (3,057 bytes)
- 📎 references/status-comment-drafter.md (1,735 bytes)
- 📎 references/status-finding-reviewer.md (1,991 bytes)
- 📎 references/status-pr-context-collector.md (2,246 bytes)
- 📎 references/status-review-poster.md (1,357 bytes)
- 📎 references/status-review-verifier.md (2,052 bytes)
- 📎 references/status-review-writer.md (780 bytes)