Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Review Pr

ASecurity

PR確認・PRレビューの依頼で、PRまたはremote branchの差分を取得しshared reviewerへ渡す。PR番号・URL・branchを扱い、ローカルの未コミット差分・ファイル指定はreviewerを使う。ユーザーが `/review-pr` と入力したら必ず使う。

8 stars
0 votes
0 copies
0 views
Added 9/23/2026
businesscode-review

Security Analysis

A100/100

Scanned 9/23/2026

$npx -y skills add coil398/dotfiles --skill review-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Pr?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Review Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/coil398-review-pr/badge)](https://www.skillsdirectory.com/skills/coil398-review-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: "review-pr"
description: PR確認・PRレビューの依頼で、PRまたはremote branchの差分を取得しshared reviewerへ渡す。PR番号・URL・branchを扱い、ローカルの未コミット差分・ファイル指定はreviewerを使う。ユーザーが `/review-pr` と入力したら必ず使う。
argument-hint: "[PR番号、PR URL、またはremote branch]"
---

# Review PR — コードレビュー

PRまたは指定されたremote branchの差分を取得します。取得を別Taskへ切り出す場合はreaderとして結果を返し、同じ親が`reviewer/SKILL.md`を読み、取得済み入力をその手順へ渡します。`review-pr`は別の`reviewer`親を起動しません。観点の選択・配分・独立性・評価・統合・最終判定は`reviewer/SKILL.md`が担当し、評価基準と結果の意味は親が渡す`code-review-guidance`と`result-contract`を使います。

**対象**: `$ARGUMENTS`(PR番号、PR URL、またはremote branch)。ローカルのstaged・unstaged・untracked差分、ファイル、コミット範囲の指定はこのスキルで扱わず、同じ親が`reviewer/SKILL.md`の手順で扱います。対象指定がない場合は、現在のbranchに対応するPRを`gh pr view`で確認できたときだけそのPRを対象にし、確認できなければ対象を尋ねます。

---

## ステップ 0: 対象repoと保存先の確定

対象repoの実体と取得時点を確認し、PRまたはremote branchのremoteとbase/headを確定する。成果物を保存する場合だけ、親またはruntimeが渡した実在の`RUN_DIR`と`REPORT_PATH`を使用する。特定runtimeのhomeやmemory pathを推測しない。

```text
PROJECT_ROOT = 対象リポジトリの実体
RUN_DIR = 親またはランタイムが明示した場合だけ、その実在する保存先
REPORT_PATH = 親が明示した場合だけ、そのRUN_DIR配下の保存先
```

---

## ステップ 1: 差分の取得

まず `$ARGUMENTS` から対象指定とレビューオプションを分離する。`--reviewers=<roles>` と `--all-reviewers` は値を変更せず`reviewer`へ渡し、残りの対象指定からrepoとrefを確定して差分を取得する:

- **PR番号が指定された場合**: 対象repoのbase/headを確認し、`gh pr diff <番号>` で差分を取得する
- **PR URLが指定された場合**: URLからrepoと番号を確定し、PR番号と同じ手順で取得する
- **remote branchが指定された場合**: remote branchとbaseのrefを確認し、明示したbase/headで差分を取得する
- **ローカル差分・ファイル・コミット範囲が指定された場合**: 差分を取得せず、同じ親が`reviewer/SKILL.md`の手順で対象を扱う

PRの変更をレビューする場合、PRのbase/headに対する差分へ現在のローカル変更を混ぜない。作業ツリーに混在があれば対象を分けて親へ示す。repo、base、headを確定できない、または取得不能な場合は変更なしやNOT_APPLICABLEにせず、未確認として返す。

取得した差分は、複数担当が同じ内容を参照する必要があり、かつ親が実在する保存先を選んだ場合だけ保存します。保存しない場合は、親が差分を直接渡します。変更ファイル一覧は実際の差分から取得します。

---

## ステップ 2: reviewerへの引き渡し

同じ親が`reviewer/SKILL.md`を読み、取得した差分とともに次の入力をその手順へそのまま渡す:

- repo、対象版、PRまたはremote branchのbase/head、取得時点、変更ファイル一覧。
- PRの説明・要件・受入条件、ユーザーが指定したレビューオプション、対象外にしたローカル変更。
- 実在する`reviewer/SKILL.md`、`code-review-guidance/SKILL.md`、result-contractの絶対pathと、必要な参照元path/URL。
- 変更禁止範囲、追加取得や権限が必要な事項、保存が許可されている場合の実在する保存先。

`review-pr`自身は観点一覧、未知roleの処理、独立性や担当数、評価結果の判定を複製しない。PR固有の差分取得に失敗した場合は変更なしや`NOT_APPLICABLE`にせず、失敗内容と未確認範囲を同じ親へ返す。取得をreaderへ切り出した場合、readerは取得結果だけを返し、別のreviewer親や後続工程を起動しない。親は取得結果と`reviewer`の結果を欠落なく扱い、結果の`COVERAGE`/`VERDICT`や未確認範囲を書き換えない。親が明示した実在`REPORT_PATH`への保存は既存の保存方針に従って親が行い、取得担当はレビュー対象、記憶、外部状態を変更せず、commit・push・外部投稿を行わない。

Attribution

coil398coil398
View sourceSee grades on GitHubMore from coil398 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Email Composer

Draft professional emails for various contexts including business, technical, and customer communication. Use when the user needs help writing emails or composing professional messages.

304952 votes

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes
View all in business →