{ "hooks": { "PostToolUse": [ { "matcher": "Edit|Write|MultiEdit", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/auto-format.sh", "timeout": 15 }, { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/compile-check.sh", "timeout": 20 } ] }, { "matcher": "Read", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-docs-on-read.sh" } ] } ], "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-commit-check.sh", "timeout": 45 } ] } ], "UserPromptSubmit": [ { "matcher": ".*", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-docs-lookup.sh" } ] } ] } }