Marketplace
git-guardrails-claude-code by @mattpocock
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
What it can do
Git push (all variants including --force).
Git reset --hard.
Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
SKILL.md
Loading tree...