Logotipo de Craft System

Craft System

Comunidad
diego3g
craft-system

Úsalo al crear un sistema de diseño, una guía de estilo o un conjunto de tokens; al añadir o cambiar un componente o token; al unificar pantallas que se han ido desincronizando; o al revisar una guía para detectar colores sin definir, elementos aislados, estados que faltan o pantallas que no se ajustan a ella.

Descripción general

Editordiego3g
Repositoriocraft
Nombre de la habilidadcraft-system
Estrellas
546
Forks
29
Archivos incluidos
8
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 8

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por diego3g en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Craft System en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/diego3g/craft/tree/main/skills/craft-system
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/diego3g/craft.git /tmp/craft
mkdir -p .claude/skills
cp -r /tmp/craft/skills/craft-system .claude/skills/craft-system
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Craft System en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Craft System automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Craft System no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Design system

Overview

A design system is the place where a decision is made once and then reused everywhere. Every colour is a token, every interactive piece shows all its states, and every change reaches every screen that uses the piece. Build it in layers, foundations first, and stop for approval at each layer. An audit reports and never fixes on its own.

When to use

  • "Start a style guide / design system / tokens for …"
  • Adding a component, variant or token, or changing an existing one.
  • "Make these screens consistent", "standardize", "audit the guide", or loose hex values and one-off pieces in the screens.

When NOT to use

  • A question about one value ("what's our primary colour?"): answer it.
  • A small edit the person described exactly (one value, one label, one size), even on a shared piece: change it once where it's defined and say which screens it affects. No states matrix, no stop.

Before you start

  1. Read DESIGN.md at the project root if it exists: it is the project's design brief.
  2. Find what exists: tokens, the guide, the components, the screens and the code. An existing guide wins on look. Follow its rules even where they differ from the defaults below, and mention the difference once.
  3. Pick your tool's adapter in references/adapters/ (paper.md, pen.md, figma.md, penpot.md, html.md). If no adapter matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (html.md). If an image is all you have, say that values read from it are estimates.
  4. Decide the mode: create, add or change, or audit.

Steps · create

  1. Foundations draft:

    • colour roles (token roles);
    • type scale;
    • spacing;
    • radius;
    • shadows (two at most);
    • layout widths;
    • motion durations;
    • a short "how we write" section.

    Name tokens by role (text-muted, border-hover, danger-bg), never only by value (gray-500).

  2. Interaction rules, once: for bordered pieces, borderless pieces and the primary action, write how hover, pressed, focus (keyboard only), disabled, loading and selected look. Components follow these rules instead of each inventing its own.

  3. Stop and show the person the foundations and the interaction rules. Don't build components yet.

  4. Components one at a time, in the order the first screens need them. Each gets a guide section with the component anatomy: a legend with the rule and why, examples, and a states matrix of variants × states. Add each one to the component index.

Steps · add or change a piece

  1. Check whether an existing component plus a variant covers it. Prefer reuse to a one-off.
  2. Draw it with the anatomy, including the full states matrix. A new colour, size or icon becomes a token or an icon-set entry now, not later.
  3. List every screen and code location that uses the piece.
  4. Stop and show the person the change and that list.
  5. On approval, propagate:
    • update every screen on the list;
    • update the code, if any. When DESIGN.md says the design system's source is code, do it with REQUIRED SUB-SKILL: craft-sync (export), so the code change is a reviewed diff. If that diff holds only the change just approved and no conflicts, the approval carries over: say so and apply, without a second stop;
    • update the component index;
    • report what changed where.

Steps · audit

  1. Run the audit checklist over the guide, the screens and the code if any.
  2. Write the report: findings ranked by severity, each with where it is, why it matters and the proposed fix.
  3. Stop and show the person the report. Change no file until they say which fixes to make. Saving copies of the originals doesn't make editing them acceptable.

Rules

Firm (any project):

RuleWhy
Every colour is a token; no loose hex values in screens or codeLoose values drift into near-duplicates that nobody can change at once
One icon setMixed sets look like mixed products
Design and code change together, design firstOtherwise the guide stops being the truth within a week. When the system's source is code, "design first" means: draw the change in the tool, then land it in code through an approved export
Every interactive piece has a states matrixStates drawn ad hoc on screens never agree
A change to a shared piece is listed with the screens it affects before it propagatesOtherwise one "small" change silently redesigns twenty screens

Defaults (an existing guide overrides them):

DefaultWhy
On hover, bordered pieces only darken the borderA changing background on cards and fields feels heavy
Hover is subtler than selectedWhen hover looks like selected, people think two things are chosen
Selecting never changes font weightA weight change shifts the text's width
Placeholders are lighter than muted textOtherwise a placeholder reads as entered text
Items in stacked lists and menus have a small gap, never touchingTouching highlights merge into one block
The focus ring only appears from the keyboardA ring after a mouse click looks like a bug
Loading keeps the element's exact sizeLayout shift
Shadows only on floating things (menus, popovers, dialogs, toasts), at two strengthsShadows everywhere flatten the hierarchy they were meant to create
At most one primary action per screenTwo primaries means the screen didn't decide

Done when

  • Create: foundations and interaction rules approved; each component has its anatomy, states matrix and an index row.
  • Change: every listed screen and code location updated, and the index updated.
  • Audit: a ranked report delivered and no file changed.

Common mistakes

ThoughtReality
"I'll build the whole guide in one go: tokens and ten components"Ten components on unapproved foundations means ten reworks. Foundations, stop, then components.
"The audit found problems, I'll just fix them"The person may disagree with half of the fixes. Report, stop, fix only what they pick.
"I kept the originals in a backup folder, so fixing is safe"A backup doesn't make the person agree with the fixes. Report first.
"Buttons have hover and disabled, good enough"A states matrix has every state × every variant: normal, hover, pressed, focus, disabled, loading, selected.
"--teal-600 is a token"It's a value. Components need roles (--color-primary) so the value can change in one place.
"This screen needs a slightly different card"Make it a variant of the card, or use the card. A one-off is the start of drift.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Craft System?

Úsalo al crear un sistema de diseño, una guía de estilo o un conjunto de tokens; al añadir o cambiar un componente o token; al unificar pantallas que se han ido desincronizando; o al revisar una guía para detectar colores sin definir, elementos aislados, estados que faltan o pantallas que no se ajustan a ella.

¿Por qué usar Craft System en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Craft System está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Craft System en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/diego3g/craft/tree/main/skills/craft-system. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Craft System?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Craft System?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Craft System con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Craft System?

diego3g la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇