Agent skill
unknown-majiayu000-claude-skill-registr-263
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/unknown-majiayu000-claude-skill-registr-263
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-case | code-reviewer |
codeReviewer, CodeReviewer |
| 小寫 | git-precommit |
Git-Precommit |
| 有意義 | test-generator |
tg, testgen |
| 無底線 | memory-bank |
memory_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 | < 3000 | 5000 |
| 單個區塊 | < 50 行 | 100 行 |
如果內容過長:
- 拆分到
references/子資料夾 - 使用連結引用
- 精簡主要邏輯
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?