Skill library

Agent skill Frontend

Figma Create Design System Rules

Connect design references and design tools to frontend implementation.

  • Design to code
  • Design systems
  • Figma

Install the skill

Installation method

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-create-design-system-rules --skill figma-create-design-system-rules --agent claude-code --yes

Check this file in your project.claude/skills/figma-create-design-system-rules/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/openai/skills/tree/main/skills/.curated/figma-create-design-system-rules --skill figma-create-design-system-rules

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Read access to project instructions, token and component files, an approved rule-file destination, and a connected Figma client for using the optional MCP prompt where supported.

View operation manual

What this skill helps with

  • Connect design references and design tools to frontend implementation.

Good for

  • Design handoff
Task
Write Figma handoff rules for one established app workspace
Requirements
Read access to project instructions, token and component files, an approved rule-file destination, and a connected Figma client for using the optional MCP prompt where supported.
Deliverable
A reviewable, project-specific addition to the intended agent rules file, verified against actual repository paths.
Skill name
figma-create-design-system-rules
Repository
openai/skills

Make the design workflow verifiable

An underspecified brief

Copy over a generic set of Figma rules and replace AGENTS.md.

Existing instructions and actual paths drive the handoff. Figma’s prompt can seed the draft when the client exposes it.

A result you can check

  1. Find the real rule-file location and code ownership.
  2. Write concrete code conventions and file paths that a later agent can follow.
  3. Check real paths and confirm what a subsequent implementation can follow.

Figma Create Design System Rules operation manual

A reviewable, project-specific addition to the intended agent rules file, verified against actual repository paths.

Read access to project instructions, token and component files, an approved rule-file destination, and a connected Figma client for using the optional MCP prompt where supported.

  1. Inspect project conventions and the available Figma prompt

    Find the real rule-file location and code ownership.

    Prompt · Step 1
    Use OpenAI’s installed figma-create-design-system-rules Skill and read its SKILL.md first.
    
    Read [app workspace] and its existing agent instructions. Locate shared UI components, where tokens are declared and how assets are authorized. If the connected Figma client exposes the create_design_system_rules MCP prompt, use it as a starter. Otherwise note that limitation and draft from the installed template and actual repository evidence.
  2. Draft the smallest applicable rule section

    Write concrete code conventions and file paths that a later agent can follow.

    Prompt · Step 2
    Use OpenAI’s installed figma-create-design-system-rules Skill and read its SKILL.md first.
    
    Prepare [Figma handoff rules] with actual paths for component reuse, token mapping, naming and authorized asset handling. Separate requirements from preferences. Put the section in the approved AGENTS.md, CLAUDE.md or scoped Cursor file as appropriate, preserving unrelated instructions and using a real content scope for Cursor.
  3. Validate the instructions with a small fixture task

    Check real paths and confirm what a subsequent implementation can follow.

    • The new rule section names real project paths and preserves prior instructions.
    • A small handoff demonstrates the rules or leaves a clear account of the live capability still needed.
    Prompt · Step 3
    Use OpenAI’s installed figma-create-design-system-rules Skill and read its SKILL.md first.
    
    Verify the destination and all paths in the new rules. Walk through one authorized component handoff or a synthetic equivalent and check that it points to an existing component, actual token and correct asset behavior. Report whether the MCP prompt and any real Figma evidence were available, and show the final rules diff.

Look up this workflow decision

Read the relevant section in the installed Skill.

The Figma client has tools but no design-system MCP promptSKILL.md
Command or reference
Step 4: Save Rules to the Appropriate Rule File
Examples
Use the installed template and local analysis for a draft. Report the prompt capability separately.

Troubleshooting

Does the bundled shell helper validate my instructions?

It checks whether AGENTS.md exists at the current working directory. The content and all referenced paths need their own review.