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

pr-monitor

列出仓库的开放拉取请求,显示受监视请求的检查和评审状态,并在变绿后自动合并,同时请 Claude 解决冲突的 Claude Code 插件面板。

CodyEngel@CodyEngel

CodyEngel/claude-mods/tree/main/pr-monitor

已翻译

关于这个 mod

用于列出仓库开放拉取请求的面板。勾选要监视的请求后,可以看到检查结果、评审状态,以及它们与其他受监视分支之间的冲突。标记 Auto-merge when green 后,插件会按冲突最少的顺序逐个合并;当没有其他即将落地的变更时,会在临时 worktree 中进行合并而不是 rebase,避开其他受监视 PR 正在修改的文件,并请求 Claude 解决冲突。

安装

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

claude plugin marketplace add CodyEngel/claude-mods
claude plugin install pr-monitor
原文 / README

claude-mods

Mods for Claude Code: plugins of function hooks that add panes, bands, toasts and hooks to the terminal and the desktop Code tab.

Mods

| Mod | What it does | | --- | --- | | cache-meter | A band above the prompt showing time left on the prompt cache, how much of the context window is used, a Compact button, and an opt-in Keep warm toggle that pings the cache before it expires while you're idle (stops after 8 idle hours). | | pr-monitor | A pane listing the repository's open pull requests. Tick the ones to watch to see checks, review state and which other watched branches they conflict with. Mark any Auto-merge when green and it merges them one at a time, least-conflicting first, and asks Claude to resolve conflicts (in a temporary worktree, merging rather than rebasing, keeping out of files other watched PRs touch) once nothing else is about to land. |

Using a mod

claude --plugin-dir ./cache-meter

Each mod's settings live in its .claude-plugin/plugin.json under userConfig.

Developing

claude plugin validate ./cache-meter
claude plugin test ./cache-meter

The plugin API is early access and may change between Claude Code releases.

更多类似作品