Initial commit
This commit is contained in:
12
commands/add-hook.md
Normal file
12
commands/add-hook.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
description: Add a new hook to an existing plugin
|
||||
---
|
||||
|
||||
Use the hooks-writer agent to create a new hook for a plugin.
|
||||
|
||||
The hooks-writer will:
|
||||
- List available plugins to choose from
|
||||
- Gather hook requirements (event type, matcher, command/prompt)
|
||||
- Create or update hooks.json in the plugin's hooks/ directory
|
||||
- Update plugin.json if needed
|
||||
- Follow hook-design skill patterns for deterministic lifecycle integration
|
||||
Reference in New Issue
Block a user