Git Guardrails Sets up a PreToolUse hook that intercepts and blocks dangerous git commands before Claude Code executes them. Prerequisites - jq : required for the hook script to parse tool input — install with or - Important: if is not installed, the hook will fail open (allow all commands). Always verify is available after setup. When to Use This Skill Activate when the user: - Wants to prevent destructive git operations from being run by the AI agent - Asks to add git safety hooks to Claude Code - Wants to block , , or other dangerous commands - Is setting up a new project and wants guardra…