/tag
Hooks turn Claude Code from a chatbot into a system you control. Five hooks I wrote and kept — what each does, when it fires, the failure mode it prevents, and the code.