claude-skills
Guide for creating Agent Skills with progressive disclosure and best practices. Use when creating new skills, understanding skill structure, or implementing…
от vinnie357★ 30 звёзд на GitHub
Установить claude-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Agent Skills
Guide for creating modular, self-contained Agent Skills that extend Claude's capabilities with specialized knowledge.
How skills load
A skill is a directory of instructions and resources that Claude discovers and loads on demand. Loading happens in tiers, and the tier a fact lands in decides whether Claude ever sees it:
- Level 1 — discovery. Only the
nameanddescriptionreach the system prompt. Claude decides relevance from these alone. - Level 2 — activation. The full
SKILL.mdbody loads. Every line costs on every activation. - Level 3+ — deep context. Bundled
references/files load only when a specific scenario calls for one.
Write to that structure: the body carries decisions, gotchas, and enforced constraints; references carry look-it-up material. A body that holds everything upfront defeats the mechanism.
Skills also fall into two categories, and the category sets testing and maintenance expectations. Capability uplift builds on general model abilities (a structured code-review procedure) and stays stable across model versions. Encoded preference captures local conventions (a team's commit format) and needs revisiting when models change.
Skill structure
skill-name/
├── SKILL.md # Required: frontmatter + body
├── scripts/ # Optional: executable code for deterministic tasks
├── references/ # Optional: documentation loaded on-demand
└── assets/ # Optional: templates, images, boilerplate
SKILL.md is the only required file: YAML frontmatter, then Markdown body.
Frontmatter
Source: Claude Code Skills documentation. All fields are optional; only description is recommended.
name: Display name. Defaults to the directory name if omitted. Lowercase letters, numbers, and hyphens only (max 64 characters). Reflect the domain in clear hyphen-case —git-operations,elixir-phoenix.description(recommended): What the skill does and when to use it. Two distinct limits apply: Claude Code truncates the combineddescription+when_to_useat 1,536 characters in the skill listing — put the key use case first — and this marketplace enforces a stricter 1024-character cap ondescriptionintest/validate-skills-quality.nu.when_to_use: Additional trigger phrases or example requests, appended todescriptionin the listing.license: License name or filename reference.
The full upstream reference — disable-model-invocation, user-invocable, allowed-tools, model, effort, context: fork, agent, hooks, paths, shell, arguments, argument-hint, metadata — is in references/frontmatter-fields.md. Load it when authoring a skill that needs anything beyond name/description/license.
Write the description in third person, stating both what the skill does and when to use it: [What it does]. Use when [trigger conditions].
Critical: The
descriptionis the ONLY text Claude sees during skill discovery (Level 1). The body's "When to Use" section only loads AFTER activation (Level 2) and cannot trigger it. All activation triggers belong in the description.
Tune a description by failure mode: too broad produces false positives — add domain-specific terms; too narrow produces false negatives — add synonyms and trigger scenarios. Activation-rate targets and eval prompt counts live in /extras-claude-code:claude-skills-benchmark.
Frontmatter policy for THIS marketplace
The upstream spec allows allowed-tools on a skill, pre-approving listed tools while it is active. This marketplace's test/validate-plugin.nu rejects allowed-tools on skills as a hard validation failure. Tool filtering belongs on agents — the tools: frontmatter on an agent file — not on the skills an agent loads. Skills here stay capability-driven and inherit tools from the calling context; an agent needing constrained access defines its own allowlist.
Keep skill frontmatter to name, description, optional license, optional metadata. In another project that does not enforce this policy, upstream allowed-tools is valid.
Pre-edit checklist
Before writing or editing any SKILL.md, verify each item. Named checks live in test/validate-skills-quality.nu unless noted.
| Item | Enforced by |
|---|---|
Description uses third person and includes a Use when ... trigger pattern |
third_person + use_when checks |
No allowed-tools field in frontmatter (use agents for tool allowlists) |
allowed_tools check; also test/validate-plugin.nu |
Body under 500 lines; split into references/ once exceeded |
lines check |
| References stay one level deep (SKILL.md → reference, not reference → reference) | ref_depth check |
| Anti-fabrication rules present — and every claim about a tool, file, or behavior verifiable | anti_fab check (presence only; soundness is on the author) |
| Combined `descr |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/anti-fabrication.md
- references/context-engineering-claude-5.md
- references/design-patterns.md
- references/evaluation-guide.md
- references/examples.md
- references/frontmatter-fields.md
- references/verifying-skill-content.md
- templates/evaluation-checklist.md
- templates/level1.md
- templates/level2.md
- templates/level3.md
- templates/skill.md
FAQ
Что делает скилл claude-skills?
Guide for creating Agent Skills with progressive disclosure and best practices. Use when creating new skills, understanding skill structure, or implementing progressive disclosure.
Как установить скилл claude-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-skills запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…