Use hooks only for rules with zero exceptions.
If you have forty hooks, most are probably preferences, and those belong in CLAUDE.md.
The habits that make the difference. Tick the ones you already keep and see what is left.
If you have forty hooks, most are probably preferences, and those belong in CLAUDE.md.
Claude cannot end its turn with a red typecheck, so you stop being the one who notices.
pnpm tsc --noEmit 1>&2 || exit 2
Edit|Write instead of a rule.A hook formats every time. A rule only formats when Claude remembers.