claudeindex
Plugin

git-guardrails

GitHub Flow に準拠した Git ワークフローを構造強制するプラグイン。デフォルトブランチへの直接書き込み経路 (commit / push / PR head) をすべて deny し、変更は GitHub 上の PR merge 経由のみで取り込む。rebase ワークフロー Skill も提供。v0.4.0 で 3 hook (push/commit/pr) の検出方式を、改行を無条件に `;` へ正規化してから quote 非対応の regex で invocation を検出する方式から、pre-push-review と同じ cmd-parser.sh (split_command + tokenize_segment) ベースの segment/token 検出へ移行 (#135, #136, #137)。quote 内・heredoc 内の「コマンド例文」を実コマンドと誤認して deny する false-positive を解消し、共有 lib cmd-parser.sh の quote 内改行バグも修正して pre-push-review / enforce-draft-pr へ sync。v0.3.2 で README 内 version 見出しの drift (v0.3.0 のまま) を解消し v0.3.0 → v0.3.1 の cross-plugin sync changelog を backfill。v0.3.1 で関連プラグイン pre-push-review の README 記述を v2.0.0 仕様 (/pre-push-review:review slash command による 3 レビュー並列起動) に同期。v0.3.0 で 3 hook に診断 EXIT trap を追加し予期せぬ非ゼロ終了 (保護の無音 fail-open) を可視化、checkout pathspec / remote 名 master の false-positive を既知制約として明記、README を実態に追随

Installation

1

Add the marketplace

/plugin marketplace add natsuume/natsuume-cc-marketplace
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.