Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

figma-design-to-code — Codex skill: implement Figma designs

Guides an agent through implementing a Figma node in a project’s existing stack. Use it before calling get_design_context.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill figma-design-to-code -a codex
Open on GitHub

What figma-design-to-code does

The skill lays out the workflow: retrieve a node’s context with get_design_context, then adapt its reference React code to the project’s language, framework, and styling conventions. Check existing components and design tokens before writing code. Code Connect snippets take priority over component docs and design annotations.

Use Figma’s exported assets for images and icons. For committed code, download the exact asset and keep it in the project; the remote asset URL expires in about 7 days. That affects how you should handle assets before committing.

This skill covers reading from Figma, not writing designs to it. If get_design_context fails, read the error message; after a timeout, retry with a smaller node. A file URL without node-id needs a node-specific link.

What it helps with

  • implement a selected Figma node in a project
  • adapt reference React code to the project’s stack
  • reuse existing project components and tokens
  • use exported Figma images and icons

Example prompts for the agent

  • Implement this Figma node in the project using `get_design_context`, then adapt it to the current stack.
  • Check the project’s components and tokens before implementing this Figma design.
  • Use Figma’s exported images and icons when translating this design into code.

How to install figma-design-to-code

1Skills CLI (Vercel)

npx skills add openai/plugins --skill figma-design-to-code -a codex

2Manually: put the files in place

.agents/skills/figma-design-to-code/SKILL.md

For all projects use ~/.agents/skills/

From the same set201

The whole set →
supabase official supabase Guides the agent through database configuration and strict RLS policies in Supabase. CX Codex GP ChatGPT 8installs remotion-render official Remotion Exports videos and static stills from Remotion projects using CLI commands. CX Codex GP ChatGPT 3installs figma-create-new-file official Figma Creates blank Figma, FigJam, or Slides files inside draft folders. It resolves planKey and editor types before invoking Figma MCP tools. CX Codex GP ChatGPT 6installs swiftui-performance-audit official OpenAI Pinpoints SwiftUI runtime issues like frame drops, unresponsive taps, and excessive view body computations. Works code-first and guides Instruments profiling. CX Codex GP ChatGPT 109installs swiftui-liquid-glass official OpenAI This skill helps build and review SwiftUI Liquid Glass interfaces for iOS 26+. Use it when adopting the API or checking fallbacks, interaction, and design fit. CX Codex GP ChatGPT 121installs swiftui-ui-patterns official OpenAI This skill helps build and refactor SwiftUI interfaces, from navigation and state to layouts and controls. Use it for new screens or changes to an existing project. CX Codex GP ChatGPT 114installs swiftui-view-refactor official OpenAI Refactors SwiftUI view files into clean, testable structures with dedicated subview types and proper Observation ownership. CX Codex GP ChatGPT 113installs ios-memgraph-leaks official OpenAI Captures and inspects iOS leaks from a simulator process or .memgraph. Useful for tracing retained objects and checking a fix with before-and-after evidence. CX Codex GP ChatGPT 1,054installs

Similar

Questions about figma-design-to-code

How do I install figma-design-to-code in Codex?

Run npx skills add openai/plugins --skill figma-design-to-code -a codex. The general install command is npx skills add openai/plugins --skill figma-design-to-code.

What does figma-design-to-code do?

It guides the agent through implementing a Figma node: fetch context with get_design_context, inspect the project’s components, and adapt the reference code to the project’s stack.

What should I do if a Figma URL has no node-id?

Ask for a link to a specific node. The skill says not to guess the nodeId or pass an empty value.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor