Git Guardrails

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.

mouadja02 Updated 13 repo stars

File contents

mouadja02/skills commit 6f245843af

Frequently asked questions

npx get-skill add mouadja02/git-guardrails