commit-safety 0.1.2
Enforces git commit hard-rules: blocks blanket staging (add -A/./-u/--update), git mv, pushes to main, inline multiline -m, multiple -m/--message, and @'...'@ here-string messages; warns on --amend.
Install
/plugin marketplace add d1820/claude-mods /plugin install commit-safety@claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
Also in d1820/claude-mods
- activity 0.1.8 Live activity: turn time + tool count in a band, per-tool and subagent detail (status, elapsed, turns, tokens) in a pane, and a native notification when a long turn ends or Claude asks a question. 0
- truncation-guard 0.1.1 Blocks truncating command output (head/tail/sed -n/Get-Content -TotalCount/Select-Object -First) so full output is captured to a file and read. 0
- shell-guard 0.1.0 Blocks in-place file mutation via the shell (sed -i, perl -i clusters, awk -i inplace) on the model's tool calls — the Edit tool is the correct way to modify files. Fail-closed; tight default list, extensible in register.ts. 0
More git mods
- git-sidebar 0.1.0 A lazygit-style side pane: every worktree of the repository and its local branches as rows you click. A worktree row moves the session there with /cd; a branch row shows its last commits and offers switch (clean tree only) or open worktree. Docked floor to ceiling beside the transcript in the ful... 34.7k
- diffr 0.1.0 Review diffs with diffr in a pane 3.5k
- time-machine 0.1.8 Agent Time Machine: a branching timeline of tool calls with shadow-git snapshots — inspect, diff, explain test failures, restore, branch, compare, re-run 773
- md-preview 0.1.11 Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. /md opens it. 526
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 128