ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 Designibl

claude-pr-bar

Claude Code 版 PR Bar mod,在侧边栏显示 GitHub pull request——open PR、review 请求、可合并和需要修复状态——并提供一键「Review with Claude」/「Fix with Claude」提示以及 ⟦/pr-bar 列表窗格命令。

已翻译

关于这个 mod

Claude Code 侧边栏中的 GitHub pull request。它是 PR Bar(macOS 菜单栏应用)的 Claude Code mod 版本,只有 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

设定和上次轮询结果储存在 mod 的 `$.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-bar or 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.

Licence

MIT

更多类似作品