figma
O que ela faz
Esta skill conecta designs do Figma a vídeos HyperFrames. Ela é para designers e produtores de vídeo que querem usar os seus recursos do Figma, cores da marca ou quadros dentro de um vídeo.
Quando usar
- ✓Quando você cola um link do Figma e quer que o design seja usado em um vídeo.
- ✓Quando você quer cores da marca, logos ou componentes do Figma no seu vídeo.
- ✓Quando você quer transformar um storyboard do Figma em cenas animadas.
Link da skill
https://github.com/heygen-com/hyperframes/blob/main/skills/figma/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Use o logo e as cores da marca deste link do Figma no meu vídeo.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente baixa os recursos, cores e componentes escolhidos do Figma para arquivos locais no momento da construção, então o vídeo não chama o Figma na hora de renderizar. Ele precisa de um token de acesso pessoal que você mesmo configura.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Preciso de um token do Figma?
Sim. Você cria um token somente leitura nas configurações do Figma e o salva como FIGMA_TOKEN. O agente não vai pedir que você o cole no chat.
O vídeo chama o Figma na renderização?
Não. Cada importação congela uma cópia local, então as renderizações nunca chamam o Figma.
As animações são tiradas diretamente do Figma?
Nem sempre. Dados de movimento e de shader precisam de um conector do Figma ou de uma exportação nativa feita por você.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 78 mil
- Posição no ranking
- #1739
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
captions-overlay
78 milOrienta seu agente a colocar legendas sobre um vídeo, decidindo quais falas remover, mostrar em uma faixa ou destacar.
cut-the-curve
78 milEnsina seu agente as transições usadas em vídeos HyperFrames, como cortes suaves entre cenas, zoom e entradas de texto escalonadas.
motion-doctrine
78 milDá ao seu agente as regras básicas para fazer um vídeo com várias cenas parecer um único movimento contínuo de câmera, e não uma sequência de slides.
oversized-cursor
78 milEnsina seu agente a colocar um ponteiro animado e grande em um vídeo, para guiar o olhar do espectador e fazer os cliques parecerem a causa da ação seguinte.
Skills parecidas
canvas
394 milPermite que seu agente mostre um widget visual hospedado em um painel conectado a um Mac e depois oculte o painel ou o mova para outra página.
control-ui
394 milAjuda seu agente a organizar e diagnosticar a Control UI do OpenClaw, incluindo sessões, painéis e Gateways conectados.
diagram-maker
394 milAjuda seu agente a criar diagramas claros em SVG, HTML ou Excalidraw editável, para processos, arquitetura de sistemas e esboços de quadro branco.