document-skills
БесплатноБез исполняемых скриптовНе проверенWrite or update a skill (SKILL.md and supporting files) to match host structure and best practices. Use when user says create skill, write skill, update…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Document Skills
Write or update a skill to fit the host's expected structure. Use the structure and checklist below.
Inputs
- Target skill – Path to the skill folder (e.g. the project skills directory
skills/example/) or the skill name. - Source – Draft, user instructions, or notes to turn into the skill or merge in.
If you don't give either: Use the current or given context (e.g. the skill or path already under discussion).
Output
SKILL.md updated (and supporting files if needed).
Process
1. Skill layout
- One folder per skill. The main file is always
SKILL.md(exact name, case-sensitive). - Folder name: Must be kebab-case (lowercase, hyphens; no spaces, underscores, or capitals). The frontmatter
namemust match the folder name. - Where skills live: In a project, typically a dedicated skills directory (e.g.
skills/<name>/). The host discovers skills from this location even when it's nested (e.g. inside a package). - Optional subfolders only: Use scripts/ (executable code), references/ (documentation loaded as needed), and assets/ (templates, icons, etc.). Do not put README.md inside the skill folder; all documentation goes in SKILL.md or references/. Long reference material goes in
references/and is linked from SKILL.md (progressive disclosure). - Length: Keep SKILL.md under ~5,000 words. Long reference in
references/, linked from SKILL.md. - Progressive disclosure: Skills use three levels — (1) YAML frontmatter is always loaded so the assistant knows when to use the skill; (2) SKILL.md body is loaded when the skill is relevant; (3) files in references/ or assets/ are opened only as needed. This keeps token use down while keeping expertise available.
- Composability: Skills can load together. Write the skill so it works alongside others; don't assume it's the only one active.
2. SKILL.md format
Frontmatter (the YAML block between the first --- lines)
Frontmatter configures when and how the skill runs. The table below follows the official skills reference.
name and description are required. name must match the folder name (kebab-case). description should follow: [What it does] + [When to use it] + [Key capabilities] — under 1024 characters; no XML angle brackets (< >). Avoid vague lines like "Helps with projects"; include specific trigger phrases and, if relevant, file types (e.g. ".fig files", "PDF contract review").
| Field | Required | Description |
|---|---|---|
name |
Yes | kebab-case only; must match skill folder name. Lowercase letters, numbers, and hyphens (max 64 characters). |
description |
Yes | [What it does] + [When to use it] + [Key capabilities]. Include trigger phrases (e.g. "Use when user says save, /save"). Mention file types if relevant. Under 1024 characters. No < or >. |
argument-hint |
No | Hint shown during autocomplete to indicate expected arguments. Example: [issue-number] or [filename] [format]. |
disable-model-invocation |
No | Set to true to disable automatic loading; use for workflows you want to trigger manually with /name. Default: false. |
user-invocable |
No | Set to false to hide from the / menu. Use for background knowledge users shouldn't invoke directly. Default: true. |
allowed-tools |
No | Tools the assistant can use without asking permission when this skill is active. |
model |
No | Model to use when this skill is active. |
context |
No | Set to fork to run in a forked subagent context. |
agent |
No | Which subagent type to use when context: fork is set. |
hooks |
No | Hooks scoped to this skill's lifecycle. See Hooks in skills and agents for configuration format. |
Optional: license (e.g. MIT for ope
Установить document-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл document-skills?
Write or update a skill (SKILL.md and supporting files) to match host structure and best practices. Use when user says create skill, write skill, update SKILL.md, /document-skills.
Как установить скилл document-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл document-skills запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic