Developing Hooks

Guides development of Claude Code plugin hooks, including prompt-based and command hooks, hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification), matchers, output formats, and security practices. Activates when the user asks to create a hook, add event-driven automation, validate tool use, implement prompt-based hooks, block dangerous commands, or configure hooks.json.

jawhnycooke Updated 9 repo stars

File contents

jawhnycooke/claude-plugins commit affa05962b

Frequently asked questions

npx get-skill add jawhnycooke/developing-hooks