hook-development

anthropics · Coding

为Claude Code插件实现事件驱动钩子的全面且结构良好的文档,包含优秀示例和清晰的提示型与命令型钩子指导。

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.

npx skills add https://github.com/anthropics/claude-code --skill hook-development

星标 132068 · 安装量 124

GitHub · SkillBox 全部技能