Skill123

create-hook

@cursor/create-hook

4.4 良好
安全 来自 Skill123

create-hook 帮助编写 hooks.json 与钩子脚本,在 Agent 生命周期事件前后执行。

最后验证: 2026-06-22 · Cursor

概述

create-hook

Create Cursor hooks for automating behavior around agent events.

适用场景

  • 配置 Cursor hooks
  • 事件驱动自动化
  • hooks.json 配置

兼容平台

Cursor

资源文件

skill-name/
├── SKILL.md
└── scripts/scripts/

源码

https://github.com/cursor/skills-cursor/create-hook

相关技能

常见问题

如何安装 create-hook?

把安装提示词发给你的 AI,或运行 npx skills add https://github.com/cursor/skills-cursor/tree/main/create-hook。

create-hook 兼容哪些平台?

Cursor