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

gh-pane

一个 Claude Code 插件,把会话仓库中按运行顺序排列的未关闭 issue 和 PR 固定在面板中,并用按钮填入下一条命令但不发送。

Gharib89@Gharib89

Gharib89/claude-mods/tree/main/plugins/gh-pane

已翻译

关于这个 mod

gh-pane 是通过 claude-mods 市场分发的 Claude Code 函数钩子插件。/gh-pane 命令,或提示词上方的 Open gh-pane 按钮(面板打开时会显示 Hide gh-pane;两者后面都有 Nerd Font GitHub 图标,如果终端字体没有该图标,可由 /plugin configure 将其清空),会将会话仓库中按运行顺序排列的未关闭 issue 和 PR 固定在面板中。面板会显示来自子 issue 的规格树、blocked-by 边、认领记录及其发布运行、关闭时不带 PR 的规划地图,以及 needs-triage 和 needs-info 列表。

面板按钮会将提示词填入 /ship N、/triage N、地图的下一张票(/wayfinder MAP N),或释放过期认领的请求,但绝不会发送。/clear 会让已打开面板对同一资料夹的最后一次读取继续显示,直到下一次读取完成。它通过 git 和 gh api(仅 REST)读取仓库,因此必须安装并登录 gh。标签名称(包括地图标签)、PR 上限、ship 工作树布局、band 按钮的图标,以及每个按钮填入的文字,都可以在 /plugin configure gh-pane@claude-mods 中设置。

安装:

claude plugin marketplace add Gharib89/claude-mods
claude plugin install gh-pane@claude-mods

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add Gharib89/claude-mods
claude plugin install gh-pane
原文 / README

claude-mods

Claude Code mods (function-hook plugins), installed through one marketplace.

Mods

  • smart-compact: lets Claude compact its own context at a step boundary it picks, with its own instructions, then resume the work on its own. Reminders arrive at 60% and 80% of the auto-compact point. Interactive sessions only: a -p or SDK session cannot compact on request yet, so there the mod only adds its keep-list to automatic compactions.
  • gh-pane: /gh-pane, or the Open gh-pane button above the prompt (Hide gh-pane while the pane is up, each followed by the Nerd Font GitHub mark, which /plugin configure can blank where the terminal font has none), docks a pane of the session repo's open issues and PRs in run order: spec trees from sub-issues, blocked-by edges, claims and their ship runs, planning maps whose tickets close without a PR, and the needs-triage and needs-info lists. Its buttons fill the prompt with /ship N, /triage N, a map's next ticket (/wayfinder MAP N) or a request to release a stale claim, and never send it. A /clear keeps the open pane's last read of the same folder on screen until the next one lands. It reads the repo through git and gh api (REST only), so gh must be installed and signed in. The label names (the map label included), PR cap, ship worktree layout, the band button's icon and the text each button fills are options in /plugin configure gh-pane@claude-mods.

Install

claude plugin marketplace add Gharib89/claude-mods
claude plugin install smart-compact@claude-mods
claude plugin install gh-pane@claude-mods

更多类似作品