figma-create-design-system-rules

Generate custom design system rules for Figma-to-code workflows.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill figma-create-design-system-rules-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma-create-design-system-rules
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/figma/skills/figma-create-design-system-rules
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill figma-create-design-system-rules-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill solves the inconsistency and repetitive manual effort involved in translating Figma designs into code by establishing standardized, project-specific rules for AI coding agents.

Core Features & Use Cases

  • Automated Rule Generation: Creates tailored guidelines for component organization, styling, and design token usage.
  • Agent Integration: Provides specific configurations for Claude Code, Codex CLI, and Cursor to ensure consistent implementation.
  • Workflow Standardization: Enforces a mandatory Figma-to-code flow, including design context fetching and visual verification.

Quick Start

Use the figma-create-design-system-rules skill to generate and save the design system guidelines for this project.

Frequently Asked Questions about figma-create-design-system-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Figma-to-code implementation for AI coding agents?

To standardize Figma-to-code implementation, you generate project-specific design system rules that enforce component organization, styling, and design token mapping. This ensures AI coding agents produce consistent code from Figma designs.

What is the best way to automate design token mapping during code generation?

Automating design token mapping involves generating custom guidelines that dictate how Figma tokens translate to code. This skill creates those specific rules to standardize styling and token usage across your project.

Does this design system rules generator work with Cursor and Claude Code?

Yes, this design system rules generator works with Cursor and Claude Code. It provides specific configurations for AI coding agents, including Claude Code, Codex CLI, and Cursor, to ensure consistent implementation.

When do I need to generate custom Figma-to-code rules?

You need to generate custom Figma-to-code rules during new project setups, team onboarding, or codebase refactoring. This ensures design consistency and standardizes the workflow when translating Figma designs into code.

How do I enforce visual verification against Figma designs in my workflow?

To enforce visual verification against Figma designs, you establish a mandatory Figma-to-code flow including design context fetching and automated visual validation. This skill generates the rules needed to standardize that workflow.

Can I use this for codebase refactoring to improve design consistency?

Yes, you can use this for codebase refactoring to improve design consistency. It applies to refactoring scenarios by generating structured component organization and design token mapping rules to align existing code with Figma designs.