← All Skills
Development
Git Guardrails for Claude Code
Block destructive git commands before the agent runs them
Installs525.4K
Author@mattpocock
Sourcemattpocock/skills
About
Sets up a PreToolUse hook that blocks dangerous git commands (push, reset --hard, clean -f, branch -D, checkout .) before Claude executes them, per project or for all projects.
Tags
agentsguardrailsgit