概要
This skill serves as the authoritative guide for the Claude Code hooks system as of January 2026, offering detailed specifications for developers looking to extend and secure their AI-driven development environment. It provides essential documentation on hook events, configuration precedence, and matchers, allowing users to implement custom logic for tool validation, automated formatting, and session lifecycle management. Whether you are building complex plugins or simple project-specific scripts, this reference ensures you have the correct syntax for JSON inputs, exit codes, and environment variables.