figma-create-design-system-rules
하는 일
이 스킬은 AI 코딩 에이전트에게 Figma 디자인을 팀의 방식에 맞는 코드로 바꾸는 방법을 알려 주는 규칙 파일을 만듭니다. Figma 작업의 결과를 일관되게 하려는 팀을 위한 것입니다.
사용하는 경우
- ✓에이전트가 팀의 규칙을 따르도록 Figma-코드 작업의 프로젝트 규칙을 설정하고 싶을 때.
- ✓팀의 컴포넌트, 이름 규칙, 디자인 토큰을 매번 같은 방식으로 적용해야 할 때.
- ✓규칙을 CLAUDE.md, AGENTS.md 또는 Cursor 규칙 파일에 적고 싶을 때.
스킬 링크
https://github.com/openai/skills/blob/main/skills/.curated/figma-create-design-system-rules/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AI가 Figma에서 만들 때 우리 컴포넌트 패턴을 따르도록 프로젝트의 디자인 시스템 규칙을 작성해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 코드베이스와 관례를 살펴본 뒤, 코딩 에이전트가 읽는 파일에 규칙을 씁니다. 이를 위해 Figma MCP 서버 연결이 필요합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Create Design System Rules
Overview
This skill helps you generate custom design system rules tailored to your project's specific needs. These rules guide AI coding agents to produce consistent, high-quality code when implementing Figma designs, ensuring that your team's conventions, component patterns, and architectural decisions are followed automatically.
Supported Rule Files
| Agent | Rule File |
|---|---|
| Claude Code | CLAUDE.md |
| Codex CLI | AGENTS.md |
| Cursor | .cursor/rules/figma-design-system.mdc |
What Are Design System Rules?
Design system rules are project-level instructions that encode the "unwritten knowledge" of your codebase - the kind of expertise that experienced developers know and would pass on to new team members:
- Which layout primitives and components to use
- Where component files should be located
- How components should be named and structured
- What should never be hardcoded
- How to handle design tokens and styling
- Project-specific architectural patterns
Once defined, these rules dramatically reduce repetitive prompting and ensure consistent output across all Figma implementation tasks.
Prerequisites
- Figma MCP server must be connected and accessible
- Access to the project codebase for analysis
- Understanding of your team's component conventions (or willingness to establish them)
When to Use This Skill
Use this skill when:
- Starting a new project that will use Figma designs
- Onboarding an AI coding agent to an existing project with established patterns
- Standardizing Figma-to-code workflows across your team
- Updating or refining existing design system conventions
- Users explicitly request: "create design system rules", "set up Figma guidelines", "customize rules for my project"
Required Workflow
Follow these steps in order. Do not skip steps.
Step 1: Run the Create Design System Rules Tool
Call the Figma MCP server's create_design_system_rules tool to get the foundational prompt and template.
Parameters:
clientLanguages: Comma-separated list of languages used in the project (e.g., "typescript,javascript", "python", "javascript")clientFrameworks: Framework being used (e.g., "react", "vue", "svelte", "angular", "unknown")
This tool returns guidance and a template for creating design system rules.
Structure your design system rules following the template format provided in the tool's response.
Step 2: Analyze the Codebase
Before finalizing rules, analyze the project to understand existing patterns:
Component Organization:
- Where are UI components located? (e.g.,
src/components/,app/ui/,lib/components/) - Is there a dedicated design system directory?
- How are components organized? (by feature, by type, flat structure)
Styling Approach:
- What CSS framework or approach is used? (Tailwind, CSS Modules, styled-components, etc.)
- Where are design tokens defined? (CSS variables, theme files, config files)
- Are there existing color, typography, or spacing tokens?
Component Patterns:
- What naming conventions are used? (PascalCase, kebab-case, prefixes)
- How are component props typically structured?
- Are there common composition patterns?
Architecture Decisions:
- How is state management handled?
- What routing system is used?
- Are there specific import patterns or path aliases?
Step 3: Generate Project-Specific Rules
Based on your codebase analysis, create a comprehensive set of rules. Include:
General Component Rules
- IMPORTANT: Always use components from `[YOUR_PATH]` when possible
- Place new UI components in `[COMPONENT_DIRECTORY]`
- Follow `[NAMING_CONVENTION]` for component names
- Components must export as `[EXPORT_PATTERN]`
Styling Rules
- Use `[CSS_FRAMEWORK/APPROACH]` for styling
- Design tokens are defined in `[TOKEN_LOCATION]`
- IMPORTANT: Never hardcode colors - always use tokens from `[TOKEN_FILE]`
- Spacing values must use the `[SPACING_SYSTEM]` scale
- Typography follows the scale defined in `[TYPOGRAPHY_LOCATION]`
Figma MCP Integration Rules
## Figma MCP Integration Rules
These rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.
### Required Flow (do not skip)
1. Run get_design_context first to fetch the structured representation for the exact node(s)
2. If the response is too large or truncated, ru
자주 묻는 질문
시작하기 전에 무엇이 필요한가요?
Figma MCP 서버 연결과, 프로젝트 코드베이스를 살펴볼 수 있는 접근 권한이 필요합니다.
어떤 파일을 만드나요?
Claude Code는 CLAUDE.md, Codex CLI는 AGENTS.md, Cursor는 Cursor 규칙 파일에 에이전트에 따라 규칙을 씁니다.
어떤 종류의 규칙을 담나요?
어떤 컴포넌트를 쓸지, 파일을 어디에 둘지, 컴포넌트를 어떻게 이름 짓고 무엇을 하드코딩하면 안 되는지에 관한 규칙입니다.
상세 정보
작성자의 원본 설명
Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.
repo: openai/skills
인기도
- GitHub 스타
- 28k
- 순위
- #9849
- 라이선스
- —
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
aspnet-core
28k에이전트가 적절한 앱 유형을 고르고 .NET의 최신 Microsoft 지침을 따라 ASP.NET Core 웹 앱을 만들거나 검토하거나 업그레이드하도록 돕습니다.
chatgpt-apps
28kMCP 서버와 위젯 UI를 결합한 ChatGPT 앱을 만들도록 돕습니다. 도구 설계, UI 리소스, 메타데이터, 로컬 설정을 다룹니다.
cli-creator
28kAPI 문서, 명세, 기존 스크립트를 어느 폴더에서나 실행되고 안정적인 JSON을 반환하는 재사용 가능한 명령줄 도구로 바꾸도록 돕습니다.
define-goal
28k막연한 의도를 성공 기준, 범위, 중단 조건이 있는 명확하고 측정 가능한 목표로 바꾸도록 에이전트를 돕습니다. 작업을 시작하기 전에 정리합니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.