create-design-system-rules

Generate project-specific design system rules for Figma-to-code implementations.

1.9k|171|Updated Aug 5, 2025
One-click install
npx skills add https://github.com/figma/mcp-server-guide --skill create-design-system-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-design-system-rules
Source: https://github.com/figma/mcp-server-guide/tree/main/skills/create-design-system-rules
Command: npx skills add https://github.com/figma/mcp-server-guide --skill create-design-system-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams establish consistent design-system conventions by generating tailored rules that guide Figma-to-code implementations and reduce drift across projects.

Core Features & Use Cases

  • Generates project-specific design system rules from your codebase analysis to codify team conventions.
  • Encapsulates component organization, styling approaches, token usage, and Figma integration patterns to streamline design-to-code workflows.
  • Use Case: Starting a new project or onboarding Claude to an existing repository to ensure standardized design-system rules across platforms and teams.

Quick Start

  1. Provide project details such as target languages/frameworks and the MCP server connection status.
  2. Connect to the Figma MCP server and verify access.
  3. Run the tool to generate a CLAUDE.md-ready rule set and save it to CLAUDE.md at the project root.

Frequently Asked Questions about create-design-system-rules

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

FAQPage Schema
How do I generate design system rules for Figma-to-code implementations?

To generate design system rules, you provide project details like target frameworks, connect the Figma MCP server, and run the tool to analyze your codebase structure, token usage, and component organization to produce a CLAUDE.md-ready rule set.

What are design tokens and how do they standardize Figma builds?

Design tokens are variables that store visual design attributes like color and typography. Standardizing token usage in your codebase reduces drift and ensures consistent Figma-to-code implementations across teams and platforms.

Does this design system rules generator require a Figma MCP server connection?

Yes, connecting to the Figma MCP server and verifying access is a required step. The tool analyzes Figma integration patterns alongside your codebase structure to generate project-specific design system conventions accurately.

Can I use this to onboard my existing codebase to new design system conventions?

Yes, you can use this during project kickoffs or when onboarding to an existing repository. It analyzes your current codebase structure, styling approaches, and design token usage to codify team conventions into a standardized rule set.

How do I save generated design system rules to my project root?

After providing project details and verifying the Figma MCP server connection, you run the tool to generate the rule set. You then save the output directly to CLAUDE.md at the project root to standardize your design-to-code workflows.

What's the best way to standardize design system conventions across multiple teams?

The best way to standardize conventions is generating a CLAUDE.md-ready rule set that encapsulates component organization, styling approaches, token usage, and Figma integration patterns tailored specifically to your codebase analysis.