figma
यह क्या करती है
यह स्किल Figma डिज़ाइन को HyperFrames वीडियो से जोड़ती है। जो डिज़ाइनर और वीडियो बनाने वाले अपने Figma assets, ब्रांड रंग या फ़्रेम वीडियो में चाहते हैं, उनके लिए यह है।
कब इस्तेमाल करें
- ✓जब आप Figma लिंक चिपकाएँ और चाहें कि वह डिज़ाइन वीडियो में इस्तेमाल हो।
- ✓जब आपको Figma से ब्रांड रंग, लोगो या components वीडियो में चाहिए।
- ✓जब आप Figma स्टोरीबोर्ड को एनिमेटेड दृश्यों में बदलना चाहें।
Skill का लिंक
https://github.com/heygen-com/hyperframes/blob/main/skills/figma/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस Figma लिंक से लोगो और ब्रांड रंग मेरे वीडियो में इस्तेमाल कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट चुने Figma assets, रंग और components को बिल्ड के समय स्थानीय फ़ाइलों में डाउनलोड करता है, ताकि वीडियो रेंडर होते समय Figma को कॉल न करे। इसके लिए एक निजी access token चाहिए, जिसे आप खुद सेट करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
Figma → HyperFrames
Every import happens at build time and freezes a local file with its source recorded under .media/, so renders never call Figma and re-running a command re-imports only what changed. Assets, tokens and components go over REST with a token; motion and shader data need a Figma connector, or a native export from the person.
Access
FIGMA_TOKEN in the shell or the project .env. Check it exists before the first command; if not, tell the person how to make one and stop: figma.com → Settings → Security → Personal access tokens, read-only File content and File metadata, plus Library content for tokens on non-Enterprise plans. They set it themselves; never ask them to paste it into the chat.
| Error | Meaning |
|---|---|
BAD_TOKEN (401) |
Expired or revoked: make a new one |
FORBIDDEN (403) |
The message names the missing scope, or the file isn't visible to the account |
REQUIRES_ENTERPRISE (403, variables) |
Not a failure: the published-styles fallback already ran |
RATE_LIMITED (429) |
Already retried with backoff; wait a minute or import fewer nodes per call |
Commands
- A layer, logo or image:
npx hyperframes figma asset '<url or fileKey:nodeId>' [more refs] --format svg|png --scale 2 --description "<what it is>" [--entity "<brand mark>"]. SVG for vectors and logos, PNG at 2x for raster. Several nodes of one file in one call render in a single request;--entitylets/media-usefind a brand mark later. - Brand colours and type:
npx hyperframes figma tokens <fileKey>. Run it beforecomponentand paste the printed entries intodata-composition-variables. Without Enterprise it falls back to published styles. A connector can supply variables there instead: cache its raw response in.media/figma-cache/and write the bindings to.media/figma-bindings.jsonl({kind:"binding", figmaId, sourceFileKey, compositionVariableId:"figma:<name>", version}). - A frame as editable HTML at exact geometry:
npx hyperframes figma component '<url or fileKey:nodeId>', packaged undercompositions/components/<name>/. A fill bound to an imported token comes out asvar(--slug, #literal), so one variable re-brands every import; an unknown token stays a literal markeddata-figma-unresolved: import that library's tokens and re-import. Ask once which file a library is; never match by hex. - Check hero components against Figma's pixels (
figma asset <same node> --format png). Text drift is the usual cause; report drift you can't fix instead of hand-tweaking the import.
Motion (connector)
Usage beacon: these phases have no CLI touchpoint, so run npx hyperframes events --skill=figma-motion when you begin and npx hyperframes events --skill=figma-motion --event=skill_completed --outcome=success|error when done. Same for shaders (figma-shaders) and storyboards (figma-storyboard).
- Fetch motion context for the parent frame in one recursive request; cache the raw JSON in
.media/figma-cache/. - Normalise with
motionContextToDocs(raw, { selectorFor, repeat })from@hyperframes/core/figma, never by transcribing keyframes. It reads the motion.dev snippets (the CSS snippets stretch durations), drops loop-wrap tail keyframes and keeps bezier eases.selectorForreturns the ids from the component import. motionToGsap(doc)→emitTimelineScript(spec), injected after the GSAP and CustomEase tags: paused, finite, a literalwindow.__timelineskey. Named eases outside the mapped set fall back to linear; say so.- Verify against Figma's own export:
node <SKILL_DIR>/scripts/verify-motion.mjs --reference <export.mp4> --render <render.mp4> --crop WxH+X+Y. It compares motion between samples, so static drift cancels out, and fails under 15 dB (faithful ≈ 20+, diverging ≈ 5). Measure--cropfrom the render's card edges. A fail means fix the translation, not the threshold. - A track that won't translate: export it, freeze the MP4 and place it as
<video class="clip">.
Shaders
Figma's export path flattens shaders to their base colour, and shader source is only reachable for library-published styles. Ask the person for a native export of that frame (PNG or MP4) and place it as an asset or clip.
Storyboards: frames are KEYFRAMES, not slides
Two frames hold
अक्सर पूछे जाने वाले सवाल
क्या मुझे Figma token चाहिए?
हाँ। आप अपनी Figma सेटिंग्स में केवल-पढ़ने वाला token बनाकर उसे FIGMA_TOKEN के रूप में सहेजते हैं। एजेंट आपसे उसे चैट में चिपकाने को नहीं कहेगा।
क्या वीडियो रेंडर होते समय Figma को कॉल करता है?
नहीं। हर import एक स्थानीय कॉपी जमा करता है, इसलिए रेंडर कभी Figma को कॉल नहीं करते।
क्या एनिमेशन सीधे Figma से लिए जाते हैं?
हमेशा नहीं। मोशन और shader डेटा के लिए Figma connector या आपकी ओर से native export चाहिए।
जानकारी
लेखक का मूल विवरण
Bring Figma into a HyperFrames video - rendered assets, brand tokens, components, storyboard frames as reconstructed motion (frames read as states, not slides), shaders and connector-assisted motion. Use when the person pastes a figma.com link or asks to use a Figma design, frame, logo or brand.
repo: heygen-com/hyperframes
लोकप्रियता
- GitHub स्टार
- 78k
- रैंकिंग में स्थान
- #1739
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
captions-overlay
78kवीडियो में ओवरले के रूप में कैप्शन जोड़ने का मार्गदर्शन देती है, यह तय करते हुए कि कौन से बोले गए वाक्य हटाएँ, रेल पर दिखाएँ या हाइलाइट करें।
cut-the-curve
78kआपके एजेंट को HyperFrames वीडियो में इस्तेमाल होने वाले ट्रांज़िशन सिखाती है, जैसे चिकने दृश्य-कट, zoom-through और क्रमिक टेक्स्ट एंट्री।
motion-doctrine
78kकई दृश्यों वाले वीडियो को अलग-अलग स्लाइड के बजाय एक लगातार कैमरा मूव जैसा बनाने के मूल नियम आपके एजेंट को देती है।
oversized-cursor
78kवीडियो में एक बड़ा, एनिमेटेड पॉइंटर जोड़ना सिखाती है, जो दर्शक की नज़र को दिशा दे और क्लिक को अगली कार्रवाई का कारण जैसा दिखाए।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।