概要
Claude Hook Writer provides comprehensive guidance for creating, debugging, and optimizing Claude Code CLI hooks, ensuring they are both secure and efficient. It helps developers navigate the complexities of hook design—from selecting the correct trigger events like PreToolUse and PostToolUse to enforcing critical security patterns such as input sanitization and path validation. By providing ready-to-use code templates and identifying common pitfalls like unquoted variables or blocking operations, this skill accelerates the development of production-ready extensions for the Claude environment while minimizing runtime errors and performance bottlenecks.