Git Guardrails Claude Code

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.

mkurman 00c23f9 2 files · 2.8 KB Updated

File contents

mkurman/zorai/tree/main/skills/mattpocock/git-guardrails-claude-code commit 00c23f9b30

Frequently asked questions

npx skillmds@latest add mkurman/git-guardrails-claude-code