用途
write-a-skill 用于创建新的智能体技能(agent skill),目标产物是结构规范、便于渐进式披露并附带必要资源的技能定义。当用户想要创建、编写或构建一个新技能时,可使用该技能。
主要能力
- 引导梳理任务/领域、使用场景、脚本与指令的取舍以及参考资料。
- 起草 SKILL.md;在额外文件超过 55 行时进行拆分;为确定性操作添加脚本。
- 支持与用户共同审查并迭代技能内容。
- 提供规范化的技能目录结构与 SKILL.md 模板。
- 提供 description 写作规范与正反示例。
- 提供发布前的审查清单。
使用方式
写作流程
- 明确任务/领域、使用场景、脚本与指令的划分,以及参考资料。
- 起草 SKILL.md;额外文件超过 55 行时拆分;为确定性操作添加脚本。
- 与用户一起审查并迭代。
技能结构
skill-name/
├── SKILL.md # Main instructions (required)
├── REFERENCE.md # Detailed docs (if needed)
├── EXAMPLES.md # Usage examples (if needed)
└── scripts/ # Utility scripts (if needed)
└── helper.js
SKILL.md 模板
---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---
# Skill Name
## Quick start
[Minimal working example]
## Workflows
[Step-by-step processes with checklists for complex tasks]
## Advanced features
[Link to separate files: See [REFERENCE.md](REFERENCE.md)]
description 规范
- 使用第三人称;先说明功能,再写 “Use when [触发条件]”;不超过 240 字符。
- 正面示例:Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.
- 反面示例:Helps with documents. —— 无法与其他技能区分。
审查清单
- Description 包含触发条件(“Use when...”)且不超过 240 字符。
- SKILL.md 正文不超过 55 行。
- 不含时间敏感信息。
- 术语一致。
- 包含具体示例。
- 引用只深一层。
适用场景
需要新建智能体技能、并希望其符合结构与文档规范时使用,例如编写技能的主指令文件、说明文档、示例和辅助脚本。
限制
资料未提供具体支持的平台、收费、价格或效果信息。