If you're building Claude Code plugins and need to control what happens before and after tool execution, this is your starting point. It covers the five main hook types: PreToolUse for validating operations before they run, PostToolUse for reacting to results, Stop and SubagentStop for enforcing completion standards, and SessionStart for loading project context. The guide emphasizes prompt-based hooks over function-based ones, which makes sense since you get LLM-driven decision making instead of hard-coded logic. Originally from ovachiever/droid-tings, now maintained by davila7. Worth checking out if you're tired of Claude doing things you'd rather it asked about first.
npx skills add https://github.com/davila7/claude-code-templates --skill hook-development