PluginBench
Skill
Pass
Audit score 90

figma-generate-library

nexu-io/open-design

Build and sync professional design system libraries in Figma from your codebase.

What is figma-generate-library?

Generates or updates a design system library in Figma directly from your codebase components, keeping your Figma source of truth synchronized with shipped code. Use this when you need to maintain consistency between your design system and live components.

  • Generate Figma library components from codebase source
  • Update existing Figma libraries with code changes
  • Maintain design-to-code synchronization
  • Create professional-grade design system documentation in Figma
  • Keep Figma as the single source of truth for design systems

How to install figma-generate-library

npx skills add https://github.com/nexu-io/open-design --skill figma-generate-library
Prerequisites
  • Access to Figma workspace and design file
  • Codebase with component definitions
  • Figma API credentials or authentication
Claude Code
Cursor
Windsurf
Cline

How to use figma-generate-library

  1. 1.Install the skill using the provided npm command
  2. 2.Authenticate with your Figma workspace
  3. 3.Point the skill to your codebase component directory
  4. 4.Configure mapping between code components and Figma library structure
  5. 5.Run the skill to generate or update your Figma library
  6. 6.Review generated components in Figma and adjust as needed

Use cases

Good for
  • Sync React component library to Figma design tokens and components
  • Update design system library when shipping new component versions
  • Generate Figma documentation from TypeScript component definitions
  • Maintain design consistency across multiple product teams
  • Automate design library updates in CI/CD workflows
Who it's for
  • Design system maintainers
  • Product designers working with component libraries
  • Frontend engineers managing design-to-code workflows
  • Design ops teams
  • Cross-functional teams maintaining shared design systems

figma-generate-library FAQ

What code formats does this support?

The skill works with component-based codebases. Refer to the upstream GitHub repository for specific language and framework support details.

Will this overwrite my existing Figma library?

The skill updates existing libraries; review the upstream documentation for options to create new libraries or preserve manual edits.

How often should I run this?

Run it whenever you ship new components or make breaking changes to existing ones, or integrate it into your CI/CD pipeline for automated syncing.

Can I customize the generated Figma structure?

Configuration options are available in the upstream bundle. Check the GitHub repository for customization guides and examples.

What if my components have complex properties?

The skill handles standard component properties; consult the upstream documentation for handling advanced cases or custom metadata.

Full instructions (SKILL.md)

Source of truth, from nexu-io/open-design.


name: figma-generate-library description: | Build or update a professional-grade design system library in Figma from a codebase. Useful for keeping the Figma source of truth in sync with shipped components. triggers:

  • "figma library"
  • "design system library"
  • "figma from codebase"
  • "sync figma" od: mode: design-system category: figma upstream: "https://github.com/figma/skills"

figma-generate-library

Curated from Figma's MCP server guide.

What it does

Build or update a professional-grade design system library in Figma from a codebase. Useful for keeping the Figma source of truth in sync with shipped components.

Source

How to use

This catalogue entry advertises the skill in OpenDesign so the agent discovers it during planning. To run the full upstream workflow with its original assets, scripts, and references, install the upstream bundle into your active agent's skills directory:

# Inspect the upstream README for exact paths
open https://github.com/figma/skills

Then ask the agent to invoke this skill by name (figma-generate-library) or with one of the trigger phrases listed in this skill's frontmatter.