TLDR Web Dev · LAUNCHES & TOOLS
CLAUDE CODE HOOKS
Summary from the TLDR Web Dev newsletter
Claude Code hooks are user-defined shell commands that extend Claude Code's behavior by executing at specific points in its lifecycle. These hooks offer control over actions like notifications, code formatting, logging, feedback, and custom permissions. They can be configured in JSON settings files (user, project, and local) and can be organized by event type (PreToolUse, PostToolUse, Notification, and Stop) and matchers.