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.

hwj123hwj Updated

File contents

hwj123hwj/custom-skills commit d6d0917a43

Frequently asked questions

npx get-skill add hwj123hwj/git-guardrails-claude-code