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-skill精选
Cursor · 开发
create-skill 指导 Agent 如何编写符合规范的 SKILL.md、触发描述与可选脚本。可通过 npx skills add 或复制到 ~/.cursor/skills/create-skill/ 安装。
4.9Q98
create-rule精选
Cursor · 开发
create-rule 帮助编写 Cursor 规则(.mdc 文件),将规则放入 .cursor/rules/ 即可自动注入上下文。
4.8Q95
code-review精选
Vercel Labs · 开发
code-review 应用结构化审查清单,覆盖正确性、可维护性、测试与团队规范。
4.8Q95
test-driven-development
obra / Superpowers · 开发
test-driven-development 强制红-绿-重构:没有先失败的测试就不写生产代码。使用 npx skills add obra/superpowers --skill test-driven-development 安装。
4.8Q95
常见问题
如何安装 create-hook?
把安装提示词发给你的 AI,或运行 npx skills add https://github.com/cursor/skills-cursor/tree/main/create-hook。
create-hook 兼容哪些平台?
Cursor