Claude Code hooks that block, format and check
Three hooks worth committing to a repo: one that blocks edits to protected paths, one that formats every file Claude Code edits, and one that runs the tests before it says it's done.
What's inside
- How hooks work
- Hook 1: block edits to protected paths
- Hook 2: format every edited file
- Hook 3: run the tests before finishing
- Rolling it out
- When a hook is the wrong tool
All 44 pieces with AI Skills Academy · $49/mo
- Every playbook, template, checklist and worksheet in the Library, and each new one as it's added
- The full 30-lesson course, the Agent Authority Scanner and your evidence package
- Six governed agents to download and run in Claude Code