08 Hook Generate
Generate a hook, a handler that runs at a lifecycle event, across the host AI tools. Use when the user wants to create, scaffold, or refactor a hook, or automate an action at a lifecycle point. Not for other artifacts like skills or rules.
Install
/plugin marketplace add ai-driven-dev/frameworkThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add ai-driven-dev/framework --skill 08-hook-generategit clone --depth 1 https://github.com/ai-driven-dev/framework.git /tmp/framework
mkdir -p ~/.claude/skills
cp -r /tmp/framework/plugins/aidd-context/skills/08-hook-generate ~/.claude/skills/08-hook-generatePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Hook Generate Builds one hook: an entry merged into the chosen scope for each supported tool, plus the backing script. ## Actions | # | Action | Role | Input | | --- | -------------- | ------------------------------------------------- | ----------------- | | 01 | `capture-hook` | Clarify the moment, intent, action, matcher, scope, tools | user request | | 02 | `write-hook` | Merge the entry per tool, write the script | the captured spec | | 03 | `validate` | Check the file, the merge, and the moment fit | files written | Run the actions in order, `01 → 03`, and run each action's `## Test` before the next. Before running an action, read its file in `actions/`, not only the table or assets. ## References - `references/hook-authoring.md`: the contract (R1-R7), the lifecycle moments, the intent options, and the handler, matcher, and exit-code model. - `references/tool-paths.md`: per-tool support, moment-to-event names, file formats, scopes, and write targets. ## Assets - `assets/hook-template.json`: the entry scaffold. - `assets/hook-script-template.sh`: the backing-script scaffold.
Details
- Skill name
08-hook-generate- Repository
- ai-driven-dev/framework
- Path
plugins/aidd-context/skills/08-hook-generate/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the 08 Hook Generate skill do?
Generate a hook, a handler that runs at a lifecycle event, across the host AI tools. Use when the user wants to create, scaffold, or refactor a hook, or automate an action at a lifecycle point. Not for other artifacts like skills or rules.
How do I install the 08 Hook Generate skill?
Claude Code plugin: /plugin marketplace add ai-driven-dev/framework. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is 08 Hook Generate popular?
It lives in ai-driven-dev/framework, which has 564 GitHub stars and 65 forks.
Related skills
00 Async Dev
564ai-driven-dev/framework
Drive the async-dev pipeline from one entry point, whether setup, run, or review. Use when the user wants to install async dev, run a ready issue, or address PR review comments, or on a webhook trigger. Not for plain status checks.
00 Init
564ai-driven-dev/framework
Turn AIDD measurement on for a project after explicit consent, stop it, choose to be named on your own measurement, or delete what was measured. Use when the user wants to start or stop measuring what their work consumes, add or remove their name, or forget measured data. Not for answering what a period consumed.
00 Onboard
564ai-driven-dev/framework
Guide a project's journey through AIDD, from first setup to shipping a feature. Use when the user says onboard me, where do I start, or what to do next. Not for listing every installed surface.
11 Explore
564ai-driven-dev/framework
Explore the current project across its tooling, context, and codebase. Use to survey what is installed, see what is available, or find which skill, agent, or rule fits a goal. Not for choosing the next step or running an item; it only points.
07 Command Generate
564ai-driven-dev/framework
Generate a flat slash command across the host AI tools a project uses. Use when the user wants to create, scaffold, or refactor a one-shot slash command. Not for multi-step skills or other artifacts like rules, agents, hooks.
Intent Modeling
593haowjy/creative-writing-skills
Use before acting on human instructions: separate what they said from what they meant.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.