hook-development
# Hook Development for Claude Code Plugins ## Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. **Key capabilities:** - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development
安装方式
手动下载安装
下载 ZIP 后解压到技能目录即可安装。若在桌面客户端 WebView中直接下载出现异常,本站会改为提示页 + 原始链接,请按页内说明操作。
下载 ZIP (clawhub-hook-development-213a3b-v1.0.0.zip)触发指令
/hook-developmen
跨平台安装指引
该技能声明兼容以下 1 个平台,将 ZIP 解压到对应目录即可被识别。
unzip clawhub-hook-development-213a3b-v1.0.0.zip -d ~/.openclaw/skills/
mkdir -p 创建;启用 Skill 后请重启对应 Agent 让配置生效。
使用指南
hook-development
功能介绍
Hook Development for Claude Code Plugins ## Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. Key capabilities: - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development
使用方法
基本用法
# Hook Development for Claude Code Plugins ## Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. **Key capabilities:** - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development lifecycle #
(来源:SkillHub / ClawHub 目录;完整 SKILL.md 与 ZIP 请执行 `php artisan skills:import-skillhub --slugs=hook-development` 。)
适用场景
- 专业领域咨询
- 角色扮演
- 问题解决
- 效率提升
使用建议
- 根据实际需求调整提示词
- 可以与其他技能组合使用
- 建议保存常用的变体版本
来源
本技能从 hook-development 导入。
许可证
请遵循原网站的许可证要求。
# hook-development
## 功能介绍
# Hook Development for Claude Code Plugins ## Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. **Key capabilities:** - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development
## 使用方法
### 基本用法
```
# Hook Development for Claude Code Plugins ## Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. **Key capabilities:** - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development lifecycle #
(来源:SkillHub / ClawHub 目录;完整 SKILL.md 与 ZIP 请执行 `php artisan skills:import-skillhub --slugs=hook-development` 。)
```
## 适用场景
- 专业领域咨询
- 角色扮演
- 问题解决
- 效率提升
## 使用建议
- 根据实际需求调整提示词
- 可以与其他技能组合使用
- 建议保存常用的变体版本
## 来源
本技能从 hook-development 导入。
## 许可证
请遵循原网站的许可证要求。