Hook Development - Create and configure Claude Code hooks
Provides guidance for creating Claude Code plugin hooks that validate operations, enforce policies, load context, and automate workflows.
Tags
Updated: 2026-10-01Capabilities
Typical Outputs
What this skill does
- Configure hook events
- Validate tool calls
- React to tool results
- Enforce completion standards
- Load session context
- Run deterministic checks
- Use prompt-based decisions
- Persist session variables
Inputs
- Hook configuration files
- Hook event JSON
- Tool inputs and results
- User prompts or stop reasons
- Plugin and project paths
Outputs
- Hook decisions
- Transcript messages
- Updated tool inputs
- System messages
- Session environment variables
- Exit statuses
Requirements
- Claude Code hook environment
- Prompt-capable model for prompt hooks
