Logotipo de Ux Skill Foundations

Ux Skill Foundations

Comunidad
Laith0003
ux-skill-foundations

Build a brand's design system with ux-skill and bring it into Figma as variables and components that match the code. Use when the user wants Figma variables, modes or components from a brand color, a brief or an existing token file, or wants a Figma library checked against the tokens a site ships. Load figma-use alongside it for every use_figma call.

Descripción general

EditorLaith0003
Repositorioux-skill
Nombre de la habilidadux-skill-foundations
Estrellas
93
Forks
11
Archivos incluidos
1
LicenciaMIT
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: 1

    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 Laith0003 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Ux Skill Foundations 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/Laith0003/ux-skill/tree/main/figma-skill/ux-skill-foundations
  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/Laith0003/ux-skill.git /tmp/ux-skill
mkdir -p .claude/skills
cp -r /tmp/ux-skill/figma-skill/ux-skill-foundations .claude/skills/ux-skill-foundations
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Ux Skill Foundations 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 Ux Skill Foundations 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 Ux Skill Foundations 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á.

ux-skill foundations in Figma

ux-skill builds a design system from a brand color and a brief (or reads one a team already has) and checks it before handing it over: every pairing is measured for contrast in light, dark and high contrast, and the build refuses to write a system that fails. This skill brings that system into a Figma file as variables with their modes, and builds components from ux-skill's contracts with every visual property bound to a variable. The code and the file then hold one system.

Prerequisites. The figma-use skill MUST be loaded for every use_figma call. ux-skill runs locally (pip install uxskill, Python 3.10 or newer); it never calls a model and needs no network.

1. Get the system

Pick one source, in this order:

  1. The team's own tokens. A DTCG tokens.json, a CSS file of custom properties, a Tailwind 4 theme, Markdown rule files or a Figma variables export. Read it as it is, never rebuilt: uxskill system import --from <file> reports what it read and lists every entry it did not read with how to write it. An existing system is fixed input; extend it beside its source with uxskill system extend --from <file> --add <foundation> --out <folder>, never rewrite it.
  2. A brand color and a brief. uxskill system build --brand '#3366FF' --brief .ux/system-brief.json --out design-system. The look follows the brand and the brief's axes as continuous values, never a preset by industry. Read design-system/system-report.md before going on: it says what was built and what the engine moved to pass contrast.

Stop and tell the user when the build reports a failure: nothing was written, and the message names the token and the change to make.

2. Variables

Export the variables and the script that applies them: uxskill system export --from design-system/tokens.json --to figma --out figma-export.

  • figma-variables.json holds one collection per foundation (color, type, space, layout, radius, border, elevation, motion, imagery), each with the modes it changes in: light and dark, standard and high contrast, comfortable and compact, left to right and right to left, full and reduced motion.
  • figma-variables.js creates or updates them in the open file. Run its text through use_figma. It matches by name, so a second run updates in place; it never deletes a variable or renames a mode it did not make.
  • Primitives are hidden and unscoped; roles alias them and carry the scope that binds them (fills, text, strokes, gaps, radii) and their web code syntax (var(--color-action-primary)).
  • What Figma variables cannot hold is listed in the export's notes, for example a font family keeps its first face and the fallbacks stay in tokens.json.

To read the file back, run figma-read-variables.js through use_figma, save its result as JSON, and pass it to uxskill system import --from <file> --format figma. A round trip gives the same names and values.

3. Components from contracts

ux-skill ships component contracts (engine/contracts/seed/*.yaml) and section contracts (engine/contracts/seed/sections/*.yaml). A contract names a component's parts, its variants (each value listed), its states, and the semantic role every part binds per variant and state. Build each one in Figma as the contract says; see references/contracts.md for the mapping.

  • Bind every fill, stroke, text color, padding, gap and radius to the role's variable. Never type a hex or a number the contract does not name.
  • A state is a variant property value (Default, Hover, Pressed, Focus, Selected, Disabled), and a part that changes under hover, selected or pressed carries the transition the contract binds (motion.state, or motion.press for a press) in its prototype interaction.
  • The focus ring is the system's (color.focus.ring, border.focus-ring.width and offset), drawn outside the part.
  • When the team writes component contracts, check them against the system after the build: uxskill contracts check <contracts-folder> --tokens design-system/tokens.json confirms every role each contract binds and every pairing it declares, in every mode.

4. Pages built from sections

A page is a sequence of section contracts: a hero, proof, the argument, a closing band and the footer. Each section names its job, the components its slots take, its variants and its phone recomposition. Every page carries photographs sourced by the system's photo direction (the report's photo direction section); an interface fragment is extra imagery beside a photograph, never in its place.

5. Check

  • Variables: the collection and mode counts match the export, and every role aliases a primitive.
  • Components: every visual property is bound; the variant count equals the product of the contract's variant values; each state shows as an instance in one review frame.
  • Contrast holds: the system was measured before it was written, and binding to its roles keeps it.

Definition of done

The file's variables match the export, the requested components are built from their contracts with every property bound, a screenshot of the review frame shows every requested state clearly, and nothing was hardcoded that the system names.

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 Ux Skill Foundations?

Build a brand's design system with ux-skill and bring it into Figma as variables and components that match the code. Use when the user wants Figma variables, modes or components from a brand color, a brief or an existing token file, or wants a Figma library checked against the tokens a site ships. Load figma-use alongside it for every use_figma call.

¿Por qué usar Ux Skill Foundations en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Ux Skill Foundations 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 Ux Skill Foundations en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Laith0003/ux-skill/tree/main/figma-skill/ux-skill-foundations. 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 Ux Skill Foundations?

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 Ux Skill Foundations?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Ux Skill Foundations 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 Ux Skill Foundations?

Sí. Laith0003 la ha publicado en GitHub bajo la licencia MIT. 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 👇