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. Use when this capability is needed.

tomevault-io a6bd403 2 files · 3.1 KB Updated

File contents

tomevault-io/skills-registry/tree/main/mattpocock--skills--git-guardrails-claude-code commit a6bd403b26

Frequently asked questions

npx skillmds@latest add tomevault-io/git-guardrails-claude-code