/aidd-context:08-hook-generate event | actionfrom aidd-context
Generates lifecycle hooks (handlers that run at events) for AI tools. Scaffolds or refactors hooks with entry merges and backing scripts.
Ships in aidd-context. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Builds one hook: an entry merged into the chosen scope for each supported tool, plus the backing script.
| # | 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/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/hook-template.json: the entry scaffold.assets/hook-script-template.sh: the backing-script scaffold.actions/01-capture-hook.md (opens in a new tab)actions/02-write-hook.md (opens in a new tab)actions/03-validate.md (opens in a new tab)assets/hook-script-template.sh (opens in a new tab)assets/hook-template.json (opens in a new tab)references/hook-authoring.md (opens in a new tab)references/tool-paths.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/00-onboardGuide 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./01-bootstrapDesign and validate a new SaaS's architecture into an INSTALL.md via Q&A and stack comparison. Use when the user starts a project, chooses a stack, or picks an architecture pattern. Not for editing an existing stack or scaffolding code./02-project-memorySet up, refresh or wire the project memory of its architecture, conventions and decisions into your AI tools. Use for any project memory request, even a bare "check". Not for one-file edits./03-context-generateRoute a request to generate a context artifact (skill, rule, agent, command, or hook) to its generator when the kind is unnamed. A named kind triggers its generator directly. Not for listing existing artifacts./04-skill-generateGenerate a router-based skill across the host AI tools a project uses. Use when the user wants to create, scaffold, or refactor a skill, or turn a workflow into one. Not for other artifacts like rules, agents, commands, hooks./05-rule-generateCreate, update, publish or delete a coding rule across host AI tools. Use when adding, changing or removing a rule, convention or coding standard. Not for skills, agents or hooks.npx claudepluginhub ai-driven-dev/marketplaces --plugin aidd-context2 plugins ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job