ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 shuletadev

git-status-band

Claude Code のプロンプト上部にある 1 行の帯。作業が保存され、GitHub と一致しているかを平易な言葉で示します。読み取り専用で、`git status` だけを実行し、何も変更しません。

shuletadev@shuletadev

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

翻訳済み

この mod について

Claude Code のプロンプト上部に読み取り専用のステータス帯を表示し、作業が保存され GitHub と同期しているかを示します。コミット済み/未コミットの変更と、GitHub に対する ahead/behind 状態を区別し、15 秒ごと、各ターンの後、Refresh からの要求時に更新します。Hide を使うとそのセッション中は非表示になります。

試すには:claude --plugin-dir ./mods/git-status-band。mod 対応の 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).

関連作品