skill-authoring
skill-authoring
Authors or revises Agent Skills SKILL.md files—frontmatter triggers, progressive disclosure, and lint-friendly structure. Use when creating a new skill, improving an undertriggered description, splitting an oversized skill body, or aligning with the Agent Skills standard (agentskills.io). Harvest patterns from peer repos but write original instructions for this library.
- Category
- Category: documentation
- skill
- authoring
- frontmatter
- description
- agentskills
- trigger
Install this skill
npx github:yingkitw/skillsheet --remote --tool claude-code --only skill-authoringFetches the latest published version from skillsheet.dev — the first run installs the package from GitHub, after that npx caches it.
Or use the standard CLI
npx skills add yingkitw/skillsheet --skill skill-authoringWorks with any of the ~79 agents the skills CLI supports — add -a <agent> to pick one.
Related on the ecosystem
Peer skills on skills.sh and upstream repos (inspiration only — not shipped in this library).
- skill-creator — Search on skills.sh · anthropics/skills
name: skill-authoring description: Authors or revises Agent Skills SKILL.md files—frontmatter triggers, progressive disclosure, and lint-friendly structure. Use when creating a new skill, improving an undertriggered description, splitting an oversized skill body, or aligning with the Agent Skills standard (agentskills.io). Harvest patterns from peer repos but write original instructions for this library. category: documentation keywords: skill, authoring, frontmatter, description, agentskills, trigger
Skill Authoring
When to apply
Use when adding a skill to a curated library, when agents rarely activate an existing skill (weak description), or when a skill body has grown past a single-screen workflow. Inspired by anthropics/skills (skill-creator) and agentskills.io; adapted to Skillsheet's lint rules.
Anatomy (standard layout)
skills/<slug>/
└── SKILL.md # required — YAML frontmatter + Markdown body
Optional bundled dirs (scripts/, references/, assets/) exist in the ecosystem; this library is Markdown-only unless the project explicitly adds bundle support.
Frontmatter (Skillsheet)
| Key | Required | Notes |
|---|---|---|
name | Yes | Must equal directory slug (^[a-z0-9]+(-[a-z0-9]+)*$). |
description | Yes | ≤ 500 chars. What + when — the primary trigger; put "when to use" here, not only in the body. |
category | Recommended | Single slug for catalog chips/packs. |
keywords | Recommended | ≤ 10 tags, each ≤ 40 chars — search, not triggers. |
Peer pattern (Anthropic): descriptions tend to undertrigger — include concrete user phrases and adjacent tasks ("even if they don't say 'skill'") without keyword stuffing.
Body structure
- When to apply — short situational gate (body reinforces, does not replace,
description). - Workflow — numbered steps the agent can follow under pressure.
- Rules / anti-patterns — what not to do.
- Related skills —
[slug](/skills/slug)links for handoffs. - Worked example (optional) — one realistic mini-scenario.
Keep the body under ~500 lines. Move long reference tables to a separate doc in the host repo (not inside the skill) until bundled references/ is supported.
Authoring workflow
- Intent — One sentence: what capability should exist after the skill fires?
- Trigger draft — Write
descriptionfirst; read it aloud as "would an agent pick this for task X?" - Skeleton — Create
skills/<slug>/SKILL.md;namematches slug. - Wire the library — Add a situation row to choose-skill in the same change.
- Verify — Run
bun run test(content lint +chooseSkillRoutercoverage gate for the routing table).
Quality checks before merge
-
name=== directory name - Description states what and when within length caps
- Body is non-empty and scannable (headings, lists, one primary workflow)
- Related skills use real slugs in this library
- No vendor doc dump — distill peer ideas into original prose
Related skills
- peer-skill-harvest — When the new skill should come from ecosystem research, not greenfield authoring.
- housekeeping-docs — When the skill ships alongside README/ARCHITECTURE/TODO updates.
- choose-skill — Router table must gain a row for every new skill.