Skip to main content

write-a-skill

Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.

来源信息

仓库
redpanda-data/ui-harness
最近来源活动
2026年5月8日 11:21
检测到的 SKILL.md 语言
英语
星标
34
分支
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
write-a-skill
description
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
# Write a Skill ## 1. Gather Requirements Ask: domain/task? Primary use cases? Scripts needed? Reference materials? ## 2. Draft Structure skill-name/ ├── SKILL.md # Main instructions (required, <100 lines) ├── REFERENCE.md # Detailed docs (if SKILL.md would exceed 100 lines) ├── EXAMPLES.md # Usage examples (if needed) └── scripts/ # Utility scripts (if needed) ## 3. Description Max 1024 chars, third person. First sentence: what does. Second: "Use when [triggers]." ## 4. Add Scripts When - Operation deterministic (same code every time) - Same code generated repeatedly without script - Errors need explicit handling ## 5. Split Files When - SKILL.md exceeds 100 lines - Distinct domains (reference tables vs workflow) - Advanced features rarely needed (progressive disclosure) ## 6. Review Checklist - [ ] Description includes trigger phrases - [ ] SKILL.md under 100 lines - [ ] No time-sensitive info (dates, versions) - [ ] Consistent terminology - [ ] Concrete examples included - [ ] References one level deep (SKILL->REFERENCE, not SKILL->REF1->REF2)
在 GitHub 查看