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.
91
89%
Does it follow best practices?
Impact
100%
1.19xAverage score across 3 eval scenarios
Passed
No findings from the security scan
The canonical home for this skill is git-guardrails-claude-code in mattpocock/skills
| Run | Type | Date | Status |
|---|---|---|---|
baseline vs usage-spec With / without contextCompleted | With / without context | Completed |
019cc472-ff9f-70fa-a175-954f91904468
Run
The run is available. Its result stats will appear here when they are ready.
SnowingFox/ai-skills
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.