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.

stanfish06 Updated

File contents

stanfish06/skillquarium/tree/main/skills/git-guardrails-claude-code commit bc08e889fe

Frequently asked questions

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