Accueil / Skills / anthropics/claude-plugins-official

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 ${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

skillLicence: Apache-2.0 Source: anthropics/claude-plugins-official

Installer

Copiez ce dossier dans votre projet Claude Code (Node.js requis) :

npx degit anthropics/claude-plugins-official/plugins/plugin-dev/skills/hook-development .claude/skills/hook-development

Ou installez-le pour tous vos projets :

npx degit anthropics/claude-plugins-official/plugins/plugin-dev/skills/hook-development ~/.claude/skills/hook-development

Contenu du fichier

Créé par ses auteurs d'origine et partagé sous licence Apache-2.0. Nous l'affichons sans modification, avec crédit et lien vers la source. Source ↗

…