본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)101k · #985

figma-extract

하는 일

Figma 파일을 받아 핵심 정보를 컴퓨터에 저장합니다. 디자인 구조, 스타일(색, 글꼴 같은), 이미지를 정리된 형식으로 추출합니다.

사용하는 경우

  • ✓Figma 디자인의 로컬 사본이 필요할 때.
  • ✓Figma 스타일과 이미지를 다른 곳에서 쓰려고 프로젝트를 준비할 때.
  • ✓특정 시점의 디자인에 대한 공식 기록을 만들 때.

스킬 링크

https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/figma-extract/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/figma-extract/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 Figma 디자인을 정리된 파일로 저장해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Figma 파일 링크와 특별한 권한(OAuth 토큰)을 제공하면 됩니다. 도구는 모든 것을 내려받아 컴퓨터의 폴더에 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Figma extract

Spec §10 / §21.3.1: the figma-migration scenario starts with a Figma file URL + an OAuth token. This atom turns that pair into the authoritative on-disk record subsequent stages (token-map, generate, critique) operate on.

Inputs

Source Required Notes
Figma file URL or node-id yes Provide via the figma-oauth GenUI surface or od plugin apply --input fileUrl=…
Figma OAuth token yes Routed through oauth-prompt with oauth.route='connector' and connectorId='figma'; the daemon never stores the token in SQLite

Output

The atom writes a deterministic, JSON-shaped extract under the project cwd:

project-cwd/
├── figma/
│   ├── tree.json        # canonical node tree (id / type / parent / children / box / fills / text)
│   ├── tokens.json      # color + typography + spacing tokens lifted off the file
│   ├── assets/          # rasterised exports of every leaf node that the file marks for export
│   │   └── <node-id>.<png|svg|webp>
│   └── meta.json        # { fileUrl, version, lastModified, exportedAt, atomDigest }

figma/tree.json is the canonical pivot for every downstream atom. figma/tokens.json is the input to token-map. assets/ is the input to generate's media stage.

Convergence

The atom completes when figma/tree.json exists and is non-empty. The until evaluator reads figma.tree.nodes >= 1; if the figma file is empty or the OAuth token expired, the atom emits a clear error event and the run aborts (the user fixes auth or picks a different file).

Anti-patterns the prompt fragment forbids

  • Synthesising a tree from screenshots when the OAuth path failed — always re-prompt the user; never make up node ids.
  • Dropping unsupported node types silently; record them in meta.json.unsupportedNodes[] so the human can audit gaps.
  • Treating component instances as duplicates; record componentRef links so token-map can de-duplicate at the right boundary.

Status

Implemented by the daemon runner in apps/daemon/src/plugins/atoms/figma-extract.ts. It fetches and walks the Figma REST tree, records unsupported nodes, lifts tokens, and rasterizes supported assets.

자주 묻는 질문

'디자인 토큰'은 무엇인가요?

디자인의 기본 스타일입니다. 사용된 정확한 색, 글꼴 크기, 요소 사이의 간격 등이 해당합니다.

Figma 파일이 비어 있거나 권한이 만료되면 어떻게 되나요?

도구가 명확한 오류로 알려 주어, 권한을 고치거나 다른 파일을 고를 수 있습니다.

Figma에 접근할 수 없으면 디자인을 추측하나요?

아니요, 정보를 절대 지어내지 않습니다. 문제가 생기면 고치거나 다른 파일을 고르라고 요청합니다.

상세 정보

작성자의 원본 설명

Pull a Figma file's node tree, design tokens, and embedded assets into the project cwd as a structured snapshot.

repo: nexu-io/open-design

인기도

GitHub 스타
101k
순위
#985
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬