What problem does it solve? AI coding assistants can execute destructive git commands like git push --force, git reset --hard, or git clean -fd that permanently destroy work or overwrite remote history. This Skill prevents that by installing a hook that intercepts and blocks these commands before they run. ## Core Features & Use Cases - Pre-execution Blocking: Registers a PreToolUse hook that intercepts Bash tool calls and blocks git push, git reset --hard, git clean -f/-fd, git branch -D, git checkout ., and git restore .. - Flexible Scope: Install the guardrail for a single project (.claude/settings.json) or globally across all projects (~/.claude/settings.json). - Customizable Patterns: Edit the bundled shell script to add or remove blocked command patterns to match your team's safety policy. - Use Case: A developer lets Claude Code run autonomously on a repository but wants to guarantee it can never force-push to main or wipe uncommitted changes during a session. ## Quick Start Ask Claude to set up git guardrails that block dangerous git commands like push and reset --hard for this project.