skillhawk

Git Guardrails Claude Code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they…

@community/git-guardrails-claude-code · ai · Skillhawk badge: grade A

Skillhawk's judgement

MeasureResult
GradeA (100/100)
Review findings2 (0 high, 0 medium, 2 low)
SecurityNo security findings
Sizeabout 579 tokens, paid on every load
LicenceMIT
Sourcehttps://github.com/mattpocock/skills

Top review findings

Judged 2026-11-17 by skillhawk review and skillhawk secure, the same code as the CLI. Method on the library grades page. Automated checks, not an endorsement.

Install

npx skillhawk install @community/git-guardrails-claude-code --agent claude

Add -g to install for every project. Original source: mattpocock/skills (MIT).

Open the full skill in the appAll skills