git-guardrails-claude-code
Changes Claude Code hook settings (project or global), after which Claude can no longer run git push and the other blocked commands.Sets up a Claude Code PreToolUse hook that blocks dangerous git commands such as push, reset --hard, clean and branch -D before they run.
- read-repo
- write-files
- shell
- network