Skip to content
Kitbay
SkillBeta

figma-create-design-system-rules

Updated on Oct 28, 202628,682GitHub starsIncludes scripts

A skill in OpenAI's curated Codex skills collection that writes project-specific design system rules for agents that turn Figma designs into code.

What the skill teaches

A skill in OpenAI's curated Codex skills collection that writes project-specific design system rules for agents that turn Figma designs into code. The agent calls the Figma MCP server's create_design_system_rules tool for a starting template, studies the codebase's components, tokens, file layout and naming, and writes the rules into the agent's instruction file: AGENTS.md for Codex, CLAUDE.md for Claude Code or a rule file for Cursor. It needs the Figma MCP server connected and access to the project. A bundled shell script checks the AGENTS.md file.

Capabilities

  • Generate design system rules for a codebase
  • Write Figma-to-code rules into AGENTS.md, CLAUDE.md or a Cursor rule
  • Analyse a project's components, tokens and naming