Agent skill

Figma Create Design System Rules Skill: Set Up Agent Rules

The figma-create-design-system-rules skill has an AI coding agent study your codebase and write project rules, so Figma designs get built with your components, tokens and conventions.

Install
$skill-installer figma-create-design-system-rules
View on GitHub

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

What is the figma-create-design-system-rules skill?

The figma-create-design-system-rules skill generates project rules for Figma to code work. The agent calls the Figma MCP tool create_design_system_rules, analyzes your components, styling and tokens, writes rules for your stack, and saves them to the rule file your agent reads, such as AGENTS.md or a Cursor rules file.

The figma-create-design-system-rules skill sits in the curated folder of OpenAI's skills catalog. It helps an agent write the unwritten knowledge of your codebase into rules, so later Figma implementation tasks follow your conventions without repeated prompting.

The first step is a call to create_design_system_rules on the Figma MCP server. It takes your project languages and framework and returns a prompt and template that the skill then fills in from your actual code.

What changes in your agent's output

  • Rules name where UI components live, how files are named and which layout primitives to reuse.
  • Colors, spacing and type come from your tokens. The sample rules say never to hardcode a hex color.
  • Figma output, usually React with Tailwind, is treated as a design reference to translate, not as final code style.
  • Assets from the Figma MCP server are used directly, with no new icon packages added.

What the generated rules cover

  • Component rules: the folder to use, naming convention and export pattern.
  • Styling rules: the CSS approach, where tokens are defined, and the spacing and type scales.
  • A required Figma flow: get_design_context first, get_metadata if the response is too large, then get_screenshot, then implementation and a final check against Figma.
  • Asset handling and project conventions such as testing, accessibility and performance notes.

Who the figma-create-design-system-rules skill is for

Best for

  • Teams starting a project that will be built from Figma designs.
  • Codebases with established patterns that an agent keeps ignoring.
  • Standardizing a Figma to code workflow across several developers who each use an AI agent.

Not for

  • Implementing a specific screen. This skill writes rules once and does not build UI. Related: figma-mcp.
  • Projects with no Figma MCP server, since SKILL.md says it requires one.
  • Writing a design token file from scratch. Related: create-design-md.

Use it with UiChemy

These rules shape code that your agent writes in a project. UiChemy goes a different way: Figma to WordPress converts a Figma file into editable WordPress pages. Click Get Started on uichemy.com. Related: design-md.