Communitygithub.com

figma/figma-generate-library

코드베이스로부터 Figma에서 전문가 수준의 디자인 시스템을 구축하거나 업데이트합니다. 변수/토큰 생성, 컴포넌트 라이브러리 구축, 변형 세트 및 변수 바인딩이 포함된 개별 컴포넌트 생성, 테마 설정(라이트/다크 모드), 기반 문서화, 코드와 Figma 간의 차이 조정에 사용합니다.

figma-generate-library란 무엇인가요?

이 스킬은 코드베이스를 기반으로 Figma에서 전문적인 디자인 시스템을 생성하거나 업데이트하는 방법을 설명합니다. 주 사용 사례는 변수/디자인 토큰 생성, 컴포넌트 라이브러리 구축, 적절한 변형 세트와 변수 바인딩이 포함된 개별 컴포넌트 생성, 라이트/다크 모드 테마 설정, 디자인 기반 문서화, 그리고 코드와 Figma 간의 차이를 조정하는 것입니다. 단일 컴포넌트를 생성할 때도 이 스킬을 사용해야 합니다. 모든 컴포넌트는 프로덕션 품질을 유지하기 위해 변수 기반, 변형 상태, 디자인 토큰 바인딩이 필요하기 때문입니다. 이 스킬은 '무엇을' 어떤 '순서로' 빌드할지 가르쳐 주며, Figma Plugin API를 '어떻게' 호출할지 가르쳐 주는 `figma-use` 스킬을 보완합니다. 두 스킬은 함께 로드되어야 합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/figma/mcp-server-guide/tree/main/skills/figma-generate-library

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

figma-generate-library은(는) 무엇을 하나요?

코드베이스로부터 Figma에서 전문가 수준의 디자인 시스템을 구축하거나 업데이트합니다. 사용자가 변수/토큰을 생성하거나, 컴포넌트 라이브러리를 구축하거나, 적절한 변형 세트와 변수 바인딩이 포함된 개별 컴포넌트를 생성하거나, 테마(라이트/다크 모드)를 설정하거나, 기반을 문서화하거나, 코드와 Figma 간의 차이를 조정하려고 할 때 사용하세요. 또한 사용자가 Figma에서 단일 컴포넌트라도 생성하거나 생성하도록 요청할 때 사용하세요. 모든 컴포넌트는 프로덕션 품질을 유지하기 위해 적절한 변수 기반, 변형 상태, 디자인 토큰 바인딩이 필요하기 때문입니다. 이 스킬은 '무엇을' 어떤 '순서로' 빌드할지 가르쳐 줍니다. 이는 Figma Plugin API를 '어떻게' 호출할지 가르쳐 주는 figma-use 스킬을 보완합니다. 두 스킬은 함께 로드되어야 합니다.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

figma/code-connect-components

Connects Figma design components to code components using Code Connect. Use when user says "code connect", "connect this component to code", "connect Figma to code", "map this component", "link component to code", "create code connect mapping", "add code connect", "connect design to code", or wants to establish mappings between Figma designs and code implementations. Requires Figma MCP server connection.

figma/create-design-system-rules

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.

figma/figma-code-connect

Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files.

figma/figma-create-design-system-rules

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.

figma/figma-create-new-file

**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `create_new_file` tool call. NEVER call `create_new_file` directly without loading this skill first. Trigger whenever the user wants a new blank Figma file — a new design, FigJam, or Slides file — or when you need a fresh file before calling `use_figma`. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard, /figma-create-new-file slides Q3 Review)

figma/figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, or any composed multi-section view in Figma from code or a description. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.

figma/figma-implement-design

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.

figma/figma-use

**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.

figma/implement-design

Translates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", "generate code", "implement component", "build Figma design", provides Figma URLs, or asks to build components matching Figma specs. Requires Figma MCP server connection.

관련 스킬