git-guardrails-claude-code

github:mattpocock/skills · first seen 2026-10-30T20:36:17 · installs 520.5K · source · badge

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.

Works with

yeet
Shares git, push, branch, origin
0.17
setup-pre-commit
Shares hooks, hook, script, etc
0.16
deploy-to-vercel
Shares git, push, project, etc
0.15
migrate-to-codex
Shares hooks, claude, global, settings
0.14

Woven into by

yeet
Shares git, push, branch, origin
0.17
setup-pre-commit
Shares hooks, hook, script, etc
0.16
migrate-to-codex
Shares hooks, claude, global, settings
0.14

Skill Health 100 estimated by backskills

Freshness 100 · Quality 100 · Efficacy not tested

Efficacy: not tested yet.

Version history

2026-10-30T20:36:17 · sha256 69b291d65562