ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 samix73

pr-review-guide

関連するハンクごとに diff をまとめ、レビュー用のメモをペインに表示する、ガイド付き PR レビュー用の Claude Code プラグインです。gh CLI を使った GitHub PR のレビューと、ベースブランチに対するローカル変更のレビューに対応します。

samix73@samix73

samix73/claude-plugins/tree/main/pr-review-guide

翻訳済み

この mod について

samix-plugins

Claude Code プラグインのマーケットプレイスです。

インストール

claude plugin marketplace add samix73/claude-plugins
claude plugin install pr-review-guide@samix-plugins

/reload-plugins を実行するか、新しいセッションを開始して読み込みます。

プラグイン

pr-review-guide

ガイド付き PR レビューです。diff を関連するハンクに分け、それぞれをどうレビューするかのメモを追加します。ガイドは Claude Code のペインで開きます。

使い方:

/guided-pr-review [number|url]
/guided-pr-review local [base]
  • [number|url]:GitHub PR をレビューします。gh CLI が必要です。引数なしの場合は現在のブランチの PR を使います。
  • local [base]:ローカルの変更を base と比較します。diff には追跡対象ファイルの staged / unstaged 変更と、ブランチ上のコミットが含まれます。untracked ファイルは含まれません。base を指定しない場合、プラグインは origin/HEAD、origin/main、origin/master、main、master の順に試します。

Esc を押してもペインは開いたままです。Close を選ぶと閉じます。

ガイドは一時ファイル(システムの一時ディレクトリにある pr-review-guide/)に、現在位置とレビュー済みの手順とともに保存されます。同じ PR でコマンドをもう一度実行すると、保存済みのガイドを読み込みます。PR が変わった場合は Sync を選んで新しいガイドを作成します。

更新

claude plugin marketplace update samix-plugins

その後 /reload-plugins を実行します。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add samix73/claude-plugins
claude plugin install pr-review-guide
原文 / README

samix-plugins

A Claude Code plugin marketplace.

Install

claude plugin marketplace add samix73/claude-plugins
claude plugin install pr-review-guide@samix-plugins

Run /reload-plugins or start a new session to load it.

Plugins

pr-review-guide

Guided PR review. It groups a diff into related hunks and adds notes on how to review each one. The guide opens in a pane in Claude Code.

Usage:

/guided-pr-review [number|url]
/guided-pr-review local [base]
  • [number|url]: review a GitHub PR. This needs the gh CLI. Without an argument, it uses the PR of the current branch.
  • local [base]: review your local changes against base. The diff includes staged and unstaged changes to tracked files and the commits on your branch. Untracked files are not included. If you give no base, the plugin tries origin/HEAD, origin/main, origin/master, main, then master.

The pane stays open when you press Esc; choose Close to close it.

The guide is saved in a temp file (pr-review-guide/ in your system temp directory), together with your position and reviewed steps. Running the command again for the same PR loads the saved guide. If the PR changed, choose Sync to build a new guide.

Update

claude plugin marketplace update samix-plugins

Then run /reload-plugins.

関連作品