About
The Hook Creator skill enables developers to build responsive, event-driven behaviors within Claude Code plugins by automating the setup of hooks. By defining triggers for specific lifecycle events—such as SessionStart, PostToolUse, or UserPromptSubmit—this skill streamlines repetitive tasks like auto-formatting code, running test suites after edits, or initializing custom environment notifications. It provides structured guidance on hooks.json configuration, including precise tool matchers and the correct usage of environment variables like CLAUDE_PLUGIN_ROOT to ensure portable and robust automation.