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.

thedixitjain f5f410b 3 files · 3.0 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/engineering-core/git-guardrails-claude-code commit f5f410bb66

Frequently asked questions

npx skillmds add thedixitjain/git-guardrails-claude-code