Hook Development

Use when creating, modifying, or debugging Claude Code hooks — PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification. Covers the plugin `hooks/hooks.json` wrapper format vs. the user `settings.json` direct format, matchers, security patterns, `$CLAUDE_PLUGIN_ROOT` portability, lifecycle limitations, and debugging. Trigger on "add a hook", "validate tool use", "block dangerous commands", "enforce completion", "hook-based automation".

thedixitjain 2ad96b3 13.5 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/ai-agents-and-harness/hook-development--hashgraph-online commit 2ad96b37b6

Frequently asked questions

npx skillmds add thedixitjain/hook-development-2