Skip to content
Skills Library
AI & agents · Review & audit

skill-authoring

/skill-authoring

Use when creating or modifying a skill — defines structure, size budget, description format, and review checklist for all skills in the plugin

Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when creating or modifying a skill — defines structure, size budget, description format, and review checklist for all skills in the plugin

Original author description

Use when creating or modifying a skill — defines structure, size budget, description format, and review checklist for all skills in the plugin

How it works

  1. Size Budget (ADR-001)
  2. Frontmatter
  3. Description Format
  4. File Structure
  5. Progressive Disclosure
  6. Scripts
  7. Review Checklist
Original SKILL.md headings · 78 lines, 467 words
SKILL.md preview
---
name: skill-authoring
description: Use when creating or modifying a skill — defines structure, size budget, description format, and review checklist for all skills in the plugin
---

# Skill Authoring Guide

## Size Budget (ADR-001)

SKILL.md files must stay **under 100 lines**. If content exceeds this, split into reference files in a `references/` subdirectory.

- Reference files use `disable-model-invocation: true` in frontmatter — they are data, not behavioral prompts
- SKILL.md is always loaded when the skill is active; reference files are loaded on demand
- Existing skills exceeding the limit should be refactored when touched, not proactively

## Frontmatter

**Required fields** (enforced by `tests/validate-frontmatter.test.ts`):

| Field | Rule |
|-------|------|
| `name` | Matches directory name, kebab-case |
| `description` | See Description Format below |

**Optional fields:**

| Field | When to use |
|-------|-------------|
| `model` | Override the default model (e.g., `model: sonnet` for mechanical tasks) |
| `loaded_when` | Document which commands load this skill |
| `disable-model-invocation` | Set `true` on reference files — marks them as data-only |

## Description Format

- **Max 1024 characters**
- **Third person**, not imperative (the description talks about the skill, not to the user)
- **Must include** "Use when [trigger condition]" — this guides the auto-triggering system
- Describe what the skill **enforces or enables**, not just what it is

Good: `Use when implementing any feature or bugfix, before writing implementation code — enforces red-green-refactor cycle with configurable strictness`

Bad: `TDD skill for testing` (no trigger, no enforcement description)

## File Structure

```
skills/<name>/
  SKILL.md              — Main file (always loaded, under 100 lines)
  references/           — Optional, lazy-loaded sub-topic files
    example.md          — Data tables, examples, checklists
```

- Cross-references use **root-relative paths**: `skills/git-practices/SKILL.md`
- Never use `.claude/skills/...` or relative `../` paths

## Progressive Disclosure

SKILL.md contains **behavioral rules** — the instructions the AI must follow when the skill is active. Keep it focused: conditions, rules, verification steps.

Reference files contain **supporting data** — comparison tables, example lists, rationalization catalogs, detailed checklists. They are read only when the specific sub-topic is relevant.

This split is how you stay under 100 lines without losing depth. See `skills/test-driven-development/` for the model: SKILL.md at 98 lines, with `references/test-quality.md` and `references/rationalizations.md` loaded on demand.

## Scripts

Scripts are for **deterministic operations only**: file manipulation, formatting, validation, template generation. Never use scripts for AI judgment calls.

- Skill-specific scripts go in the skill directory
- Shared scripts go in `scripts/` at the repo root

## Review Checklist

Before merging a new or modified skill, verify:

- [ ] SKILL.md is under 100 lines
- [ ] Frontmatter has `name` and `description`
- [ ] Description is under 1024 chars, third person, includes "Use when [trigger]"
- [ ] Cross-references use root-relative paths
- [ ] Reference files (if any) have `disable-model-invocation: true` in frontmatter
- [ ] Content split: behavioral rules in SKILL.md, data/examples in reference files
- [ ] `npm test` passes (frontmatter validation, file reference validation)

Versions

RepositoryScoreLicence
This page · ovargas/virtual-team100MIT
TMCP-HUB/project-resolver100Apache-2.0
contentful/skills100MIT
Esposter/Esposter100Apache-2.0
komluk/scaffolding100MIT
nyldn/claude-octopus100MIT
redhat-developer/rhdh-skills100Apache-2.0
tencentcloudbase/cloudbase-ai-toolkit100MIT
nathanvale/side-quest-marketplace100MIT

Database snapshot: 13.11.2026 · package version b9c85b76a55f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90plugin-authoring
    Best practices for writing skills and agents: descriptions, structure, token efficiency, frontmatter, tool scoping, and common authoring mistakes. Activate when creating or editing a SKILL.md, a command file, or an agent file, or when the user asks to "write a skill", "add a…
  • 100writing-skills
    Methodology for creating effective skills using TDD principles. Use when creating new skills, editing existing skills, or authoring plugin components. Triggers on: 'create skill', 'write skill', 'new skill', 'skill authoring'.
  • 100loom-writing-skills
    Author or modify a loom skill file. Provides SKILL.md structure, frontmatter format, and quality checklist. Use when: creating or updating loom skills, their frontmatter, triggers, or quality checklist.
  • 93create-skill
    Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
  • 100create-skill
    Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
  • 100create-agent-skills
    Expert guidance for creating agent skills and slash commands. Use when working with SKILL.md files, authoring new skills, improving existing skills, creating slash commands, or understanding skill structure and best practices.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.