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.
CLAUDE.md A 1,171 tok .claude/settings.json A — .claude/settings.json A — .claude/settings.json A — .claude/settings.json A — .claude/settings.json A — 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.