Hook Development
Claude Code skillNot tested by us
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides
Install
Copy the skill folder into your personal skills directory (or .claude/skills/ in a project):
git clone --depth 1 https://github.com/anthropics/claude-code.git /tmp/claude-code
cp -r /tmp/claude-code/plugins/plugin-dev/skills/hook-development ~/.claude/skills/ Details
| Source | https://github.com/anthropics/claude-code/tree/main/plugins/plugin-dev/skills/hook-development |
|---|---|
| GitHub Stars | 152.8k (repository) |
| License | Not specified |
| Last updated | 2026-10-21 |
| Category | Other |