What does figma-generate-design do?
The figma-generate-design skill is a curated entry in OpenAI's skills catalog for Codex. It works alongside figma-use to build or update a full screen in Figma from code, finding design system components, variables and styles first, then assembling the page one section at a time.
The skill's most pointed rule is about order: create a wrapper frame first, then build each section directly inside it, because moving nodes across use_figma calls with appendChild silently fails and leaves orphaned frames.
It builds a Figma screen from code or a description by reusing a published design system: components, variables and text or effect styles are found with search_design_system and imported, not redrawn with hex colors.
The workflow in four moves
- Understand the screen by reading the source and listing sections and the components each one uses.
- Discover components, variables and styles, preferably by inspecting existing screens in the file first.
- Create the page wrapper frame in its own call and return its ID.
- Build one section per call inside the wrapper, then check each with get_screenshot.
A web app shortcut
For web apps that render in a browser, the skill suggests running generate_figma_design in parallel to capture the live page. Use that capture as the layout target, keep the component instances from your own build, then delete the capture.
Scope and handoffs
Use it when
- The deliverable is a Figma screen made from design system instances.
- The target file has a published design system or team library access.
- You have source code or a description of the page to build or update.
Use something else when
- You want code from a Figma design. The skill points to figma-implement-design.
- You want new reusable components, which the skill sends to figma-use.
- You want Code Connect mappings. The skill points to figma-code-connect-components.
Use it with UiChemy
This skill goes from code to Figma, the opposite direction of UiChemy Figma to WordPress, which converts a finished Figma design into an editable WordPress page. A screen assembled here from design system parts can feed that step. Click Get Started on uichemy.com. Related pages: Figma MCP server, UI UX design system and design systems MCP.
How to install Figma Generate Design Skill: Code to Figma Screens
$skill-installer figma-generate-designThe openai/skills repository is marked deprecated, and its README points to the OpenAI plugins repository for current examples.Open Codex
The repository README documents
$skill-installeras the way to install curated skills inside Codex.Install by name
Run
$skill-installer figma-generate-design. Curated skills install by name and default to the skills/.curated folder.Install figma-use as well
The skill says to load figma-use before any use_figma call, so load that skill as well.
Restart and connect Figma
Restart Codex so it picks up the skill, then connect a Figma MCP server and point the agent at a file with a published design system.
Check that it loaded
Ask the agent to build a pricing page in a Figma file that has a design system. It should list sections, search for components and variables, then create a wrapper frame before any section.
Key features
- Design system reuseFinds published components, variables and styles and uses them instead of drawing boxes with hardcoded colors and pixel values.
- Existing screen inspectionWalks the instances and bound variables of a frame already in the file to get an exact component and variable map.
- Broad design system searchFalls back to search_design_system with many short terms and synonyms, with options to include components, variables or styles.
- Library variable warningNotes that local variable lookup returns only the current file, so an empty result does not prove no variables exist.
- Wrapper frame firstCreates the page frame in its own call and builds sections inside it, avoiding the silent failure of reparenting across calls.
- One section per callBuilds each section separately, imports components by key and binds variables for padding and fill instead of literal values.
- Text override with propertiesFills placeholder text through each component's TEXT properties with setProperties, including on nested instances.
- Screenshot checkValidates every section with get_screenshot, watching for clipped text and overlapping elements.
- Web app parallel capturePairs the build with a generate_figma_design capture for layout accuracy, then removes the capture.
Frequently asked questions
What is the figma-generate-design skill?
It is a curated skill in OpenAI's skills catalog that builds or updates full Figma screens from code or a description. It discovers your design system's components, variables and styles, then assembles the page one section at a time.
How do I install it?
Inside Codex, run $skill-installer figma-generate-design, then restart Codex so it picks up the skill. The README also accepts a GitHub folder URL for the skill. Load figma-use too, because this skill requires it.
Does it need figma-use?
Yes. The skill states that figma-use must be loaded before any use_figma call, because that skill holds rules that apply to every script, such as color ranges and font loading. Treat the two as a pair.
Does the Figma file need a design system?
The prerequisites say the target file should have a published design system with components, or access to a team library. Without one the approach loses its point, since the skill is built around reusing components and variables.
Is the repository still maintained?
The README marks the repository as deprecated and points to the OpenAI plugins repository for current Codex skill and plugin examples. The skill is still in the curated folder, so check that repository before relying on it.
What license does it use?
The repository metadata shows no license. The README says each skill's license sits in a license file inside its own folder, and this skill's folder contains one, so read it before reusing the skill.
Which agents can run it?
The repository README documents Codex only, and it describes the catalog as skills for use and distribution with Codex. The skill is a folder of markdown instructions, but this page cannot confirm support in other agents.



