create-skill
できること
このスキルは、Agent-Nativeのアプリで新しいスキルを作るべきときと、その方法を説明します。最初に答えるべき質問と、メモを別の場所に残すべきときを扱います。エージェントに同じ型を何度もたどらせたいビルダー向けです。
使う場面
- ✓エージェントが特定の作業をするたびにたどるべき型があるとき。
- ✓複数の手順を持つワークフローに、明確な段階ごとの指針が必要なとき。
- ✓標準のレイアウトから、テンプレートやファイルの骨組みを作りたいとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エージェントが毎回同じ方法で新しいレポートのページを追加するための、スキルを作ってもらえますか?”
毎週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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。