ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by turgid-tributary

review-queue

A Claude Code mod that shows the number of open PRs waiting for your review in the status line, querying GitHub through gh with review-requested:@me and refreshing on a schedule.

turgid-tributary@turgid-tributary

turgid-tributary/claude-plugins/tree/main/plugins/review-queue

Translated

About this mod

This Claude Code mod(a function-hook plugin)shows the number of open PRs waiting for your review in the status line as "You're a slacker, McFly: 9 reviews". It uses gh api search/issues to query is:pr is:open review-requested:@me archived:false and reads total_count; it fetches on session.start and then updates every five minutes through $.clock.every. If gh fails(not logged in or offline), the status line shows reviews: ?. It requires gh to be logged in(gh auth login). You can edit PREFIX and REFRESH_MS in hooks/register.ts to change the wording and refresh interval; during development, use claude plugin validate --strict, claude plugin test, and claude --plugin-dir to load it.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add turgid-tributary/claude-plugins
claude plugin install review-queue
Original text / 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.

Similar projects