turgid-tributary/claude-plugins/tree/main/plugins/review-queue
review-queue
レビュー待ちのオープン PR 数をステータス行に表示し、gh で GitHub の review-requested:@me を検索して定期更新する Claude Code mod です。
この mod について
これは Claude Code の mod(function-hook プラグイン)で、レビューを待っているオープン PR の数をステータス行に "You're a slacker, McFly: 9 reviews" と表示します。gh api search/issues を使って is:pr is:open review-requested:@me archived:false を検索し、total_count を読み取ります。session.start で取得し、その後は $.clock.every を通じて5分ごとに更新します。gh が失敗した場合(未ログインまたはオフライン)、ステータス行には reviews: ? と表示します。gh のログイン(gh auth login)が必要です。文言と更新間隔は hooks/register.ts の PREFIX と REFRESH_MS で変更できます。開発時は claude plugin validate --strict、claude plugin test、claude --plugin-dir を使って読み込みます。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add turgid-tributary/claude-plugins claude plugin install review-queue
原文 / README
review-queue
Puts the number of open pull requests waiting on your review in the Claude Code status line:
You're a slacker, McFly: 9 reviews
It counts open PRs where you are a requested reviewer, skipping archived repositories, the same
set as GitHub's review-requested:@me search. The count is fetched when the session starts and
every five minutes after. If gh fails (not logged in, offline), the line reads
You're a slacker, McFly: reviews: ?.
Requirements
gh, logged in (gh auth login)
How it works
This is a mod: a plugin of function hooks (hooks/register.ts) rather than commands or agents.
On session.start it runs gh api search/issues for is:pr is:open review-requested:@me archived:false, reads total_count, and sets the line with $.ui.status. A $.clock.every
timer repeats that every five minutes.
To change the wording, edit PREFIX in hooks/register.ts; to change how often it refreshes,
edit REFRESH_MS.
Developing
claude plugin validate --strict plugins/review-queue
claude plugin test plugins/review-queue
claude --plugin-dir plugins/review-queue # load it from disk; edits hot-reload
Once Claude Code has loaded the mod from disk, .claude-plugin/types/ holds the API typings and
tsc -p plugins/review-queue type-checks it.
