Skill Creator
Helps author skills that live in skills/<name>/SKILL.md in this repo, so they work
correctly across Claude Code, Codex, Cursor, and any other Agent Skills-compatible client.
When to use this
- The user says "make this a skill", "turn this into a skill", "create a skill for X".
- The user asks you to review, clean up, or fix an existing
SKILL.md.
- You're scaffolding this repo's own tooling-adjacent skills.
Instructions
Clarify the task the skill captures. Ask (or infer from context): what triggers
this skill, and what should the agent actually do once activated? A skill should
cover one coherent capability — split unrelated workflows into separate skills.
Pick the name. Lowercase, hyphenated, 1–64 chars, no leading/trailing/double
hyphens (e.g. pdf-processing, not PDF-Processing or -pdf). The folder name
under skills/ must match frontmatter.name exactly.
Scaffold it. Run:
npm run new <skill-name>
This copies templates/skill-template/SKILL.md into skills/<skill-name>/ with the
name pre-filled.
Write the description first — it matters most. Agents only see name and
description at startup (progressive disclosure, stage 1). A vague description
means the skill never activates. State both what it does and when to use it,
with concrete keywords a real task would mention.
- Weak:
Helps with PDFs.
- Strong:
Extracts text and tables from PDF files, fills PDF forms, and merges multiple PDFs. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction.
Write the body for an agent, not a human reader. Step-by-step instructions,
concrete examples, and edge cases. Keep it under ~500 lines / ~5000 tokens — this
whole file is loaded into context once the skill activates (progressive disclosure,
stage 2). See references/skill-spec.md for the full frontmatter rules.
Push detail out of SKILL.md. Anything long, occasionally-needed, or reference-y
(API details, exhaustive option lists, background reading) goes in references/,
and is loaded only if the agent follows a link there (stage 3). Executable helpers
go in scripts/; templates or static files go in assets/. Keep file references
one level deep from SKILL.md — don't chain references to references.
Validate.
npm run validate
Fixes anything it flags: name/folder mismatch, missing/oversized description,
oversized body, dangling file references.
Self-review against the checklist in references/checklist.md before calling
the skill done.
Update the README table:
npm run sync-readme
Reviewing an existing skill
Read the target SKILL.md, then walk it against references/checklist.md and
references/skill-spec.md. Report concrete fixes (not just "looks fine") — e.g. "the
description doesn't say when to use this skill" or "this 800-line body should move
its API reference into references/".
Reference files
references/skill-spec.md — condensed Agent Skills frontmatter/layout spec.
references/checklist.md — pre-flight checklist for a finished skill.
1---2name: skill-creator3description: Scaffolds and reviews new agent skills for this repository, following the Agent Skills spec (SKILL.md frontmatter, progressive disclosure, references/scripts/assets layout). Use when the user asks to create a new skill, turn a workflow or piece of expertise into a skill, or review/improve an existing SKILL.md.4---56# Skill Creator78Helps author skills that live in `skills/<name>/SKILL.md` in this repo, so they work9correctly across Claude Code, Codex, Cursor, and any other Agent Skills-compatible client.1011## When to use this1213- The user says "make this a skill", "turn this into a skill", "create a skill for X".14- The user asks you to review, clean up, or fix an existing `SKILL.md`.15- You're scaffolding this repo's own tooling-adjacent skills.1617## Instructions18191. **Clarify the task the skill captures.** Ask (or infer from context): what triggers20 this skill, and what should the agent actually do once activated? A skill should21 cover one coherent capability — split unrelated workflows into separate skills.22232. **Pick the name.** Lowercase, hyphenated, 1–64 chars, no leading/trailing/double24 hyphens (e.g. `pdf-processing`, not `PDF-Processing` or `-pdf`). The folder name25 under `skills/` must match `frontmatter.name` exactly.26273. **Scaffold it.** Run:2829 ```bash30 npm run new <skill-name>31 ```3233 This copies `templates/skill-template/SKILL.md` into `skills/<skill-name>/` with the34 name pre-filled.35364. **Write the description first — it matters most.** Agents only see `name` and37 `description` at startup (progressive disclosure, stage 1). A vague description38 means the skill never activates. State both *what it does* and *when to use it*,39 with concrete keywords a real task would mention.40 - Weak: `Helps with PDFs.`41 - Strong: `Extracts text and tables from PDF files, fills PDF forms, and merges42 multiple PDFs. Use when working with PDF documents or when the user mentions43 PDFs, forms, or document extraction.`44455. **Write the body for an agent, not a human reader.** Step-by-step instructions,46 concrete examples, and edge cases. Keep it under ~500 lines / ~5000 tokens — this47 whole file is loaded into context once the skill activates (progressive disclosure,48 stage 2). See `references/skill-spec.md` for the full frontmatter rules.49506. **Push detail out of SKILL.md.** Anything long, occasionally-needed, or reference-y51 (API details, exhaustive option lists, background reading) goes in `references/`,52 and is loaded only if the agent follows a link there (stage 3). Executable helpers53 go in `scripts/`; templates or static files go in `assets/`. Keep file references54 one level deep from SKILL.md — don't chain references to references.55567. **Validate.**5758 ```bash59 npm run validate60 ```6162 Fixes anything it flags: name/folder mismatch, missing/oversized description,63 oversized body, dangling file references.64658. **Self-review against the checklist** in `references/checklist.md` before calling66 the skill done.67689. **Update the README table:**6970 ```bash71 npm run sync-readme72 ```7374## Reviewing an existing skill7576Read the target `SKILL.md`, then walk it against `references/checklist.md` and77`references/skill-spec.md`. Report concrete fixes (not just "looks fine") — e.g. "the78description doesn't say *when* to use this skill" or "this 800-line body should move79its API reference into `references/`".8081## Reference files8283- `references/skill-spec.md` — condensed Agent Skills frontmatter/layout spec.84- `references/checklist.md` — pre-flight checklist for a finished skill.