agentleFS
u9401066u9401066/template-is-all-you-need/.claude/skills/skill-generator/SKILL.md

skill-generator

Skill3 starsChanged 9 months agoApache-2.0View on GitHub

Generate new skills with standardized structure and frontmatter. Triggers: SG, new skill, 新增 skill, 建立技能, create skill, 新技能, 產生技能, generate skill, 技能模板, skill template, add skill, 加技能, make skill.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skill-iter-tune, skill-simplify and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zhao-wuyanSkill

    skill-iter-tune

    Iterative skill tuning via execute-evaluate-improve feedback loop. Uses ccw cli Claude to execute skill, Gemini to evaluate quality, and Agent to apply improvements. Iterates until quality threshold or max iterations. Triggers on "skill iter tune", "iterative skill tuning", "tune skill".

    Also in 3 projects that use this

  • zhao-wuyanSkill

    skill-simplify

    SKILL.md simplification with functional integrity verification. Analyze redundancy, optimize content, check no functionality lost. Triggers on "simplify skill", "optimize skill", "skill-simplify".

    Also in 3 projects that use this

  • +9 more from zhao-wuyan

The file

Files
SKILL.md

Skill 生成器

描述

自動生成符合標準的 SKILL.md 和資料夾結構。

觸發條件

  • 「新增 skill」「建立技能」「create skill」「SG」

標準格式規範

YAML Frontmatter(必要)

---
name: skill-name          # kebab-case 必須(小寫 + 連字號)
description: 描述         # 包含 WHAT + WHEN + Triggers
category: core            # core/workflow/meta/integration
version: 1.0.0            # SemVer
compatibility:            # 支援的平台(可選)
  - claude-code
  - github-copilot
  - vscode
allowed-tools:            # 可使用的工具(可選)
  - read_file
  - write_file
orchestrates:             # 組合的其他 skills(workflow 用)
  - skill-a
  - skill-b
---

命名規則

規則正確 ✅錯誤 ❌
kebab-casecode-reviewercodeReviewer, CodeReviewer
小寫git-precommitGit-Precommit
有意義test-generatortg, testgen
無底線memory-bankmemory_bank

資料夾結構

.claude/skills/
└── skill-name/
    ├── SKILL.md           # 主要技能定義(必要)
    ├── references/        # 詳細參考文檔(可選)
    │   ├── examples.md
    │   └── api.md
    ├── templates/         # 範本檔案(可選)
    │   └── template.py
    └── scripts/           # 輔助腳本(可選)
        └── helper.ps1

生成流程

Step 1: 收集資訊

❓ Skill 名稱:[輸入名稱,會自動轉 kebab-case]
❓ 描述:[一句話描述 + 觸發詞]
❓ 類別:[core/workflow/meta/integration]
❓ 需要額外資料夾嗎?[references/templates/scripts]

Step 2: 驗證

  • ✅ 名稱是 kebab-case
  • ✅ 名稱不重複
  • ✅ 描述包含觸發詞
  • ✅ 類別有效

Step 3: 生成

📁 建立 .claude/skills/{name}/
📄 建立 .claude/skills/{name}/SKILL.md
📁 建立子資料夾(如需要)
📝 更新 AGENTS.md skills 清單

使用範例

「新增 skill: api-tester」
「SG 建立 docker 管理技能」
「create skill for database migrations」

輸出範本

當你說「新增 skill: example-skill」,我會生成:

---
name: example-skill
description: [描述]. Triggers: [觸發詞列表].
category: core
version: 1.0.0
compatibility:
  - claude-code
  - github-copilot
  - vscode
---

# [Skill 名稱]

## 描述

[詳細描述]

## 觸發條件

- 「[觸發詞 1]」「[觸發詞 2]」

## 執行流程

[流程圖或步驟]

## 參數

| 參數 | 說明 | 預設 |
|------|------|------|
| `--option` | 說明 | false |

## 使用範例

[範例 1] [範例 2]


## 輸出格式

[預期輸出格式]

Token 預算指南

項目建議上限
SKILL.md 總行數< 300 行500 行
SKILL.md Token< 30005000
單個區塊< 50 行100 行

如果內容過長:

  1. 拆分到 references/ 子資料夾
  2. 使用連結引用
  3. 精簡主要邏輯

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.