Agent Skillsloocor/codmate › hooks-wizard

hooks-wizard

GitHub

根据用户需求及事件/变量目录,生成 CodMate Hook 草稿。支持自动匹配事件与规则,若需求不清则反问澄清,最终仅输出符合规范的 JSON 格式结果。

payload/internal-skills/hooks-wizard/SKILL.md loocor/codmate

触发场景

用户需要创建或配置自动化 Hook 用户提供事件触发条件但需生成具体执行命令

安装

npx skills add loocor/codmate --skill hooks-wizard -g -y
更多选项

非标准路径

npx skills add https://github.com/loocor/codmate/tree/main/payload/internal-skills/hooks-wizard -g -y

不安装直接使用

npx skills use loocor/codmate@hooks-wizard

指定 Agent (Claude Code)

npx skills add loocor/codmate --skill hooks-wizard -a claude-code -g -y

安装 repo 全部 skill

npx skills add loocor/codmate --all -g -y

预览 repo 内 skill

npx skills add loocor/codmate --list

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

  1. Read the user's request and any conversation context.
  2. Choose the most appropriate event and matcher from the catalog.
  3. Produce a Hook draft with one or more commands.
  4. If the requirement is unclear, return mode "question" with follow-up questions.

Output

Return only JSON.

版本历史

  • 0.5.9 当前 2026-07-24 20:28

同 Skill 集合

payload/internal-skills/commands-wizard/SKILL.md
payload/internal-skills/mcp-wizard/SKILL.md
payload/internal-skills/skills-wizard/SKILL.md

元信息

文件数
0
版本
0.5.9
Hash
7b5723e1
收录时间
2026-07-24 20:28

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-18 03:19
浙ICP备14020137号-1