create-hook
create-hook helps author hooks.json and hook scripts that run on Cursor agent lifecycle events like before/after tool calls.
Create Cursor hooks for automating behavior around agent events.
What this skill does
Try saying this
Copy a prompt into your agent to trigger this skill.
Help me with cursor hooks setup Help me with event-driven automation Help me with hooks.json configuration Topics
Platforms
Install
CLI install
npx skills add https://github.com/cursor/skills-cursor/tree/main/create-hook Manual install
.cursor/skills/create-hook/ Resources
Source
https://github.com/cursor/skills-cursor/tree/main/create-hookRelated Skills
create-skill teaches agents how to author new Agent Skills with valid SKILL.md frontmatter, trigger descriptions, and optional scripts. Install via npx skills add or copy to ~/.cursor/skills/create-skill/.
Can help with
- →User asks to create a new skill
- →Authoring SKILL.md files
create-rule helps agents write Cursor rules (.mdc files) for project-specific AI behavior. Place rules in .cursor/rules/ for automatic context injection.
Can help with
- →Creating coding standards rules
- →Project-specific AI guidance
code-review applies structured review checklists covering correctness, maintainability, tests, and team conventions.
Can help with
- →Reviewing pull requests
- →Code quality audit
review-bugbot performs structured code review focused on bugs, edge cases, and regressions. Ideal before merging PRs or after significant refactors.
Can help with
- →PR review requests
- →Finding bugs in diffs