Designibl/claude-pr-bar
claude-pr-bar
Claude Code 版 PR Bar 外掛,在側邊欄顯示 GitHub pull request——open PR、review 要求、可合併和需要修正的狀態——並提供一鍵「Review with Claude」/「Fix with Claude」提示,以及 ⟦/pr-bar 清單窗格指令。
關於這個 mod
Claude Code 側邊欄中的 GitHub pull request。這是 PR Bar(macOS 選單列 App)的 Claude Code 外掛版本,只有 Claude 作為 agent。
它會顯示:
- 狀態列:`PRs 4 · 👀 2(你建立的 open PR、等待你 review 的 PR)
- 提示列上方的狀態帶:`PRs: 4 open · 👀 2 to review · 1 ready to merge · 2 need fixes,附有 Open list 和 Refresh 按鈕
- 完整清單窗格(`/pr-bar 或狀態帶的 Open list 按鈕),包含可折疊區段:Awaiting your review(指派給你的要求,再按 team 分組)、Ready to merge、Ready for review、Awaiting fixes、In draft
- 每個 PR:檔案、+/- 行數、最新 commit 的年齡(amber > 7d,red > 14d)、CI、合併狀態、修正原因、Linear/GitHub issue 和 preview 連結
- Review with Claude / Fix with Claude / Self-review 按鈕會將提示送到目前工作階段
- 複製 Markdown、Slack 或純文字摘要(all / needs my review / awaiting review)
- 輪詢間隔(1–60 分鐘),以及 team 要求是否計入 👀
指令:
/pr-bar 開啟窗格。另外還有:refresh、interval <1|5|15|30|60>、teams on|off、`copy [md|slack|text] [all|review|mine]。
需求:
gh 已登入(gh auth login;team 群組需要 `read:org 權限範圍)。
安裝:
git clone https://github.com/Designibl/claude-pr-bar.git
claude --plugin-dir ./claude-pr-bar
設定和上次輪詢結果儲存在外掛的 `$.store 中,因此會跨工作階段保留。
授權條款:MIT
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add Designibl/claude-pr-bar claude plugin install pr-bar
原文 / README
claude-pr-bar
Your GitHub pull requests in the Claude Code sidebar. A port of PR Bar (the macOS menu bar app) as a Claude Code mod, with Claude as the only agent.
What it shows
- Status line:
PRs 4 · 👀 2(open PRs you authored, PRs awaiting your review) - Band above the prompt:
PRs: 4 open · 👀 2 to review · 1 ready to merge · 2 need fixes, with Open list and Refresh buttons - Full list pane (
/pr-baror the band's Open list button) with collapsible sections: Awaiting your review (requested of you, then per team), Ready to merge, Ready for review, Awaiting fixes, In draft - Per PR: files, +/- lines, age of latest commit (amber > 7d, red > 14d), CI, merge status, fix reasons, Linear/GitHub issue and preview links
- Review with Claude / Fix with Claude / Self-review buttons submit a prompt into the current session
- Copy a Markdown, Slack or plain-text summary (all / needs my review / awaiting review)
- Poll interval (1–60 min) and whether team requests count toward 👀
Commands
/pr-bar opens the pane. Also: refresh, interval <1|5|15|30|60>, teams on|off, copy [md|slack|text] [all|review|mine].
Requirements
gh logged in (gh auth login; team groups need the read:org scope).
Install
git clone https://github.com/Designibl/claude-pr-bar.git
claude --plugin-dir ./claude-pr-bar
Settings and the last poll are stored with the mod's $.store, so they persist across sessions.
