create-skill
Что он делает
Этот скилл объясняет, когда и как создавать новый скилл для приложения Agent-Native. Он охватывает вопросы, на которые нужно ответить в первую очередь, и случаи, когда заметку лучше хранить в другом месте. Он нужен тем, кто хочет, чтобы агент снова и снова следовал одному шаблону.
Когда использовать
- ✓Когда есть шаблон, которому агент должен следовать каждый раз при выполнении определенной задачи.
- ✓Когда многошаговому процессу нужны понятные пошаговые указания.
- ✓Когда вы хотите создать шаблон или заготовку файлов по стандартной структуре.
Ссылка на скилл
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Можешь создать скилл, который объясняет агенту, как каждый раз одинаково добавлять новую страницу отчета?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сначала проходит короткое интервью о назначении скилла, его триггерах и типе. Затем он пишет короткий файл скилла и добавляет вспомогательные файлы, только если они нужны.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Create a Skill
When to Use
Create a new skill when:
- There's a pattern the agent should follow repeatedly.
- A multi-step workflow needs reliable, step-by-step guidance.
- You want to scaffold files from a template.
Don't create a skill when:
- The guidance already exists in another skill — extend it instead.
- You're documenting something the agent already knows (e.g., how to write TypeScript).
- It's a one-off — put it in
AGENTS.md(for everyone) ormemory/MEMORY.md(personal, per-user). See capture-learnings.
Interview
Before writing the skill, answer these:
- What should this skill enable? — The core purpose in one sentence.
- Which of the four areas does it serve? — UI, actions, skills/instructions, or application state (see the adding-a-feature skill). Most skills are about how to touch one or more of these correctly.
- When should it trigger? — Describe the situations in natural language.
- Does it involve context awareness? — Does the agent need to know what the
user is looking at? If so, reference the
navigationapplication-state key and theview-screenaction pattern. See the context-awareness skill. - What type of skill? — Pattern, Workflow, or Generator (see below).
- Does it need supporting files? — References (read-only context) or none.
Keep it minimal; push depth into
references/.
Skill Types and Templates
Pattern (architectural rule)
For documenting how things should be done:
---
name: my-pattern
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Pattern Name]
## Rule
[One sentence: what must be true]
## Why
[Why this rule exists]
## How
[How to follow it, with code examples]
## Don't
[Common violations]
## Related Skills
[Which skills compose with this one]
Workflow (step-by-step)
For multi-step implementation tasks:
---
name: my-workflow
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Workflow Name]
## Prerequisites
[What must be in place first]
## Steps
[Numbered steps with code examples]
## Verification
[How to confirm it worked]
## Troubleshooting
[Common issues and fixes]
## Related Skills
Generator (scaffolding)
For creating files from templates:
---
name: my-generator
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Generator Name]
## Usage
[How to invoke — what args/inputs are needed]
## What Gets Created
[List of files and their purpose]
## Template
[The template content with placeholders]
## After Generation
[What to do next — wire up sync, add routes, register the action, etc.]
## Related Skills
Naming Conventions
- Hyphen-case only:
[a-z0-9-], max 64 characters. - Pattern skills: descriptive names (
storing-data,delegate-to-agent). - Workflow/generator skills: verb-noun (
create-skill,capture-learnings). - The directory name must match the
namein frontmatter.
Frontmatter Fields
| Field | Required | Value |
|---|---|---|
name |
yes | Hyphen-case, matches the directory name |
description |
yes | What the skill covers AND when it triggers |
scope |
no | both (default) | runtime | dev |
For how to word a description and which scope a skill should get, follow
writing-agent-instructions — it owns those rules.
Tips
- Keep SKILL.md lean (under ~500 lines) — move detailed content to
references/files. - Use standard markdown headings — no XML tags or custom formats.
Anti-Patterns
- Inline LLM calls — skills must not call LLMs directly. All AI work goes through the agent chat (see delegate-to-agent).
- Introducing databases — data lives in SQL via Drizzle (see storing-data).
- Ignoring sync — if a skill creates data, mention wiring
useDbSync/useActionQueryso the UI updates (see real-time-sync). - Pure documentation — skills should guide action, not just explain concepts.
File Structure
.agents/skills/my-skill/
├── SKILL.md # Main skill (required)
└── references/ # Optional supporting context
└── detailed-guide.md
Related Skills
- adding-a-feature — The four-area model every skill ultima
Частые вопросы
Когда не стоит создавать скилл?
Скилл говорит, что не стоит, если такие указания уже есть в другом скилле или если это разовая заметка.
Куда идут разовые заметки?
В файл руководства агента приложения или в личную память, а не в скилл.
Должны ли скиллы быть длинными?
Скилл советует делать их минимальными, а дополнительную глубину выносить в справочные файлы.
Подробности
Оригинальное описание автора
How to create new skills for an agent-native app. Use when adding a new skill, documenting a pattern the agent should follow, or creating reusable guidance for the agent.
repo: BuilderIO/agent-native
Популярность
- Звёзды на GitHub
- 7.6k
- Место в рейтинге
- #13150
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
design-exploration
7.6kПомогает агенту рассмотреть несколько направлений дизайна интерфейса рядом, дать вам выбрать одно, а затем доработать выбранное.
visual-edit
7.6kПомогает агенту открыть запущенное локальное приложение в визуальном редакторе, чтобы вы вместе просмотрели и правили его настоящие экраны.
turn-into-app
7.6kПревращает процесс, таблицу или проект в аккуратное визуальное приложение с заполненными экранами и агентом, работающим за элементами управления.
visual-plan
7.6kПревращает обычный текстовый план в интерактивный визуальный план с диаграммами, картами файлов, фрагментами кода и открытыми вопросами.
Похожие скиллы
add-model-provider
394kПомогает агенту подключить нового провайдера ИИ-моделей к OpenClaw безопасными командами, хранить ключи API не в открытом виде и провести живой тест.
acp-router
394kПомогает агенту передать задачу инструменту для программирования, например Claude Code или Cursor, через OpenClaw, чтобы работа шла в этом инструменте.
browser-automation
394kУчит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.