skill-creator
Creating and authoring new AI skills with proper SKILL.md structure, YAML frontmatter validation, directory conventions, and registration workflow
от donggua-zen★ 65 звёзд на GitHub
Установить skill-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill Creator — Comprehensive Skill Authoring Guide
Overview
This skill guides you through the complete process of creating a new AI skill for the system. A skill is a reusable instruction bundle that teaches the AI how to perform a specific type of task. Skills follow the AgentSkills open specification.
Skills use progressive disclosure to manage context efficiently:
- L1 — Metadata (~100 tokens):
name+descriptionloaded at startup for all skills - L2 — Instructions (SKILL.md body): Loaded only when the skill is activated
- L3 — Resources (scripts/, references/, assets/): Loaded on demand
1. Skill Directory Structure
1.1 Full File Layout
<skill-name>/ # Directory name = skill name (lowercase + hyphens)
├── SKILL.md # Required: metadata + instructions
├── scripts/ # Optional: executable code
│ ├── script.py
│ ├── script.sh
│ └── ...
├── references/ # Optional: reference docs loaded on demand
│ ├── api-spec.md
│ ├── configuration-guide.md
│ └── ...
├── assets/ # Optional: templates, configs, resources
│ ├── template.json
│ ├── icon.svg
│ └── ...
└── ... # Any additional files or directories
1.2 Minimal Structure (always valid)
<skill-name>/
└── SKILL.md
A single SKILL.md file is all that's required. The optional directories are for organizing larger skills.
1.3 Location by Source Type
| Source | Directory | Persistence |
|---|---|---|
| User (installed) | {SKILL_DIR}/<name>/ |
Installed by user, can be updated/uninstalled |
2. SKILL.md Format Specification
2.1 Overall Structure
---
<YAML frontmatter>
---
<Markdown body>
- Opening
---must be at line 1 of the file - Frontmatter parser pattern:
/^---\s*\n([\s\S]*?)\n---\s*\n([\s\S]*)$/ - Must have a blank line after closing
---before body content
2.2 Frontmatter Fields
| Field | Required | Type | Max | Constraints |
|---|---|---|---|---|
name |
✅ Yes | string | 64 chars | [a-z0-9-]+, cannot start/end with -, must match directory name |
description |
✅ Yes | string | 1024 chars | Non-empty, third-person, describes what + when |
version |
❌ No | string | — | Semantic version (recommended: semver e.g. "1.0.0") |
author |
❌ No | string | — | Creator name or identifier |
tags |
❌ No | string[] | — | Classification keywords for matching |
license |
❌ No | string | — | License name or reference |
compatibility |
❌ No | string | 500 chars | Environment requirements (product, packages, network, etc.) |
dependencies |
❌ No | string[] | — | Names of other skills this skill depends on |
2.3 Name Validation Rules
The system enforces these rules:
✓ name is present (required)
✓ 1-64 characters
✓ matches ^[a-z0-9-]+$ (lowercase letters, digits, hyphens only)
✓ does not start or end with a hyphen
✓ does not contain consecutive hyphens (-- inferred by the pattern)
✓ matches the parent directory name (case-insensitive)
Examples:
✅ code-review
✅ data-analyzing-v2
✅ translation-helper
❌ Code-Review (uppercase not allowed)
❌ code_review (underscore not allowed)
❌ -code-review (leading hyphen)
❌ code-review- (trailing hyphen)
❌ code--review (consecutive hyphens)
Naming Strategy
A good name is short, scannable, and self-explanatory:
- Use the core function as the name:
pdf,docx,xlsx,mcp-builder - Avoid vague names:
tool,helper,utils,my-script— these don't tell Claude when to trigger - Compound names OK:
slack-gif-creator,web-artifacts-builder,theme-factory - Version suffix only when needed:
data-analyzing-v2(notdata-analyzing-final-final) - Follow existing conventions: look at other skills in the system for naming patterns
Good names read like CLI commands — users and AI alike can guess what they do by reading the name alone.
2.4 Description Best Practices
The description is the primary trigger mechanism — it's what Claude reads to decide whether to use the skill. Get this right above all else.
Core Rules
- Use third-person ("Generating review reports…" not "Generate review reports…")
- Describe what the skill does and when to use it
- Max 1024 characters
The "Pushy" Style
Claude has a tendency to undertrigger skills — not use them when they'd be useful. To combat this, make descriptions a little pushy. Include not just what the skill does, but specific contexts where it should trigger — even if the user doesn't explicitly ask for it.
Pattern:
<what it does>. Use this skill whenever <context A>, <context B>, or <context C>,
even if the user doesn't explicitly mention <keyword>.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл skill-creator?
Creating and authoring new AI skills with proper SKILL.md structure, YAML frontmatter validation, directory conventions, and registration workflow
Как установить скилл skill-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…