Hooks
Claude Code hooks run your commands at fixed points in the agent's loop. These guides map every event, show which mistakes each hook can actually catch, and warn about the ones that freeze a workflow.
3 pieces · Article
- 5 Claude Code Hooks That Catch the Mistakes Agents Actually Make — Article
Five Claude Code hooks that catch real agent mistakes — formatting drift, .env edits, unbuilt 'done' claims — with a copy-ready settings.json config. - Claude Code Hooks by Event: The Complete Map and 3 Recipes Worth Automating — Article
Every Claude Code hook event explained — all 34 events with what fires when, which ones can block, and what each returns — plus a working settings.json config and three recipes to copy. - Claude Code Hooks Deep Dive: Matchers, Exit Codes, JSON I/O and Debugging — Article
Go beyond starter hooks: how matchers really evaluate, the if field, exit-code semantics, the JSON payloads hooks receive and return, the five handler types, and a calm method for debugging hooks that silently do nothing.