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.
