Agent skill

OpenAI Figma Use Skill: Rules for Writing to Figma

The figma-use skill from the openai/skills catalog gives an AI coding agent the Plugin API rules it needs before every use_figma call, so scripts that edit your Figma file run cleanly.

Install
$skill-installer figma-use
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the figma-use skill?

The figma-use skill is the mandatory prerequisite for the use_figma tool on the Figma MCP server. It teaches an agent how to write Plugin API JavaScript that creates or edits nodes, variables and components, with rules for returns, pages, fonts, colors and error recovery.

The figma-use skill is a required companion to the use_figma tool on the Figma MCP server. Its description says to load it before every use_figma call, because skipping it causes common failures that are hard to debug.

It does not tell the agent what to design. It sets the rules for running JavaScript through the Figma Plugin API, covering returns, page switching, fonts, colors and error handling, so each script behaves predictably.

What changes in your agent's output

  • Scripts use top level await and return, with no async wrapper and no figma.closePlugin call.
  • Every call returns the IDs of nodes it created or changed, so the next call can build on them.
  • Colors use the 0 to 1 range, and fonts load before any text change.
  • Work happens in small steps, with a metadata or screenshot check after each one.

What the skill covers

  • Seventeen critical rules, such as setting variable scopes explicitly and awaiting every Promise.
  • Page rules: the current page resets to the first page on each call, so switch with setCurrentPageAsync.
  • An incremental workflow from inspecting the file to final verification.
  • Error recovery, where a failed script makes no changes, plus a pre-flight checklist.

Who the figma-use skill is for

Best for

  • Anyone letting an AI agent write to Figma files through the Figma MCP server.
  • Creating or editing nodes, tokens, components, variants and auto layout programmatically.
  • Teams hitting silent failures from unawaited calls, wrong color ranges or unloaded fonts.

Not for

  • Read only design to code work. Related: the Figma MCP page.
  • Planning a whole page or screen layout. SKILL.md says to load figma-generate-design alongside this skill for that workflow.
  • FigJam boards, since use_figma runs in design mode and blocks node types such as Sticky and Connector.

Use it with UiChemy

This skill writes to a Figma file and does not publish anything to WordPress. UiChemy Figma to WordPress then converts a finished Figma file into editable pages. Click Get Started on uichemy.com. See also Figma UI MCP.