skill-development

skill-development

熱門

Skill Development Rules

3940星標
303分支
更新於 2026/1/26
要求的譯文尚未完成,目前顯示原始英文。
SKILL.md
唯讀
名稱
skill-development
描述

Skill Development Rules

Skill Development Rules

When working with files in .claude/skills/:

SKILL.md Structure

DO

  • Keep SKILL.md concise (< 200 lines)
  • Include clear "When to Use" section
  • Provide copy-paste bash commands
  • Reference scripts/ for MCP operations
  • Add triggers to skill-rules.json

DON'T

  • Include implementation details in SKILL.md
  • Duplicate content across skills
  • Create skills without corresponding trigger in skill-rules.json
  • Use allowed-tools that aren't needed

MCP Wrapper Skills

For skills that wrap MCP scripts:

  • Use allowed-tools: [Bash, Read] to restrict capabilities
  • Point to the script in scripts/ directory
  • Include parameter documentation