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

pr-desk

オープン中のプルリクエストを 1 つのドックパネルに表示し、チェック、マージ状態、ワークツリーのフォルダー、Vercel プレビューリンクを示す Claude Code プラグイン。

eshin087@eshin087

eshin087/claude-code-mods/tree/main/pr-desk

翻訳済み

この mod について

PR Desk はドックボタン(および /prs コマンド)を追加し、config.json に設定したリポジトリと現在のセッションのリポジトリにあるオープン中のプルリクエストを一覧表示するパネルを切り替えます。各項目には番号、タイトル(ドラフトは表示付き)、チェック状態、マージ可能性、ブランチ、ワークツリーフォルダー、最終更新が表示され、プレビューと PR のリンクも示されます。開いている間は 3 分ごと、バックグラウンドでは 15 分ごとに更新し、リポジトリごとに gh pr list --author @me を実行します。プレビューリンクは Vercel bot のコメントから取得し、なければ推測した Vercel ブランチエイリアスにフォールバックします。モデル呼び出しもデータ保存もなく、GitHub CLI のログインを使います。

インストール

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

claude plugin marketplace add eshin087/claude-code-mods
claude plugin install pr-desk
原文 / README

PR Desk

What it does: your open pull requests in one place, with the Vercel preview link ready to click.

Where you see it: the dock's PRs 2✗ button (count of open PRs; ✗ when one is failing or conflicting) toggles a pane, as does /prs. Each of your open PRs in the repos listed in config.json (and whichever repo the session is in) shows:

  • number and title (marked if draft)
  • checks: ✓ passing / ✗ failing / … running
  • merge state: mergeable / conflicts with base
  • branch, worktree folder (for the current repo), and last update
  • preview and PR links

It refreshes every 3 minutes while open, every 15 minutes in the background (so the badge stays current), or on Refresh.

How it works: runs gh pr list --author @me per repo. The preview link is read from the Vercel bot's PR comment. If none is found, it builds Vercel's branch alias and marks it "(guessed)".

Cost: none. Uses your GitHub CLI login. No model calls.

Data saved: none.

Settings: copy config.example.json to config.json and list your repos (owner/name) and your Vercel team slug (for preview links when the Vercel bot comment isn't found). config.json stays out of git, so private repo names never reach the public repo.

Notes: only PRs authored by you are listed, so outside PRs (like forks) never show up here.

関連作品