create-agent-skills
Expert guidance for creating, writing, building, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new skills, improving…
от marcusgoll★ 97 звёзд на GitHub
Установить create-agent-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skills are organized prompts that get loaded on-demand. All prompting best practices apply, with an emphasis on pure XML structure for consistent parsing and efficient token usage.
<quick_start> 1. **Identify the reusable pattern**: What context or procedural knowledge would be useful for similar future tasks? 2. **Create directory and SKILL.md**: - Directory name: Follow verb-noun convention: `create-*`, `manage-*`, `setup-*`, `generate-*` (see [references/skill-structure.md](references/skill-structure.md) for details) - YAML frontmatter: - `name`: Matches directory name, lowercase-with-hyphens, max 64 chars - `description`: What it does AND when to use it (third person, max 1024 chars) 3. **If skill requires API credentials**: See [references/api-security.md](references/api-security.md) for credential setup 4. **Write concise instructions**: Assume Claude is smart. Only add context Claude doesn't have. Use pure XML structure. 5. **Test with real usage**: Iterate based on observations. <example_skill> ```yaml --- name: process-pdfs description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction. --- Extract text and tables from PDF files, fill forms, and merge documents using Python libraries. <quick_start> Extract text with pdfplumber:import pdfplumber
with pdfplumber.open("file.pdf") as pdf:
text = pdf.pages[0].extract_text()
</quick_start><advanced_features>
**Form filling**: See [forms.md](forms.md)
**API reference**: See [reference.md](reference.md)
</advanced_features>
```
</example_skill>
</quick_start><xml_structure>
<required_tags>
All skills must have these tags:<objective>- What the skill does and why it matters<quick_start>- Immediate, actionable guidance<success_criteria>or<when_successful>- How to know it worked</required_tags>
<context>- Background/situational information<workflow>or<process>- Step-by-step procedures<advanced_features>- Deep-dive topics (progressive disclosure)<validation>- How to verify outputs<examples>- Multi-shot learning<anti_patterns>- Common mistakes to avoid<security_checklist>- Non-negotiable security patterns<testing>- Testing workflows<common_patterns>- Code examples and recipes<reference_guides>or<detailed_references>- Links to reference files</conditional_tags>
Example: Text extraction, file format conversion, simple API calls </simple_skills>
<medium_skills> Multiple patterns, some complexity: Use required tags + workflow/examples as needed.Example: Document processing with multiple steps, API integration with configuration </medium_skills>
<complex_skills> Multiple domains, security concerns, API integrations: Use required tags + conditional tags as appropriate.Example: Payment processing, authentication systems, multi-step workflows with validation </complex_skills>
Don't over-engineer simple skills. Don't under-specify complex skills. Match tag selection to actual complexity and user needs. </intelligence_rules><generation_protocol> <step_0> **Adaptive Requirements Gathering**: Before building, gather requirements through intelligent questioning that infers obvious details and asks about genuine gaps. <critical_first_action> **BEFORE doing anything else**, check if context was provided.IF no context provided (user just invoked the skill without describing what to build): → IMMEDIATELY use AskUserQuestion with these exact options:
- Create a new skill - Build a skill from scratch
- Update an existing skill - Modify or improve an existing skill
- Get guidance on skill design - Help me think through what kind of skill I need
DO NOT ask "what would you like to build?" in plain text. USE the AskUserQuestion tool.
Routing after selection:
- "Create new" → proceed to adaptive intake below
- "Update existing" → enumerate existing skills as numbered list (see below), then gather requirements for changes
- "Guidance" → help user clarify needs before building
<update_existing
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- references/api-security.md
- references/be-clear-and-direct.md
- references/common-patterns.md
- references/core-principles.md
- references/executable-code.md
- references/iteration-and-testing.md
- references/skill-structure.md
- references/use-xml-tags.md
- references/workflows-and-validation.md
FAQ
Что делает скилл create-agent-skills?
Expert guidance for creating, writing, building, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new skills, improving existing skills, or understanding skill structure, progressive disclosure, workflows, validation patterns, and XML formatting.
Как установить скилл create-agent-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-agent-skills запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…