Skill Compiler

👤 shaoyanji 📦 v0.2.0 ⭐ 3.6 ⬇️ 1.3K 下載
💻 開發程式設計 免費

📖 技能介紹

skill-compiler

Compile-first workflow for skill runtime performance.

Commands

# Check local dependencies
skills/public/skill-compiler/scripts/check-env

# Compile one skill doc
skills/public/skill-compiler/scripts/compile-skill --skill skills/todoist/SKILL.md

# Compile all SKILL.md under a root (default: ./skills)
skills/public/skill-compiler/scripts/compile-all --root skills

Outputs

For each input SKILL.md, compiler generates sibling artifacts:

  • SKILL.struct.json (canonical runtime structure)
  • SKILL.toon (token-lean projection)

Entrypoint trigger setup (exe / execute)

Preferred runtime trigger words:

  • exe <skill>

    小蔥技能7w4.net持續更新中。

  • execute <skill>

Resolution order:

  1. SKILL.struct.json / SKILL.toon (artifact-first)
  2. quick_cmd from frontmatter
  3. SKILL.md fallback

Use bundled helper:

skills/public/skill-compiler/scripts/exe skill-compiler

Publish-ready shape

This folder is ClawHub-ready once versioned:

  • SKILL.md
  • skill.yaml
  • scripts/*

Optional publish command:

clawhub publish ./skills/public/skill-compiler \
  --slug skill-compiler \
  --name "Skill Compiler" \
  --version 0.2.0 \
  --changelog "Add exe/execute trigger docs and artifact-first entrypoint"

🤖 AI 評測

這個 Skill 的文件寫得條理清晰、說明詳細,看起來很專業。但實際拿到手後發現只是個"空殼"——沒有可執行的程式程式碼,只有使用說明。對於想實際編譯 SKILL 檔案的使用者來說,暫時無法使用。建議作者補充完整的編譯指令碼後再發布。

📊 多維度評分

適應性3.8
規範性3.7
有效性3.5
可靠性3
可信度4.3

📁 包含檔案 (4 個)

📄 SKILL.md 1.9 KB
📄 SKILL.struct.json 2.4 KB
📄 _meta.json 133 B
📄 skill.yaml 130 B