git-guardrails 0.1.0
Refuses risky git, gh and docker commands before they run: direct pushes to protected branches, PRs based on feature branches, commit subjects over 72 characters or with '!', AI attribution, a compose stack started without its env variable, and two sessions switching branches in one checkout.
Install
/plugin marketplace add SamHardi/claude-mods /plugin install git-guardrails@claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
- Slash commands
Also in SamHardi/claude-mods
- chantier 0.1.0 A pane for multi-session work: your open PRs grouped by what they wait for (with their PR, session and ticket links), a plan of briques per repo and wave that Claude proposes and you approve, a run view of who waits on you, and a landing view (merge order, backports). Plus a band above the prompt... 0
- dev-loop 0.1.0 Status line for a local dev loop: which ports are up, and which folder (desk, worktree) serves each, so parallel sessions know whose server they are hitting. 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... 33.1k
- time-machine 0.1.7 Agent Time Machine: a branching timeline of tool calls with shadow-git snapshots — inspect, diff, explain test failures, restore, branch, compare, re-run 1.1k
- md-preview 0.1.9 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. 436
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 111
- dream-pass 0.2.1 A dreaming pass over Claude's memory folder: merges duplicates, rewrites stale entries, removes dead ones and tidies MEMORY.md, with a backup and undo 103