Hook Development
Claude Code 技能未实测
「Hook Development」是 anthropics 发布的Claude Code 技能(Skill),归入「其他」分类。源码托管在 GitHub 仓库 anthropics/claude-code(152.8k 星),最近更新于 2026-10-21。将技能目录复制到 ~/.claude/skills/ 即可在所有项目中使用。
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安装
把技能目录复制到个人技能目录(或项目内的 .claude/skills/):
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/ 信息
| 源码 | https://github.com/anthropics/claude-code/tree/main/plugins/plugin-dev/skills/hook-development |
|---|---|
| GitHub Stars | 152.8k (所在仓库) |
| 许可证 | 未声明 |
| 最近更新 | 2026-10-21 |
| 分类 | 其他 |