Giverny

Hook Development

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…

by davila7★ 34,480Agent workflows

What Hook Development does

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 comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

How to install Hook Development in Claude Code

Giverny gives you a ready prompt with the exact install command from davila7/claude-code-templates. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone davila7/claude-code-templates and copy the cli-tool/components/skills/development/hook-development folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Hook Development on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the Hook Development skill on my current project.”

More Claude skills for agent workflows