write-a-skill
Installation
SKILL.md
Writing Skills
Process
-
Gather requirements — 询问用户:
- skill 覆盖什么 task/domain?
- 应处理哪些具体 use cases?
- 需要 executable scripts,还是只需要 instructions?
- 是否有 reference materials 要包含?
-
Draft the skill — 创建:
- 带 concise instructions 的 SKILL.md
- 如果内容超过 500 行,创建 additional reference files
- 如果需要 deterministic operations,创建 utility scripts
-
Review with user — 展示 draft 并询问:
- 是否覆盖你的 use cases?
- 是否缺失或不清楚?
- 是否有 section 应更详细或更简短?