Langsung ke konten
Skillpedia
Agen7.6k Β· #13150

create-skill

Fungsinya

Skill ini menjelaskan kapan dan bagaimana membuat skill baru untuk aplikasi Agent-Native. Cakupannya meliputi pertanyaan yang perlu dijawab lebih dulu dan kapan catatan lebih baik disimpan di tempat lain. Skill ini untuk pembangun yang ingin agent mengikuti pola yang sama berulang kali.

Kapan dipakai

  • βœ“Saat ada pola yang harus diikuti agent setiap kali ia mengerjakan tugas tertentu.
  • βœ“Ketika alur kerja bertahap membutuhkan panduan langkah demi langkah yang jelas.
  • βœ“Saat Anda ingin membuat templat atau membuat berkas kerangka dari tata letak standar.

Link skill

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda membuat skill yang memberi tahu agent cara menambahkan halaman laporan baru dengan cara yang sama setiap kali?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent pertama-tama menjawab wawancara singkat tentang tujuan, pemicu, dan jenis skill. Setelah itu agent menulis berkas skill yang singkat, dan hanya menambahkan berkas pendukung jika memang diperlukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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) or memory/MEMORY.md (personal, per-user). See capture-learnings.

Interview

Before writing the skill, answer these:

  1. What should this skill enable? β€” The core purpose in one sentence.
  2. 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.
  3. When should it trigger? β€” Describe the situations in natural language.
  4. Does it involve context awareness? β€” Does the agent need to know what the user is looking at? If so, reference the navigation application-state key and the view-screen action pattern. See the context-awareness skill.
  5. What type of skill? β€” Pattern, Workflow, or Generator (see below).
  6. 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 name in 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 / useActionQuery so 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
Pertanyaan umum

Kapan saya sebaiknya tidak membuat skill?

Skill ini menyatakan jangan membuatnya jika panduan sudah ada di skill lain, atau untuk catatan sekali pakai.

Di mana catatan sekali pakai disimpan?

Catatan itu disimpan di berkas panduan agent aplikasi atau di memori pribadi, bukan di skill.

Apakah skill sebaiknya panjang?

Skill ini menyarankan agar tetap ringkas dan menaruh detail tambahan di berkas referensi.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
7.6k
Peringkat
#13150
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa