Analyzes and optimizes Claude Code hooks for safety, proper lifecycle execution, and standardized configuration.
This skill acts as a specialized auditor for Claude Code hook implementations, ensuring that automation scripts are safe, performant, and correctly integrated into the session lifecycle. It identifies dangerous bash patterns such as recursive deletes or remote execution, validates exit codes for blocking logic, and ensures prompt-based hooks are used only on supported events. By providing automated reporting and one-click fixes for common configuration issues, it helps developers maintain robust and secure AI-driven workflows.
主な機能
01Validation of hook lifecycle events and matcher syntax
02Verification of exit codes (0 for success, 2 for blocking)