A skill is a folder plus a SKILL.md. No build step, no dependencies. Write it correctly and the agent uses it; get it wrong and it never triggers.

This post covers the minimal structure, the most important field, and three mistakes that break skills.

1. Minimal structure

my-skill/
├── SKILL.md        # required
└── README.md       # recommended

SKILL.md has two parts: front matter and instructions.

---
name: weekly-report
description: Turn scattered notes into a weekly report. Use when the user asks for a weekly report or gives meeting notes to summarize.
---

# Weekly Report

## When to use
- The user asks for a weekly report
- Meeting notes or a raw log are provided

## Steps
1. Extract: dates, completed items, blockers, next steps
2. Rewrite in weekly-report format, adding no facts
3. Output Markdown

## Output format
```markdown
## Done this week
- ...
## Blockers
- ...
## Next week
- ...
```

## Rules
- Never invent data; write "not mentioned" when missing

2. The most important field is description

The agent uses description to decide whether to load the skill. It needs two things:

  1. What it does (one sentence);
  2. When to use it (Use when ...).

Bad:

❌ description: A useful weekly report tool

Good:

✅ description: Turn scattered notes into a weekly report. Use when the user asks for a weekly report or wants meeting notes summarized.

3. Three common mistakes

Mistake 1: one skill does too much

“Write reports + build slides + send email” — each part suffers, and trigger conditions collide.

Split it: one job per skill.

Mistake 2: vague instructions

❌ “Make it professional” ✅ “Output three sections — done / blockers / next — with at most five bullets each”

Vague instructions produce different results every time.

Mistake 3: no fixed output format

Without a format, every run returns a different structure you can’t reuse.

Fix the output, even if it’s only a three-line template.

4. How to test

Run at least three prompts:

TypeExampleExpectation
Normal trigger“Turn these notes into a weekly report”loads and outputs
Edge case“Only two notes”still follows format, invents nothing
Should not trigger“What’s the weather?”does not load

The third matters most: not triggering proves the description isn’t too broad.

5. A complete example

A working SKILL.md for meeting notes is about 40 lines:

---
name: meeting-notes
description: Turn meeting notes into structured minutes. Use when the user provides a transcript or notes and asks for minutes.
---

## When to use
- The user provides a transcript or notes
- The user asks for "minutes" or a "meeting summary"

## Steps
1. Extract date, attendees, topics, decisions, action items (with owners)
2. Write "not mentioned" for missing fields; never invent
3. Output using the template

## Output format
- Date / attendees
- Topics (one line each)
- Decisions (verifiable conclusions)
- Action items: task — owner — due

## Rules
- Don't summarize as "the meeting was productive"
- Every decision must be traceable to the source

6. Five tips for more reliable skills

  1. Narrow the trigger: add constraints to description; never “all-in-one assistant”;
  2. Fix the output: give a template, not “organize as needed”;
  3. State what not to do: Rules banning invented facts and embellishment;
  4. Handle missing data: require “not mentioned” instead of improvisation;
  5. Keep a version: version + changelog so changes are traceable.

7. Publishing

  • For yourself: drop it into ~/.claude/skills/<name>/;
  • To share: submit it to this site’s library (see About); I’ll check the license, package it, and generate bilingual pages.

A good reference: skill-creator is itself a skill for writing skills.

8. In one sentence

Skill quality isn’t about how long the instructions are — it’s about how clearly “when to use” is written.

Get the next essay

New essays on products, business and tech — plus what the experiment's numbers actually say.