Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:48:43 +08:00
commit 2b34b5aa74
25 changed files with 7414 additions and 0 deletions

12
commands/add-hook.md Normal file
View 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