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.
97
96%
Does it follow best practices?
Impact
100%
1.19xAverage score across 3 eval scenarios
—
The risk profile of this skill
The canonical home for this skill is git-guardrails-claude-code in mattpocock/skills
No security review has been published for this skill
d6882ad
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.