git-guardrails-claude-code

github:mattpocock/skills · first seen 2026-10-30 · 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

Used with

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 (freshness and quality) estimated by backskills

Listed, not yet scored. This skill has no public model test yet. It is in the scoring queue; submitted skills go first, then the most-installed.

Freshness 100 · Quality 100 · Efficacy not yet tested

Version history

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