Saltar al contenido
Skillpedia
Agentes7,6 mil · #13150

create-skill

Qué hace

Esta skill explica cuándo y cómo crear una skill nueva para una app Agent-Native. Cubre las preguntas que hay que responder primero y cuándo es mejor guardar una nota en otro sitio. Es para creadores que quieren que el agente siga un patrón una y otra vez.

Cuándo usarla

  • ✓Cuando hay un patrón que el agente debe seguir cada vez que hace una tarea concreta.
  • ✓Cuando un flujo de trabajo de varios pasos necesita una guía clara paso a paso.
  • ✓Cuando quieres crear una plantilla o generar archivos a partir de una estructura estándar.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes crear una skill que indique al agente cómo añadir una página de informes nueva siempre de la misma manera?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente primero responde una entrevista corta sobre el propósito, los disparadores y el tipo de la skill. Después escribe un archivo de skill breve, añadiendo archivos de apoyo solo si hacen falta.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Cuándo no debo crear una skill?

La skill indica que no se cree una si la guía ya existe en otra skill, o para una nota puntual.

¿Dónde van las notas puntuales?

Van en el archivo de guía del agente de la app o en la memoria personal, en lugar de en una skill.

¿Las skills deben ser largas?

La skill aconseja mantenerlas mínimas y poner los detalles extensos en archivos de referencia.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
7,6 mil
Posición en el ranking
#13150
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas