write-skill

Meta-skill for creating high-quality SKILL.md files. Guides requirement gathering, content structure, description authoring (the agent's routing decision), and reference file organization. Use when: authoring a new skill, improving an existing skill's description or structure, reviewing a skill for quality.

33 stars

Best use case

write-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Meta-skill for creating high-quality SKILL.md files. Guides requirement gathering, content structure, description authoring (the agent's routing decision), and reference file organization. Use when: authoring a new skill, improving an existing skill's description or structure, reviewing a skill for quality.

Teams using write-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/write-skill/SKILL.md --create-dirs "https://raw.githubusercontent.com/theneoai/awesome-skills/main/skills/workflow/meta/write-skill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/write-skill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How write-skill Compares

Feature / Agentwrite-skillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Meta-skill for creating high-quality SKILL.md files. Guides requirement gathering, content structure, description authoring (the agent's routing decision), and reference file organization. Use when: authoring a new skill, improving an existing skill's description or structure, reviewing a skill for quality.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Write a Skill

## One-Liner

The description field is your agent's only routing signal — get it right first, then write the content.

---

## § 1 · Core Insight

When an agent decides which skill to load, it reads the **description field** and nothing else. If the description is vague, the wrong skill gets loaded. If it is missing trigger language, the skill never loads at all.

**Everything else matters less.** A brilliant skill body attached to a weak description is effectively invisible to agents.

---

## § 2 · Workflow

### Phase 1 — Requirements Gathering

Before writing anything, answer:

1. **What capability does this skill provide?** (one sentence)
2. **When should it trigger?** (list 3–5 concrete user intents)
3. **What does it produce?** (artifact, behavior change, decision)
4. **Does it need executable scripts or just text instructions?**
   - Scripts: deterministic, repeatable operations where errors need explicit handling
   - Text: guidance, methodology, persona
5. **What skills is it composable with?** (list existing skills it pairs with)
6. **What skills overlap with it?** (how is this different from those?)

### Phase 2 — Write the Description First

The description must:

| Requirement | Detail |
|-------------|--------|
| State capability | What the skill provides in plain English |
| Include "Use when:" | Explicit trigger list (comma-separated intents) |
| Stay under 400 chars | Long descriptions get truncated by agent runtimes |
| Use third-person voice | "Guides the agent to..." not "Guide the agent to..." |
| Avoid vague verbs | Not "helps with X" — instead "executes X, produces Y" |

**Template:**
```
<What it does in one clause>. <What it produces>. Use when: <intent 1>, <intent 2>, <intent 3>.
```

**Example (weak):**
> "Helps with debugging and fixing bugs in code."

**Example (strong):**
> "Structured six-phase debugging workflow centered on building a reliable feedback loop before theorizing. Use when: debugging hard-to-reproduce issues, performance regression, mysterious failures, agent-assisted root cause analysis."

### Phase 3 — Draft the Skill Body

Structure the `SKILL.md` as follows:

```markdown
---
[frontmatter]
---

# Skill Name

## One-Liner
[Single sentence — the elevator pitch]

---

## § 1 · Core Philosophy / Purpose
[Why this skill exists. What mental model it instills.]

## § 2 · Workflow
[Step-by-step. Each phase has a clear gate/done condition.]

## § 3 · [Domain-specific section]
[Checklists, reference tables, heuristics]

## § 4 · When to Use This Skill
[Explicit "Use when" and "Do NOT use when" lists]

## § 5 · Relationship to Other Skills
[Skill pairing table]
```

**Line budget:** Keep the main `SKILL.md` under 200 lines. If it exceeds this, move sections to `references/` files and link them.

### Phase 4 — Organize Reference Files

Split content into `references/` when:
- The section is long but only needed occasionally (scenario examples, deep how-to)
- The section contains multiple distinct domains
- The main file exceeds 200 lines

Reference files are loaded **on demand** — they do not increase the token cost of every skill activation.

### Phase 5 — User Review

Present the draft description first. Ask: "Does this capture when an agent should load this skill?"

Only proceed to the full body review after the description is approved.

---

## § 3 · Description Quality Checklist

| Check | Pass | Fail |
|-------|------|------|
| Capability clear | "Structured debugging workflow" | "Helps with bugs" |
| Trigger language | Contains "Use when:" | No trigger language |
| Under 400 chars | ✓ | Exceeds limit |
| Third-person | "Guides the agent" | "Guide the agent" |
| Specific verb | "executes", "produces", "converts" | "helps", "assists" |
| No overlapping skills | Differentiated from similar skills | Identical description to another |

---

## § 4 · Frontmatter Reference

```yaml
name: kebab-case-id          # required; matches folder name
kind: persona|workflow|tool|template|composite   # required
version: 1.0.0               # required
description: "..."           # required; the routing signal
tags:
  - domain: <category>
  - subtype: <role-or-workflow>
  - methodology: <approach>  # for workflow skills
license: MIT
```

For `kind: workflow` skills — use present-tense imperative verbs in phase titles ("Build the loop", "Map the modules").  
For `kind: persona` skills — use declarative identity statements ("You are a...").

---

## § 5 · When to Use This Skill

**Use when:**
- Authoring a new skill from scratch
- Improving a skill that agents are failing to load correctly
- Reviewing a skill contribution for quality
- Teaching someone the SKILL.md format

**Do NOT use when:**
- Installing an existing skill (use the install guide)
- Searching for a skill to use (browse the catalog)

Related Skills

science-writer

33
from theneoai/awesome-skills

Expert Science Writer with 15+ years in science communication, translating complex research for public and professional audiences. Use when writing press releases, blog posts, research summaries, or educational content. Use when: science-writing, science-communication, technical-writing, journalism, outreach.

medical-writer

33
from theneoai/awesome-skills

Elite medical writer specializing in clinical study reports, regulatory submissions, manuscripts, and scientific communications. Translates complex clinical and scientific data into clear, accurate, and compelling documents for regulatory, publication, and educational purposes.

ai-short-drama-scriptwriter

33
from theneoai/awesome-skills

AI短剧编剧,专精为Seedance 2.0短剧生产设计剧本结构。精通"钩子-发展-反转-收尾"四段式、悬念节点设计、对白精简原则、分集结构规划和AI可生成的视觉化台词写作。Use when: 短剧剧本, 钩子设计, 悬念节点, 对白, 分集结构, script writing for short drama.

scriptwriter

33
from theneoai/awesome-skills

Expert screenwriter for film, TV, theater, and interactive media. Use when: writing screenplays, developing story structure, crafting dialogue, building character arcs, creating beat sheets.

copywriter

33
from theneoai/awesome-skills

Expert copywriter with 12+ years experience in conversion copywriting, brand voice, email sequences, and ads. Writes landing pages, sales emails, ad copy, and brand messaging. Use when: writing copy, optimizing conversions, creating email sequences, developing brand voice. Triggers: "write copy", "landing page", "email sequence", "ad copy", "brand voice

wechat-writer-kit

33
from theneoai/awesome-skills

公众号文章写作全流程助手(通用版)。支持多账号管理,适用于任何公众号方向。 当用户说"今天写什么"、"帮我写公众号"、"选题"、"公众号选题"、"写文章"、 "公众号文章"、"更新公众号风格"、"这篇文章写得好"、"新建公众号"时触发。 支持完整工作流:初始化/切换账号画像 → 搜索热门话题生成选题 → 选题确认 → 文章创作 → 存档到企业微信文档 → 持续学习风格。

tech-writer

33
from theneoai/awesome-skills

Expert Technical Writer with 12+ years producing developer documentation for APIs, SDKs, and enterprise software. Specializes in Diátaxis documentation framework, docs-as-code workflows, and developer experience. Use when: writing API documentation, creating developer guides, implementing docs-as-code pipelines, designing tutorials, conducting documentation audits, or improving developer

status-update-writer

33
from theneoai/awesome-skills

>

caveman

33
from theneoai/awesome-skills

Ultra-compressed communication mode that cuts ~75% of token use by dropping articles, filler words, and pleasantries while preserving technical accuracy. Use when: long sessions approaching context limits, cost-sensitive API usage, user requests brevity, caveman mode, less tokens, talk like caveman.

zoom-out

33
from theneoai/awesome-skills

Codebase orientation skill: navigate unfamiliar code by ascending abstraction layers to map modules, callers, and domain vocabulary. Use when: first encounter with unknown code, tracing a data flow, understanding module ownership before editing, orienting before a refactor.

to-prd

33
from theneoai/awesome-skills

Converts conversation context into a structured Product Requirements Document (PRD) and publishes it to the project issue tracker. Do NOT interview the user — synthesize what is already known. Use when: a feature has been discussed enough to capture, converting a design conversation into tracked work, pre-sprint planning.

tdd-workflow

33
from theneoai/awesome-skills

Test-driven development workflow using vertical slices (tracer bullets). Enforces behavior-first testing through public interfaces. Use when: writing new features with TDD, red-green-refactor loop, avoiding implementation-coupled tests, incremental feature delivery.