claude-code-hook-development
Installation
SKILL.md
Claude Code Hook Development
Create hooks that run shell commands on specific events to add guardrails, automations, and policy enforcement.
Quick Reference
You MUST read the reference files for detailed schemas and examples:
- Hook Events Reference - All events with input/output schemas
- Examples: Firewall - Block dangerous commands
- Examples: Quality Checks - Lint/format after edits
- Examples: Pre-Push Tests - Run tests before git push
Core Concepts
Hook Types
- Command hooks - Run bash scripts
- Prompt hooks - Query LLM for context-aware decisions