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.

Sam Hardi 0 on SamHardi/claude-mods

Install

Claude Code
/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

More git mods

All git mods
Repo stars
0
Repo forks
0
License
None given
Last commit
Checked
fd5c273,
Source on GitHub