Build Claude Code hooks that check tool use.
Guides the creation and testing of Claude Code plugin hooks for validating tool use and automating session events.
When to use it
Use when asked to create hooks, validate tool use, block dangerous commands, or implement event-driven automation.
Give it a plugin hook requirement; it creates the hook configuration and any command scripts, validates them, and documents their use.
What you provide
The hook-testing helper requires the timeout command to limit execution time.
This skill
$CLAUDE_ENV_FILE
Deletes the test environment file