{ "hooks": { "PreToolUse": [ { "matcher": "Bash", "command": ".claude/hooks/security-check.sh" } ], "PostToolUse": [ { "matcher": "Write|Edit", "command": ".claude/hooks/auto-format.sh" } ] } }