eshin087/claude-code-mods/tree/main/pr-desk
pr-desk
一個 Claude Code 外掛,在單一停駐面板中顯示你開啟的提取要求,包括檢查結果、合併狀態、工作樹資料夾和 Vercel 預覽連結。
關於這個 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.
