Writing Hooks

How to write Claude Code hooks -- event selection, hook types, matcher patterns, blocking vs advisory, portable paths. Use when creating hooks for quality gates, automation, or policy enforcement.

xiaolai Updated 918 repo stars

File contents

xiaolai/nlpm-for-claude commit 701eb3d8f0

Frequently asked questions

npx get-skill add xiaolai/writing-hooks