creating-agent-skills

Create and refine Claude Code Skills with YAML frontmatter and XML structure.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/jayteealao/blank-template --skill creating-agent-skills-jayteealao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-agent-skills
Source: https://github.com/jayteealao/blank-template/tree/main/.claude/skills/create-agent-skills
Command: npx skills add https://github.com/jayteealao/blank-template --skill creating-agent-skills-jayteealao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for creating, writing, and refining Claude Code Skills. It helps authors adhere to best practices and standard patterns, ensuring skills are well-structured and maintainable.

Core Features & Use Cases

  • Structured frontmatter guidance: ensures YAML frontmatter includes name, description, and optional fields like allowed-tools or model.
  • Pure XML body discipline: advocates using XML tags for all content to improve parseability and token efficiency.
  • Progressive disclosure: promotes dividing content into references, workflows, and scripts so Claude loads context on demand.
  • Router patterns and templates: outlines when to use a router-based skill, templates for repeatable outputs, and scripts for executable utilities.
  • Best practices and anti-patterns: provides concrete rules to improve quality and avoid common pitfalls.

Quick Start

Start with a minimal SKILL.md containing frontmatter and a small XML body, then gradually add references, workflows, and examples as needed.

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 YAML frontmatter for Claude skills?

Structure YAML frontmatter for Claude skills by including required name and description fields, alongside optional allowed-tools or model fields. This standard metadata ensures the skill is correctly parsed, categorized, and discoverable by the system.

How do I write a Claude Code skill using XML?

Write a Claude Code skill using pure XML tags for all body content to maximize parseability and token efficiency. Start with a minimal SKILL.md file containing the YAML frontmatter and a small XML body, then gradually expand.

What is progressive disclosure in skill authoring?

Progressive disclosure in skill authoring is the practice of dividing skill content into references, workflows, and scripts. This pattern ensures Claude loads context on demand rather than all at once, optimizing performance and token usage.

When should I use a router pattern for skill design?

Use a router pattern for skill design when creating complex skills that require routing logic to select specific workflows. This pattern is ideal for managing multiple distinct processes within a single, maintainable skill architecture.

What are common anti-patterns to avoid when creating Claude skills?

Common anti-patterns to avoid when creating Claude skills include mixing non-XML content into the body, overloading context upfront, and omitting required YAML frontmatter. Adhering to pure XML discipline and progressive disclosure prevents these structural pitfalls.

How do I start creating a minimal Claude skill?

Start creating a minimal Claude skill by defining a SKILL.md file with basic YAML frontmatter and a small XML body. Gradually add references, workflows, examples, and scripts as the complexity of your skill requirements grows.