wangbooth/Claude-Code-Guardrails

Protective hooks for Claude Code that prevent accidental code loss through branch protection, automatic checkpointing, and safe commit squashing

6 files for Claude Code: PreToolUse, PostToolUse, Stop, PreCompact and 2 more — 1,171 tokens loaded in every session.

54Stars on the repository
6Files it configures its agents with
1,171Tokens loaded in every session
1Agent configured

Instructions

Settings

Hooks

These files are wangbooth/Claude-Code-Guardrails's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.