edit-skill

0xmsc's avatarfrom 0xmsc

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

⭐0starsšŸ”€0forksšŸ“View on GitHubšŸ•Updated Jan 10, 2026

When & Why to Use This Skill

This Claude skill provides a standardized framework and authoritative guide for developing, structuring, and maintaining Agent Skills. It streamlines the creation process by enforcing best practices for directory organization, metadata requirements, and modular documentation, ensuring that AI agent capabilities are scalable, maintainable, and easy to deploy.

Use Cases

  • Standardizing Skill Development: Use this guide to establish a consistent directory structure and metadata format when building new capabilities for AI agents.
  • Refactoring Legacy Prompts: Convert long-form agent instructions into a modular system by separating executable scripts, reference documentation, and core instructions.
  • Onboarding and Compliance: Ensure all team-contributed skills meet technical requirements, such as frontmatter specifications and imperative language standards, before deployment.
nameedit-skill
descriptionGuide 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

edit-skill – AI Agent Skills | Claude Skills