claudeindex
Plugin

enforce-draft-pr

gh pr create に --draft を自動付与する PreToolUse フックプラグイン (任意導入)。v0.2.2 で共有 lib cmd-parser.sh の split_command のバグ (quote 内改行が segment に生のまま残る) を修正し、git-guardrails / pre-push-review の cmd-parser.sh と byte-identical に sync (本プラグインは normalize_line_continuations / unquote_token のみ使用のため挙動は不変)。v0.2.1 で env-skip ループが現コマンド境界を越境して次コマンドの `pr create` まで届き重複 --draft 挿入になる parser bug を修正 (`FOO=bar; gh pr create` 形式で発火)。v0.2.0 で検出を cmd-parser.sh ベースのトークン化に刷新し、引数値内 --draft の誤検知 / global option / cd・env prefix チェーン / 行継続 / --draft=true・-d の取りこぼしを解消 (複数行 body は破壊せず温存)

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.