Expert guidance for creating Claude Code hooks and lifecycle automation.
Use when: hooks, event hooks, PreToolUse, PostToolUse, exit codes,
hook scripts, lifecycle events, validation hooks, "create hook",
"add hook", hook configuration, hooks.json, Stop hook, SessionStart.
Supports: all 12 event types, command hooks, prompt hooks, exit codes.