界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

skill-development

skill-development

【开发与工程】Skill Development Rules

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: skill-development description: Skill Development Rules user-invocable: false

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
我的收藏