PTENES
TRACK 3

🧬 A Skill's Anatomy

Inside SKILL.md: frontmatter, body, progressive disclosure in 3 levels, and the description that makes the skill trigger at the right time.

--- name + description --- # Markdown body ⚡
5
Modules
30
Topics
~3h30
Duration
Inter.
Level
3.1~40 min

📄 Inside SKILL.md

The complete file structure: YAML frontmatter, the name and description fields, the Markdown body, and the folder organization that makes a skill professional.

What it is:

Every SKILL.md has two parts: a YAML frontmatter block delimited by --- at the top, followed by the body in Markdown with the instructions.

Why learn:

It’s the skeleton of every skill. Get the structure wrong, and the agent won’t even recognize the file.

Key concepts:

delimiters --- · YAML · Markdown body · required fields

What it is:

The skill identifier — always in lowercase kebab case (e.g., frontend-design), unique within the agent.

Why learn:

It’s how the skill is referenced and installed. An ambiguous name or one with uppercase letters or spaces breaks activation.

Key concepts:

kebab-case · lowercase · uniqueness · same as the folder name

What it is:

The sentence the agent reads to decide whether to activate the skill. It should say what it does and exactly when to use it.

Why learn:

It’s the field that has the biggest impact on triggering. A vague description means a skill that never activates.

Key concepts:

trigger · WHAT + WHEN · usage examples · pushy

What it is:

The actual instructions. Written in imperative form, explaining WHY and showing output patterns and examples.

Why learn:

It’s where the actual behavior is defined. Long, unfocused text dilutes the skill.

Key concepts:

imperative · explain why · examples · no shouted MUSTs

What it is:

Folders alongside SKILL.md: scripts/ for deterministic code, references/ for on-demand docs and assets/ for templates.

Why learn:

Organizing resources keeps the SKILL.md lean and lets you load only what’s needed.

Key concepts:

scripts/ · references/ · assets/ · bundled resources

What it is:

Compare a 5-line SKILL.md with the actual frontmatter from Anthropic’s frontend-design skill.

Why learn:

Viewing a production example shows the level of detail a winning description contains.

Key concepts:

minimal example · real frontmatter · frontend-design · 488k installs

View Full
3.2~40 min

🎚️ Progressive disclosure & a description that triggers

The 3 loading levels of a skill, how to write a description that triggers at the right time, and how to organize content by domain.

What it is:

The skill loads in layers: metadata is always present, the body loads when triggered, and resources are available on demand.

Why learn:

Understanding the layers is what lets you write large skills without bloating the context.

Key concepts:

level 1 metadata · level 2 body · level 3 resources · context

What it is:

Only name + description (~100 words) stay loaded in the agent's context all the time.

Why learn:

It’s the only level that’s always present—that’s why the description has to carry the entire burden of triggering.

Key concepts:

~100 words · always loaded · context cost

What it is:

The Markdown body (recommended to be under 500 lines) only enters the context when the skill is activated.

Why learn:

Keeping the body concise improves the agent’s adherence to the instructions.

Key concepts:

<500 lines · loaded on trigger · focused

What it is:

Files in scripts/, references/, and assets/ — unlimited in size, read or run only when needed.

Why learn:

Scripts run without bringing the code into context — that’s how skills become powerful and inexpensive.

Key concepts:

unlimited · on demand · deterministic execution

What it is:

The art of writing the description: what it does, when to use it, and explicit triggers, while being a little pushy.

Why learn:

Claude tends to UNDERTRIGGER skills; a more assertive description fixes this.

Key concepts:

pushy · under-triggering · what + when + triggers

What it is:

Split references by domain (aws.md, gcp.md, azure.md) and add an index to files with more than 300 lines.

Why learn:

The agent reads only the relevant file, saving context and maintaining accuracy.

Key concepts:

domain-based splitting · selective reading · table of contents

View Full
3.3~45 min

⭐ The Best Anatomies to Imitate

Dissect the SKILL.md files of top skills—frontend-design, skill-creator, supabase, microsoft-foundry, and azure-ai—and see exactly what to copy from each frontmatter and structure.

What it is:

Learn to write SKILL.md by dissecting the most installed skills in the ecosystem and extracting their patterns.

Why learn:

Each champion skill solves a different trade-off; together they form a catalog of ready-made patterns.

Key concepts:

honest borrowing · form vs. content · trade-offs · pattern catalog

What it is:

Anthropic’s most installed skill; a description that says what it does, when to use it (with examples), and what sets it apart, without folders.

Why learn:

It’s the most common archetype: a single capability, one body of content, easy to maintain.

Key concepts:

action verb · examples as triggers · final differentiator · zero folders

What it is:

The canonical example of a large skill organized into folders (~33KB), with pointers from the body to the resources.

Why learn:

It’s the template for when there’s reusable code, long docs, and output templates.

Key concepts:

scripts/ · references/ · assets/ · pointers in the body

What it is:

Aggressive description that starts with "Use when doing ANY task" and lists Triggers by category.

Why learn:

It’s the standard when a skill is the gatekeeper for an entire platform and needs to trigger at any entry point.

Key concepts:

Triggers: categorized · assertive ANY · metadata · Core Principles

What it is:

Large skills that use USE FOR / DO NOT USE FOR in the description and a sub-skill table in the body.

Why learn:

It’s how to scale an operational skill without triggering it by mistake or losing control.

Key concepts:

USE FOR / DO NOT USE FOR · sub-skills table · pre-execution

What it is:

A quick decision guide: each anatomy is the answer to a question about your skill.

Why learn:

Knowing how to choose the right template keeps you from having to redo the structure later.

Key concepts:

single skill · multi-file · gatekeeper · large operational

View Full
3.4~45 min

🛠️ How to Create: Building a SKILL.md from Scratch

From an empty folder to a ready-to-use file: frontmatter with name and trigger description, imperative body with When to Use and Steps, when to create each folder, and a complete template to copy.

What it is:

The six-stop creation journey: intent, frontmatter, body, folders, package, iterate.

Why learn:

Having the map keeps you from starting too big; a valid SKILL.md starts with just frontmatter + body.

Key concepts:

six steps · start small · optional folders

What it is:

The skill identifier in lowercase kebab case, with no spaces or uppercase letters, matching the folder name.

Why learn:

A mismatch between name and folder breaks skill loading.

Key concepts:

kebab-case · lowercase · name = folder · no suffixes

What it is:

The description formula: what it does, when to use it, and concrete triggers, in ~100 punchy words.

Why learn:

It’s the only text that’s always loaded and what makes the skill trigger; Claude tends to under-trigger by default.

Key concepts:

formula · ~100 words · pushy · real keywords

What it is:

The Markdown body in imperative form, with a title, When to Use, numbered Steps, and Output Format.

Why learn:

It’s where the actual behavior is defined; explaining why works better than shouting MUSTs in all caps.

Key concepts:

imperative · When to Use · Steps · Output Format

What it is:

The trigger for creating each directory: deterministic → scripts/, long documents → references/, output → assets/.

Why learn:

Folders grow out of need, not aesthetics; every file needs a pointer in the body.

Key concepts:

scripts/ deterministic · references/ on demand · assets/ output

What it is:

A complete SKILL.md file, ready to use: frontmatter, When to Use, Steps, Output Format, and pointers to folders.

Why learn:

Copying, changing the names, and installing is the fastest way to create your first skill.

Key concepts:

ready-to-use template · installable · a base to iterate on

View Full
3.5~45 min

🚀 Advanced Tips: Multi-File and Routing

Real progressive disclosure: references/ organized by domain and read selectively, scripts/ that run without context, indexes in long files, SKILL.md under 500 lines, and well-used assets/.

What it is:

Put the 3 levels into practice: SKILL.md becomes a menu, and each file is loaded only when that route is chosen.

Why learn:

It’s what lets skills cover dozens of services without blowing up the context.

Key concepts:

menu · routes · selective loading · context savings

What it is:

Organize references by variant and let the body handle routing; the agent reads only the relevant file.

Why learn:

Three 300-line files save 66% of the context compared with one 900-line file and are easier to maintain.

Key concepts:

domain organization · routing table · selective reading

What it is:

Deterministic tasks become scripts that run and return only the output; the code never enters the context.

Why learn:

More reliable and cheaper than instructing the agent to reason step by step.

Key concepts:

deterministic · context-free execution · extraction of repeated helpers

What it is:

Add a table of contents at the top of every reference file over 300 lines long.

Why learn:

The agent goes straight to the right section without rereading the whole file; if it’s still large, split it up.

Key concepts:

index at the top · anchors · partition by subtopic

What it is:

Keep the body under 500 lines by moving details to references/ and leaving clear pointers.

Why learn:

The entire body enters the context with every activation; a hierarchy incurs the cost only when needed.

Key concepts:

500-line limit · move details · pointers for "when to read"

What it is:

assets/ stores templates, fonts, and icons filled in the output, distinct from references/ (which is read).

Why learn:

Complete the checklist of what distinguishes a toy skill from one like azure-ai or supabase.

Key concepts:

assets filled in · scripts vs. references vs. assets · final checklist

View Full

Learning path overview

3.1~40 min
📄 Inside SKILL.md

Two delimiters and everything changes. Dissect the frontmatter line by line.

3.2~40 min
🎚️ Progressive disclosure & the trigger

3 layers, low-cost context, and the description that triggers at the right time.

3.3~45 min
⭐ The Best Anatomies to Imitate

Dissect top skills and borrow what works from each frontmatter.

3.4~45 min
🛠️ Building a SKILL.md from Scratch

From an empty folder to a template ready to copy and install.

3.5~45 min
🚀 Multi-File and Routing

Real progressive disclosure, context-free scripts, and pointers.

← Home Track 4 →