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.

h3y6e 7b6bd00 3 files · 2.9 KB Updated

File contents

h3y6e/agent-skills/tree/main/.vendor/skills/git-guardrails-claude-code commit 7b6bd00109

Frequently asked questions

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