Building Hooks is a specialized skill for Claude Code that enables developers to create, modify, and manage event-driven automations. By leveraging lifecycle events like session starts, tool invocations, and user prompts, this skill allows for automated validation, formatting, logging, and security policy enforcement. Whether you need to block dangerous bash commands, auto-format code after a write operation, or initialize environment variables at startup, Building Hooks provides the structure and schema validation necessary to build robust, reliable Claude Code plugins and local configurations.
主な機能
011 GitHub stars
02Support for both bash-based command hooks and LLM-based prompt hooks
03Built-in schema validation script to ensure hooks.json correctness
04Lifecycle event management for SessionStart, Stop, and UserPromptSubmit
05Pattern-based matching for selective tool monitoring and interception
06Automated hook generation for PreToolUse and PostToolUse events