{ "hooks": { "UserPromptSubmit": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "python .claude/hooks/user_prompt_submit.py", "description": "Pre-prompt enrichment with context packs" } ] } ], "PreToolUse": [ { "matcher": "Bash|Write|Edit", "hooks": [ { "type": "command", "command": "python .claude/hooks/pre_tool_use.py", "description": "Security gates for dangerous operations" } ] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "python .claude/hooks/post_tool_use_format.py", "description": "Auto-formatting after file operations" } ] } ] } }