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.

yanacuti1121 9953a4a 2 files · 2.9 KB Updated 2 repo stars

File contents

yanacuti1121/Yana-AI/tree/main/core/skills/mattpocock--git-guardrails-claude-code commit 9953a4a044

Frequently asked questions

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