figma-generate-library

Analyze codebases to generate Figma design-system tokens, components, and documentation.

Updated Dec 17, 2024
One-click install
npx skills add https://github.com/LAF-US/IDAHO-VAULT --skill figma-generate-library-laf-us
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma-generate-library
Source: https://github.com/LAF-US/IDAHO-VAULT/tree/main/.codex/plugins/cache/openai-curated/figma/314574a046f21938025ae443f9c6dbbd0c2c9b7a/skills/figma-generate-library
Command: npx skills add https://github.com/LAF-US/IDAHO-VAULT --skill figma-generate-library-laf-us

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation and maintenance of a Figma-based design system by deriving tokens, components, and documentation from a codebase, reducing the manual effort to keep design and code in sync.

Core Features & Use Cases

  • Token and semantic color management across light/dark modes
  • Phase-driven component creation with strict validation, checkpoints, and code handoff integrations
  • Automated page structure: Foundations, Component pages, and documentation pages aligned to the codebase

Quick Start

Start by loading this skill and running the planning phase to analyze your codebase and initialize the Figma design-system build.

Frequently Asked Questions about figma-generate-library

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

FAQPage Schema
How do I sync code tokens into a Figma design system?

Figma design system generation from code tokens automates the extraction of tokens, components, and governance metadata from your codebase to implement a parallel Figma design system that stays in sync with code, reducing manual effort.

How do I convert code-based tokens into Figma primitives and semantic colors?

You can convert code-based tokens into Figma primitives by running a phase-driven workflow that extracts semantic colors, spacing, and typography from your codebase to establish deterministic Figma page structures and component libraries.

Does the Figma design system generation workflow support light and dark mode token management?

Yes, the Figma design system generation workflow supports token and semantic color management across light and dark modes by applying extracted codebase variables to Figma primitives.

What is the best way to establish design-to-code handoff integrations for a component library?

The best way to establish design-to-code handoff integrations for a component library is using Code Connect integration within a phase-driven workflow that ensures strict validation, checkpoint-driven approvals, and idempotent state management across Phases 0–3.

How do I start the planning phase to analyze my codebase for Figma design system creation?

Start the planning phase for Figma design system creation by loading this Skill and running the planning workflow to analyze your codebase, extract governance metadata, and initialize the automated Figma design system build.

What are the limitations of automating Figma component creation with codebase tokens?

Limitations of automating Figma component creation include strict validation and checkpoint-driven approvals across Phases 0–3, requiring idempotent state management to ensure deterministic page structure and prevent sync conflicts between code and design.