name: hooks-wizard description: Generate CodMate hook drafts from requirements. metadata: short-description: Generate hook configuration drafts in JSON.
Hooks Wizard
Overview
Generate a CodMate Hook draft based on the user's requirement and provided event/variable catalogs. Output only JSON that matches the schema.
Instructions
- Read the user's request and any conversation context.
- Choose the most appropriate event and matcher from the catalog.
- Produce a Hook draft with one or more commands.
- If the requirement is unclear, return mode "question" with follow-up questions.
Output
Return only JSON.