edit-skill

0xmsc 的头像作者 0xmsc

Guide for creating and editing Agent Skills. Use this skill when you need to create or modify a skill.

📖 中文导读:Guide for creating and editing Agent Skills. Use this skill when you need to create or modify a skill. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: edit-skill description: Guide for creating and editing Agent Skills. Use this skill when you need to create or modify a skill.

Edit Skill

Skill Structure

skill-name/
├── SKILL.md          # instructions + metadata
├── scripts/          # executable code (optional)
├── references/       # documentation (optional)
└── assets/           # templates/resources (optional)

Requirements

  • Frontmatter: Must include name (lowercase-alphanumeric) and description.
  • Description: Must include what it does and when to use it.
  • Body: Keep under 500 lines. Use imperative language.
  • Resources: Move detailed docs to references/ and code to scripts/.

Process

  1. Directory: mkdir <name>. Create scripts/, references/, or assets/ only if you actually have content for them.
  2. Metadata: Write the SKILL.md frontmatter first.
  3. Resources: Implement scripts and test them.
  4. Instructions: Write concise steps in SKILL.md body.
  5. Verify: Ensure frontmatter name matches directory name.

References