Agent Skills
› loocor/codmate
› hooks-wizard
hooks-wizard
GitHub根据用户需求及事件/变量目录,生成 CodMate Hook 草稿。读取上下文后匹配事件与规则,输出包含命令的 JSON 格式 Hook 定义;若需求不清则返回提问模式。
Trigger Scenarios
需要创建或生成自动化钩子(Hook)脚本
基于特定事件和变量配置生成执行指令
Install
npx skills add loocor/codmate --skill hooks-wizard -g -y
SKILL.md
Frontmatter
{
"name": "hooks-wizard",
"metadata": {
"short-description": "Generate hook configuration drafts in JSON."
},
"description": "Generate CodMate hook drafts from requirements."
}
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.
Version History
- 0.5.9 Current 2026-07-24 20:28


