Build Figma Library logo

Build Figma Library

Organization
superhero-tech
build-figma-library

Build or extend a Figma token and component library from product documentation, code, or an existing UI. Prepare it for another agent by checking component properties, composition examples, and handoff, including publishing when reuse spans files. Use for reconstructing design systems and making libraries reusable; screen-only design and documentation of existing components have separate workflows.

Overview

Publishersuperhero-tech
Repositorysuperhero-skills
Skill namebuild-figma-library
Stars
223
Forks
13
Bundled files
4
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.

  • 4 bundled files

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

  • Open source

    Published by superhero-tech on GitHub. Read the source before you install it.

Installation

Install the Build Figma Library 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/superhero-tech/superhero-skills/tree/main/plugins/product-discovery/skills/product-design/build-figma-library
  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/superhero-tech/superhero-skills.git /tmp/superhero-skills
mkdir -p .claude/skills
cp -r /tmp/superhero-skills/plugins/product-discovery/skills/product-design/build-figma-library .claude/skills/build-figma-library
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Build Figma Library 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 Build Figma Library 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 Build Figma Library 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.

Build a Figma Library

Turn product sources into native Variables, styles, and components, then verify that another agent can use them to build a view. A component board or a token count alone does not establish library readiness.

Working with Figma skills

This skill defines the outcome and handoff criteria. Delegate execution mechanics to the current skills in the installed Figma plugin:

  • Load figma-generate-library and figma-use before building the library; follow their API, session, asset discovery, and ID tracking rules.
  • Add figma-generate-design when composing a complete view from instances. Load figma-create-new-file before creating a new file.
  • Use figma-design-to-code to implement a view in code, and figma-code-connect for actual mappings to code components.
  • Locate skills in the current available-skills catalog. Do not hardcode versioned plugin cache paths or copy the plugin's API instructions here.
  • If a required skill or access is missing, explain the limitation and complete the independent work. Do not replace library assets with raster images.

1. Define the task contract

Use the current conversation and available sources to establish:

  • the sources and their precedence, the destination file, and the product scope;
  • whether the task covers foundations, a pilot, a full library, or an update;
  • whether the library will be used in the same file or across files;
  • the consumer: an agent designing in Figma, implementing code, or both.

Do not expand a listing into the entire product or a token-only request into a full library. An unspecified usage mode does not justify claiming readiness across files: build the agreed local scope and explicitly identify the unverified handoff stage. Ask only about decisions that block the outcome; continue the remaining work.

Before making changes, state a concise scope and acceptance criteria. Inspect existing assets and preserve compatible IDs, conventions, and dependencies.

2. Inspect sources and build foundations

Read the source and token contract.

Collect confirmed values, layout rules, families, dependencies, and actual state combinations. Distinguish observed information, new Figma mappings, recommendations, and gaps. Then build the required Variables, aliases, modes, text styles, and effect styles. Bind them to components and verify alias resolution and code mappings.

Do not turn every literal into a global token. Do not add themes or states merely because they are common. Preserve source exceptions unless changing them is part of the task.

3. Build components that are easy to use

Work in dependency order. Validate a representative family first, then extend the verified model to the remaining scope.

  • Use Auto Layout, shared styles, and variable bindings.
  • Variants describe visual, structural, or state differences; TEXT, Boolean, and Instance swap properties handle content and optional elements.
  • Expose properties of frequently changed nested elements. A search component exposing only Viewport is insufficient if changing its query, location, or state requires searching through layers.
  • Check defaults and override preservation when switching variants. Resizing an instance does not establish automatic breakpoint switching.
  • Document each component's purpose, variant selection, and a link to the relevant documentation section. CSS provenance alone does not explain usage.

4. Show how to compose views

For a full library or a library intended for building views, include a complete representative view made from instances in the relevant responsive layouts. Reuse an existing example if it serves this purpose.

Show composition rules: container, margins, grid, section spacing, content order, and optional-element behavior. Label your own proposals separately. A board of independent cards and controls does not replace a full-page example.

For foundations only or a single family, provide an example appropriate to that scope; do not add unrequested screens.

5. Validate and hand off the system

Read the acceptance and handoff criteria. Perform the structural, visual, and usage checks relevant to the scope.

The guide in the file must let another agent select components, tokens, variants, and layout without access to this conversation. Record concrete asset links and IDs, along with open decisions; working state in /tmp is not consumer documentation.

When the scope includes use across files, include publishing components, styles, variable collections, and their dependencies, followed by a test in the consuming file. Publish within the task's authorization, your permissions, and the existing audience. Do not broaden access in the process.

If the consumer is a coding agent, also provide the repository and actual code mappings. Do not equate a Figma library with an implementation component package.

6. Finish with evidence

Provide links to the library, guide, and example, along with coverage, validation results, and remaining decisions. Distinguish:

  • ready locally;
  • published, but not yet verified in a consuming file;
  • verified across files;
  • handed off for code implementation, only to the extent actually verified.

Do not claim full readiness while a required stage remains incomplete. Identify the specific gap without blocking independent parts of the task.

Reusable prompt

The updated prompt can start a task or share the workflow with someone who prefers a full instruction. It does not need to be read on every invocation of this skill.

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 Build Figma Library AI skill do?

Build or extend a Figma token and component library from product documentation, code, or an existing UI. Prepare it for another agent by checking component properties, composition examples, and handoff, including publishing when reuse spans files. Use for reconstructing design systems and making libraries reusable; screen-only design and documentation of existing components have separate workflows.

Why use Build Figma Library on TypingMind?

Because you install it once and use it with any model. Build Figma Library 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 Build Figma Library in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/superhero-tech/superhero-skills/tree/main/plugins/product-discovery/skills/product-design/build-figma-library. 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 Build Figma Library?

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 Build Figma Library?

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

Is the Build Figma Library AI skill free?

Yes. It is published on GitHub by superhero-tech 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 👇