creating-agent-skills

Guide authors to design Claude Code Skills with SKILL.md structures and validation practices.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/compojoom/safe-engineering-plugin --skill creating-agent-skills-compojoom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-agent-skills
Source: https://github.com/compojoom/safe-engineering-plugin/tree/main/plugins/safe-engineering/skills/create-agent-skills
Command: npx skills add https://github.com/compojoom/safe-engineering-plugin --skill creating-agent-skills-compojoom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for designing, writing, and refining Claude Code Skills. It helps authors structure SKILL.md with YAML frontmatter, pure XML bodies, and progressive disclosure, while furnishing patterns, references, and workflows to ensure consistency and quality.

Core Features & Use Cases

  • Structured skill templates: Recommends SKILL.md frontmatter, router pattern when needed, and progressive disclosure to keep content manageable.
  • Reference & workflow guidance: Provides reference files and workflow templates for build, debug, validate, and ship tasks.
  • Quality assurance: Includes validation strategies, XML structure rules, and anti-patterns to prevent common mistakes.

Quick Start

To start, create a new skill using the standard SKILL.md template, add a minimal SKILL.md with frontmatter, then link a simple reference and one basic workflow. Use progressive disclosure to keep the main file concise.

Frequently Asked Questions about creating-agent-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a SKILL.md file for Claude Code?

Structure a SKILL.md file by combining YAML frontmatter for metadata, a pure XML body for content, and progressive disclosure to link external references, keeping the main file concise and manageable.

What is progressive disclosure in skill authoring?

Progressive disclosure in skill authoring is a design pattern that keeps the main SKILL.md minimal by linking to separate reference files and workflows, preventing context overload and maintaining Claude Code processing efficiency.

How do I validate and test Claude Code skills before shipping?

Validate and test Claude Code skills by applying XML structure rules, checking YAML frontmatter consistency, and running the skill against provided build, debug, validate, and ship workflow templates to catch anti-patterns.

When should I use a router pattern in my skill design?

Use a router pattern in skill design when your SKILL.md needs to direct Claude Code to multiple distinct workflows or references, ensuring the agent loads only the necessary context for a specific task.

What are common anti-patterns when writing YAML frontmatter and XML content?

Common anti-patterns include overloading the main SKILL.md with excessive content instead of using progressive disclosure, writing invalid XML structures, and failing to properly define YAML frontmatter metadata for Claude Code routing.

Can I create a maintainable Claude Code skill without external references?

Creating a maintainable Claude Code skill without external references is possible but discouraged. The standard approach uses progressive disclosure and linked reference files to keep the core SKILL.md manageable as complexity grows.