I need help creating or optimizing an AgentSkill.
Skill name:
[your-skill-name]
Purpose:
What the skill does and when it should activate.
Triggers:
What kinds of tasks or questions should activate this skill.
Tools needed:
Any tools, commands, or APIs the skill will use.
Reference docs:
Docs or specs that should live in references/ for on-demand loading.
Existing skill (if applicable):
Path to the current SKILL.md if this is a refactor.
Please:
- Create or optimize the skill following AgentSkills best practices
- Keep the core workflow in SKILL.md and move details into references/
- Keep SKILL.md under ~500 lines
- Validate the structure using the AgentSkills validator
- Show the final file structure and contents
1---2name: "skill-builder-prompt-workflow"3description: "技能构建提示词工厂"4metadata:5 source: https://skillmd.com/skills/yangyuchen-work/skill-builder-prompt-workflow6---78# 技能构建提示词工厂910## 适用场景11| 方法论 | AgentSkills 规范 | 统一技能结构与触发规则 | [agentskills.io](https://agentskills.io/) |;## 稳定自动版(可长期运行)1213## 功能说明14# 技能构建提示词工厂1516> 用一份标准提示词,持续产出更短、更稳、更省 token 的 AgentSkill。1718## 这个案例能帮你做什么1920- 把“写技能”从一次性创作变成可复用流程。21- 强制 SKILL.md 聚焦核心流程,避免文件膨胀。22- 将细节分流到 `references/`,提升维护性和上下文效率。2324## 你需要的 Skills(按类型)2526| 类型 | Skill / 工具 | 用途 | 来源 |27|---|---|---|---|28| 方法论 | AgentSkills 规范 | 统一技能结构与触发规则 | [agentskills.io](https://agentskills.io/) |29| 内置(可选) | 文件系统工具 | 创建/重构技能目录 | OpenClaw Built-in |3031## 快速体验版(先跑一轮)3233直接复制原文模板,让 OpenClaw 生成一个新技能:3435```text36I need help creating or optimizing an AgentSkill.3738Skill name:39[your-skill-name]4041Purpose:42What the skill does and when it should activate.4344Triggers:45What kinds of tasks or questions should activate this skill.4647Tools needed:48Any tools, commands, or APIs the skill will use.4950Reference docs:51Docs or specs that should live in references/ for on-demand loading.5253Existing skill (if applicable):54Path to the current SKILL.md if this is a refactor.5556Please:57- Create or optimize the skill following AgentSkills best practices58- Keep the core workflow in SKILL.md and move details into references/59- Keep SKILL.md under ~500 lines60- Validate the structure using the AgentSkills validator61- Show the final file structure and contents62```6364## 稳定自动版(可长期运行)6566### 1) 新建技能(原文示例)6768- 明确 `Skill name / Purpose / Triggers / Tools needed / Reference docs`69- 强制 `SKILL.md` 控制在 ~500 行以内7071### 2) 重构现有技能(原文示例)7273- 指定现有路径:`~/.openclaw/workspace/skills/.../SKILL.md`74- 目标:从 1800 行降到 ~500 行75- 细节迁移到 `references/`7677### 3) 推荐目录(原文)7879```text80skills/81└── your-skill-name/82 ├── SKILL.md83 ├── references/84 │ ├── api-docs.md85 │ └── examples.md86 └── scripts/87 └── helper.sh88```8990## 成功标准91- SKILL.md 聚焦触发与核心流程,无冗余说明。92- 细节文档分离到 references,按需加载。93- 技能可维护、可复用、token 开销可控。9495## 源文件96来源:awesome-openclaw-zh 97原始文件:skill-builder-prompt-workflow.md
Run npx get-skill add yangyuchen-work/skill-builder-prompt-workflow in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
技能构建提示词工厂 It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: makes network calls, reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
YangYuChen-Work (@yangyuchen-work) published this skill. Their other Agent Skills are listed on their SkillMD profile.