概要
The enhance-hooks skill provides an automated auditing and optimization framework for Claude Code hooks, ensuring your session automations are safe, efficient, and correctly configured. It scans hook scripts for dangerous patterns like 'rm -rf' or 'curl | sh', validates YAML frontmatter for metadata consistency, and enforces shell script best practices such as fail-fast headers. By verifying hook lifecycle events and timeout configurations, it helps developers build robust, reliable workflows that extend Claude's capabilities without compromising system security or project integrity.