{ "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/scripts/hooks/pre-tool-guard.sh" }, { "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/scripts/hooks/pre-commit-guard.sh" } ] }, { "matcher": "Write|Edit|MultiEdit|NotebookEdit", "hooks": [ { "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/scripts/hooks/pre-tool-guard.sh" } ] } ], "PostToolUse": [ { "matcher": "Write|Edit|MultiEdit", "hooks": [ { "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/scripts/hooks/post-edit-quality.sh" } ] } ] } }