Claude Code hooks generator (settings.json + scripts)

Pick the hooks you want and copy the hooks block into settings.json plus the scripts into .claude/hooks/. The scripts use jq.

Format / lint after edits (PostToolUse)
Guards before execution (PreToolUse)
Notifications

Output

Generated output is a starting point. These tools change often; check the official docs and the verification date on the linked articles before applying.