Hook Creator

Guide for creating Claude Code plugin hooks — language selection heuristic (Node.js default, match project runtime when obvious), hooks.json configuration, event selection, prompt-based vs command hooks, ${CLAUDE_PLUGIN_ROOT} paths, stdio suppression, timeout sizing, and testing. Use when adding hooks to a plugin, creating PreToolUse/PostToolUse/Stop/SubagentStop/SessionStart/UserPromptSubmit hooks, or wiring hook scripts to hooks.json.

Jamie-BitFlight Updated

File contents

Jamie-BitFlight/claude_skills/tree/main/plugins/plugin-creator/skills/hook-creator commit 6cad78b256

Frequently asked questions

npx skillmds@latest add jamie-bitflight/hook-creator