Production-ready Claude Code hooks you can understand, combine, and export.
A reviewed library of copy-ready hooks for Claude Code, plus a generator that composes them into one valid settings.json. Every hook says when it runs, what it needs, what it risks, and how to test it.
Build your settings.json Browse the library
Featured hooks
Prettier after edit
Runs Prettier on any JS/TS/JSON/CSS/Markdown file right after Claude edits it.
PostToolUseEdit|Writelow riskneeds manual checkProtect .env and secret files
Blocks Claude from writing to .env files, keys, and credential files - unless you say otherwise.
PreToolUseEdit|Writeblocking riskneeds manual checkBlock destructive shell commands
Blocks rm -rf, disk tools, force pushes, and destructive git commands before they run.
PreToolUseBashblocking riskneeds manual checkSecret scan on changed files
Runs gitleaks on every file Claude edits and warns when something looks like a secret.
PostToolUseEdit|Writereview riskneeds manual checkRun the nearest test after an edit
Finds the test file that belongs to the file Claude just edited and runs it, in the background.
PostToolUseEdit|Writereview riskneeds manual checkNotify when Claude needs input
Desktop notification when Claude asks for permission or goes idle waiting for you.
Notificationpermission_prompt|idle_prompt|agent_needs_inputlow riskneeds manual checkCategories
Pro Pack (later)
Framework bundles, cross-platform scripts, tested blocking policies, and a test harness. Free recipes and the generator stay free.
Waitlist opens soon.