claude-hook-authoring
Installation
SKILL.md
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Claude Hook Authoring
Create event hooks that automate workflows, validate operations, and respond to Claude Code events.
Hook Types
Two hook execution types:
| Type | Best For | Example |
|---|---|---|
| prompt | Complex reasoning, context-aware validation | LLM evaluates if action is safe |
| command | Deterministic checks, external tools, performance | Bash script validates paths |
Prompt hooks (recommended for complex logic):