Agent Skills
› loocor/codmate
› hooks-wizard
hooks-wizard
GitHub根据用户需求及事件/变量目录,生成 CodMate Hook 草稿。支持自动匹配事件与规则,若需求不清则反问澄清,最终仅输出符合规范的 JSON 格式结果。
触发场景
用户需要创建或配置自动化 Hook
用户提供事件触发条件但需生成具体执行命令
安装
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.
版本历史
- 0.5.9 当前 2026-07-24 20:28


