Agent skill Frontend
Figma Generate Library
Connect design references and design tools to frontend implementation.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/openai/skills/tree/main/skills/.curated/figma-generate-library --skill figma-generate-library --agent claude-code --yesCheck this file in your project.claude/skills/figma-generate-library/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/openai/skills/tree/main/skills/.curated/figma-generate-library --skill figma-generate-librarySelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The exact editable library file, the approved v1 code inventory, a previous run ID and known approvals, plus the compatible figma-use companion and authorized library asset access.
View operation manualWhat this skill helps with
- Connect design references and design tools to frontend implementation.
Good for
- Design handoff
- Task
- Resume a paused phased Figma library build from its evidence ledger
- Requirements
- The exact editable library file, the approved v1 code inventory, a previous run ID and known approvals, plus the compatible figma-use companion and authorized library asset access.
- Deliverable
- A reconciled library progress record and the next explicitly approved phase, with verifiable returned IDs and a review checkpoint.
- Skill name
figma-generate-library- Repository
openai/skills
Make the design workflow verifiable
An underspecified brief
Restart the build from scratch if the session lost context.
This pinned Skill uses phased checkpoints and stable identities. Reconcile real file state before deciding what to write next.
A result you can check
- Rebuild the entity map from the target file and prior ledger.
- Respect the pinned order and ingredient dependencies.
- Use structural evidence and preview before moving to another phase.
OpenAI Figma Generate Library operation manual
A reconciled library progress record and the next explicitly approved phase, with verifiable returned IDs and a review checkpoint.
The exact editable library file, the approved v1 code inventory, a previous run ID and known approvals, plus the compatible figma-use companion and authorized library asset access.
Recover the run without writing
Rebuild the entity map from the target file and prior ledger.
Prompt · Step 1Use OpenAI’s installed figma-generate-library Skill and read its SKILL.md first. Use [editable library file], [run ID and saved ledger], and [locked v1 code inventory]. Load figma-use and confirm current tool access. Inspect the existing pages, variables, styles and components read-only and reconcile by known names and IDs. Report conflicts, stale IDs, the last actually approved phase and the next proposed checkpoint.Advance only the next approved phase
Respect the pinned order and ingredient dependencies.
Prompt · Step 2Use OpenAI’s installed figma-generate-library Skill and read its SKILL.md first. After I approve [next named phase], continue that phase in order using the actual recovered IDs. Keep foundations with scopes and code syntax before file structure and components. If this is a component phase, complete one approved component and reuse compatible assets. Check helper support before calling them. If a tagging method is unavailable, use verified names and IDs in the ledger. Return changed IDs and persist validation state.Verify the phase outcome and checkpoint
Use structural evidence and preview before moving to another phase.
- Existing node IDs are reconciled before new mutations and the ledger records the actual next phase.
- The readback proves the approved phase’s exit criteria or records specifically what remains unresolved.
Prompt · Step 3Use OpenAI’s installed figma-generate-library Skill and read its SKILL.md first. Reread [changed entities] and verify the agreed exit criteria, including relevant names, mode or binding data and variant count. Provide a targeted visual screenshot if supported. Update the ledger with actual verification, report any blocker and state the next phase for independent approval. Keep publication and later phases pending.
Look up this workflow decision
Read the relevant section in the installed Skill.
The ledger’s component ID no longer resolvesSKILL.md
- Command or reference
State Management (Required for Long Workflows)- Examples
- Discover the actual file state by unique names and fresh IDs. Stop to resolve ambiguity before creating a replacement.
Troubleshooting
There are two Skills named figma-generate-library. Which workflow applies here?
This entry pins the OpenAI curated package and its phased approvals and local state ledger. Review the installed source and keep one known version active in the project for this workflow.