figma-generate-library · nexu-io — Claude Code skill: how to install
Builds or updates a Figma design system library directly from your codebase. It keeps design files in sync with shipped components.
npx skills add nexu-io/open-design --skill figma-generate-library -a claude-codeWhat figma-generate-library does
This skill builds or updates a design system library in Figma using the project codebase. The entry in OpenDesign exposes the skill to the AI agent during task planning. It originates from the Figma MCP server guide.
Running the complete workflow with original assets, scripts, and references requires installing the upstream bundle from https://github.com/figma/skills. Without that repository, the agent only holds catalogue metadata. It will lack the actual automation scripts.
You can trigger the workflow by referencing figma-generate-library directly or asking the agent to sync Figma with code.
What it helps with
- generate a Figma design system library from codebase components
- keep Figma library components in sync with shipped code
- update existing Figma design assets after UI code changes
- let the agent discover design system workflows during planning
Example prompts for the agent
- Run figma-generate-library to sync design system components from the codebase
- Update our figma library with the latest changes from the UI components
- Build a design system library in Figma from this codebase
How to install figma-generate-library
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill figma-generate-library -a claude-code2Manually: put the files in place
~/.claude/skills/figma-generate-library/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-generate-library/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill figma-generate-library -a codex2Manually: put the files in place
.agents/skills/figma-generate-library/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill figma-generate-library -a cursor2Manually: put the files in place
.cursor/skills/figma-generate-library/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design figma-generate-library2Manually: put the files in place
.github/skills/figma-generate-library/SKILL.md1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill figma-generate-library -a gemini-cli2Platform CLI
gemini skills install https://github.com/nexu-io/open-design --path skills/figma-generate-libraryManually: put the files in place
.devin/skills/figma-generate-library/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill figma-generate-library -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about figma-generate-library
How to install figma-generate-library in Claude Code?
Run npx skills add nexu-io/open-design --skill figma-generate-library -a claude-code. The skill file will be installed to ~/.claude/skills/figma-generate-library/SKILL.md.
What does figma-generate-library do?
It instructs the agent to create or update design system libraries in Figma directly from source code. This keeps Figma files aligned with shipped components.
What is required to run the full workflow?
Install the upstream bundle from https://github.com/figma/skills into your agent skills directory. That repository contains the scripts, assets, and references needed for execution.
Source text
SKILL.md · Apache-2.0
--- 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 - Upstream: https://github.com/figma/skills - Category: `figma` ## 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: ```bash # 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.
© nexu-io · Apache-2.0 · nexu-io/open-design
Similar skills
Everything for Design →figma-generate-library by other authors comes first.