Hooks
Tip 40

Hooks

Shell commands that run at specific events like edits, tool use, or session start.