PreToolUse
01wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing guard-branch.sh. From wangbooth/Claude-Code-Guardrails.
Protective hooks for Claude Code that prevent accidental code loss through branch protection, automatic checkpointing, and safe commit squashing
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing guard-branch.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing auto-commit.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs when the agent finishes a response, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the context is compacted, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.