What problem does it solve? Building Claude Code plugin hooks requires understanding event types, JSON configuration formats, input/output schemas, and security practices, and mistakes can silently break workflows or introduce injection vulnerabilities. ## Core Features & Use Cases - Hook Implementation Guidance: Covers all hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification) with both prompt-based and command-based hook patterns. - Validation and Testing Scripts: Includes validate-hook-schema.sh for hooks.json structure checks, test-hook.sh for running hooks against sample input, and hook-linter.sh for catching security and best-practice issues. - Use Case: When adding a PreToolUse hook to block dangerous bash commands in a plugin, use this Skill to write the hooks.json entry, lint the validation script, test it with sample input, and verify behavior with claude --debug. ## Quick Start Create a PreToolUse prompt-based hook that validates file writes for path traversal and sensitive files in my plugin's hooks.json.