If you're building Claude Code plugins and need them to respond to specific events in the development workflow, this is your reference. It covers the hook system that lets you intercept and react to things like tool calls, completions, and session starts. The docs walk through both prompt-based hooks (using the LLM for context-aware decisions) and function-based hooks for deterministic logic. Most useful when you need to enforce policies, validate operations before they run, or automatically load project context. The examples are clear about PreToolUse, PostToolUse, and the various stop events. Think of it as the wiring layer between Claude's actions and your custom automation logic.
npx skills add https://github.com/anthropics/claude-code --skill hook-development