Git Guardrails Claude Code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they…
Skillhawk's judgement
| Measure | Result |
|---|---|
| Grade | A (100/100) |
| Review findings | 2 (0 high, 0 medium, 2 low) |
| Security | No security findings |
| Size | about 579 tokens, paid on every load |
| Licence | MIT |
| Source | https://github.com/mattpocock/skills |
Top review findings
- low
SKILL.md:33[duplicate-rule] same rule as line 32: "~/.claude/hooks/block-dangerous-git.sh" - low
SKILL.md:41[duplicate-rule] same rule as line 24: "Project (.claude/settings.json)"
Install
npx skillhawk install @community/git-guardrails-claude-code --agent claude
Add -g to install for every project. Original source: mattpocock/skills (MIT).