·hook-skill
</>

hook-skill

maxoreric/sop-engine

Claude Code Hook 开发专家。当需要创建、调试、配置 Hook 时触发。触发词:创建 hook、写 hook、hook 配置、stop hook、pre tool use、post tool use、session start。

2Installs·0Trend·@maxoreric

Installation

$npx skills add https://github.com/maxoreric/sop-engine --skill hook-skill

SKILL.md

| PreToolUse | 工具执行前 | 验证、拦截、修改输入 | | PostToolUse | 工具执行后 | 验证结果、触发后续 | | PermissionRequest | 权限对话框显示时 | 自动批准/拒绝 | | UserPromptSubmit | 用户提交 prompt 时 | 添加上下文、验证 | | Stop | Claude 完成响应时 | 实现循环、强制继续 | | SubagentStop | Subagent 完成时 | 链式触发、验证完成 | | PreCompact | 压缩操作前 | 保存状态 | | SessionStart | 会话开始时 | 加载上下文、初始化 | | SessionEnd | 会话结束时 | 清理、保存状态 |

| 0 | 成功 | 继续执行,stdout 可返回 JSON | | 2 | 阻止 | 阻止操作,stderr 反馈给 Claude | | 其他 | 非阻止错误 | 显示警告,继续执行 |

Claude Code Hook 开发专家。当需要创建、调试、配置 Hook 时触发。触发词:创建 hook、写 hook、hook 配置、stop hook、pre tool use、post tool use、session start。 Source: maxoreric/sop-engine.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/maxoreric/sop-engine --skill hook-skill Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/maxoreric/sop-engine --skill hook-skill
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is hook-skill?

Claude Code Hook 开发专家。当需要创建、调试、配置 Hook 时触发。触发词:创建 hook、写 hook、hook 配置、stop hook、pre tool use、post tool use、session start。 Source: maxoreric/sop-engine.

How do I install hook-skill?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/maxoreric/sop-engine --skill hook-skill Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/maxoreric/sop-engine