Event-Driven Hooks for Automation in Claude Code