Most Claude Code users think of hooks as an advanced feature they'll get to someday. After reading this deep-dive from the DEV Community, "someday" moves to tonight. The guide covers all 22 lifecycle hook events — from SessionStart and UserPromptSubmit through PreToolUse, PostToolUse, and PermissionRequest — and shows