मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)101k · #985

figma-extract

यह क्या करती है

यह टूल एक Figma file लेकर उसकी मुख्य जानकारी आपके computer में सेव कर देता है। यह design की संरचना, styles (जैसे रंग और फ़ॉन्ट) और images को व्यवस्थित तरीके से निकालता है।

कब इस्तेमाल करें

  • ✓जब आपको अपने Figma design की local copy चाहिए।
  • ✓जब आप Figma के styles और images किसी और जगह इस्तेमाल करने के लिए प्रोजेक्ट तैयार कर रहे हों।
  • ✓किसी खास समय पर आपके design का आधिकारिक रिकॉर्ड बनाने के लिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/figma-extract/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Figma design को एक व्यवस्थित file में सेव करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप Figma file का link और खास अनुमति (OAuth token) देते हैं। इसके बाद टूल सब कुछ डाउनलोड करता है और उसे आपके computer में folders में व्यवस्थित कर देता है।

तकनीकी सामग्री (मूल 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.

अक्सर पूछे जाने वाले सवाल

'design tokens' क्या होते हैं?

ये आपके design की बुनियादी styles होती हैं, जैसे इस्तेमाल हुए सटीक रंग, font sizes और elements के बीच की जगह।

अगर Figma file खाली हो या अनुमति खत्म हो जाए तो क्या होगा?

टूल आपको एक साफ़ error बताकर सूचित करेगा, ताकि आप अनुमति ठीक कर सकें या कोई दूसरी file चुन सकें।

अगर टूल Figma तक न पहुंच पाए, तो क्या वह design का अंदाज़ा लगाता है?

नहीं, वह कभी जानकारी नहीं बनाता। अगर कुछ गड़बड़ होती है, तो वह आपसे उसे ठीक करने या दूसरी file चुनने को कहता है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills