figma-generate-library
Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, create individual components with proper variant sets and variable bindings, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. Also use when the user asks to create or generate any component in Figma — even a single one — since components require proper variable foundations, variant states, and design token bindings to be production-quality. This skill teaches WHAT to build and in WHAT ORDER — it complements the figma-use skill which teaches HOW to call the Plugin API. Both skills should be loaded together.
Pinned to revision c2d6eae0ea0a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/figma-generate-library/SKILL.md
- skills/figma-generate-library/references/code-connect-setup.md
- skills/figma-generate-library/references/component-creation.md
- skills/figma-generate-library/references/discovery-phase.md
- skills/figma-generate-library/references/documentation-creation.md
- skills/figma-generate-library/references/error-recovery.md
- skills/figma-generate-library/references/naming-conventions.md
- skills/figma-generate-library/references/token-creation.md
- skills/figma-generate-library/scripts/bindVariablesToComponent.js
- skills/figma-generate-library/scripts/cleanupOrphans.js
- skills/figma-generate-library/scripts/createComponentWithVariants.js
- skills/figma-generate-library/scripts/createDocumentationPage.js
- skills/figma-generate-library/scripts/createSemanticTokens.js
- skills/figma-generate-library/scripts/createVariableCollection.js
- skills/figma-generate-library/scripts/inspectFileStructure.js
- skills/figma-generate-library/scripts/validateCreation.js
Every link opens the file at its source, pinned to the revision this page describes.