figma-generate-library

Create code-based design systems in Figma with tokens and components.

6|Updated May 10, 2026
One-click install
npx skills add https://github.com/Luohao-Yan/warp-cn --skill figma-generate-library-luohao-yan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma-generate-library
Source: https://github.com/Luohao-Yan/warp-cn/tree/main/resources/bundled/mcp_skills/figma/figma-generate-library
Command: npx skills add https://github.com/Luohao-Yan/warp-cn --skill figma-generate-library-luohao-yan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables the creation of high-quality, code-based design systems in Figma, ensuring consistency between design and code.

Core Features & Use Cases

  • Design System Creation: Build complete design systems with tokens, components, theming, and documentation.
  • Code Integration: Map design tokens to code variables for seamless integration with development workflows.
  • Use Case: Imagine you are developing a mobile app. Use this Skill to create a Figma design system that includes color tokens, typography, spacing, and UI components, and map these to your codebase for consistent implementation.

Quick Start

Use the figma-generate-library skill to create a new design system.

Frequently Asked Questions about figma-generate-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a design system in Figma with code-based consistency?

To build a design system in Figma with code-based consistency, use this Skill to orchestrate the creation of color tokens, typography, spacing, and UI components. It leverages Figma's API and custom scripts to map design tokens directly to code variables for seamless development integration.

What is the best way to map Figma design tokens to code variables?

Mapping Figma design tokens to code variables is handled through custom scripts and Figma's API integration. This Skill orchestrates the token mapping process, ensuring that UI design elements like theming and spacing are consistently translated into your development workflows.

Do I need advanced Figma API knowledge to generate a UI component library?

Yes, generating a UI component library requires advanced knowledge of Figma's API, design system principles, and scripting. This Skill performs complex orchestration to build tokens and theming, so understanding these underlying mechanisms is necessary for effective workflow execution.

Can I create theming and documentation for my Figma design system automatically?

Yes, you can create theming and documentation for your Figma design system. This Skill constructs complete design systems by orchestrating Figma's API to generate tokens, components, and necessary documentation, ensuring strict consistency between design and code integration.

Why does code integration matter when creating a design system in Figma?

Code integration matters because it ensures consistency between design and code. By mapping Figma design tokens to code variables, this Skill bridges the gap between UI design and development, preventing misalignment during mobile app or web application implementation.