ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 shuletadev

git-status-band

Claude Code 提示框上方的一行狀態列,用白話說明你的工作是否已儲存並與 GitHub 一致。唯讀:只執行 `git status`,從不變更任何內容。

shuletadev@shuletadev

shuletadev/certbuddycr/tree/main/mods/git-status-band

已翻譯

關於這個 mod

Claude Code 提示框上方的唯讀狀態列,用來表示你的工作是否已儲存並與 GitHub 同步。它區分已提交與未提交的變更,以及相對於 GitHub 的領先/落後狀態,每 15 秒、每個回合結束後,以及透過 Refresh 按需重新整理;Hide 會在這個工作階段隱藏它。

試用:claude --plugin-dir ./mods/git-status-band。需要支援外掛的 Claude Code 2.1.286 或更新版本。使用相同版本透過 claude plugin validate mods/git-status-band 驗證。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add shuletadev/certbuddycr
claude plugin install git-status-band
原文 / README

git-status-band

A one-line band above the Claude Code prompt that says, in plain language, whether your work is saved and matches GitHub. Read-only: it only runs git status, never changes anything.

| You see | It means | What to do | | --- | --- | --- | | ✓ Everything is saved and matches GitHub | Nothing to do | — | | ● N files have changes that are not saved yet | Edits not committed | /save | | ↑ Saved on this computer, not on GitHub yet | Committed, not pushed | /save | | ↓ GitHub has newer updates | The other account pushed | /start | | ⇅ Both have new work | Needs care | Ask Claude to sort it out |

It refreshes every 15 seconds, after each turn, and when you press Refresh. Hide hides it for the session. "Behind GitHub" is based on the last time git contacted GitHub, so /start (which fetches) is what makes it fully current.

Try it

claude --plugin-dir ./mods/git-status-band

Needs Claude Code 2.1.286 or newer with mods. Validate with claude plugin validate mods/git-status-band using the same version (an older claude on PATH will report false errors).

更多類似作品