Ux Skill Foundations logo

Ux Skill Foundations

Community
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.

Overview

PublisherLaith0003
Repositoryux-skill
Skill nameux-skill-foundations
Stars
93
Forks
11
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Laith0003 on GitHub. Read the source before you install it.

Installation

Install the Ux Skill Foundations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Laith0003/ux-skill/tree/main/figma-skill/ux-skill-foundations
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ux Skill Foundations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ux Skill Foundations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ux Skill Foundations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ux Skill Foundations AI skill do?

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.

Why use Ux Skill Foundations on TypingMind?

Because you install it once and use it with any model. Ux Skill Foundations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ux Skill Foundations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Laith0003/ux-skill/tree/main/figma-skill/ux-skill-foundations. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ux Skill Foundations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ux Skill Foundations?

As many as you like. As long as a model supports skills, you can use Ux Skill Foundations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ux Skill Foundations AI skill free?

Yes. It is published on GitHub by Laith0003 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇