hook-development
Claude Code 技能未实测
「hook-development」是 anthropics 发布的Claude Code 技能(Skill),归入「其他」分类。源码托管在 GitHub 仓库 anthropics/claude-plugins-official(43.7k 星,Apache-2.0 许可),最近更新于 2026-10-22。将技能目录复制到 ~/.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-plugins-official.git /tmp/claude-plugins-official
cp -r /tmp/claude-plugins-official/plugins/plugin-dev/skills/hook-development ~/.claude/skills/ 信息
| 源码 | https://github.com/anthropics/claude-plugins-official/tree/main/plugins/plugin-dev/skills/hook-development |
|---|---|
| GitHub Stars | 43.7k (所在仓库) |
| 许可证 | Apache-2.0 |
| 最近更新 | 2026-10-22 |
| 分类 | 其他 |