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

figma

하는 일

이 스킬은 Figma 디자인을 HyperFrames 영상과 연결합니다. 영상에 Figma의 자산, 브랜드 색, 프레임을 넣고 싶은 디자이너와 영상 제작자를 위한 스킬입니다.

사용하는 경우

  • ✓Figma 링크를 붙여 넣고 그 디자인을 영상에 쓰고 싶을 때.
  • ✓Figma의 브랜드 색, 로고, 컴포넌트를 영상에 쓰고 싶을 때.
  • ✓Figma 스토리보드를 애니메이션 장면으로 바꾸고 싶을 때.

스킬 링크

https://github.com/heygen-com/hyperframes/blob/main/skills/figma/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/heygen-com/hyperframes/blob/main/skills/figma/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 자산, 색, 컴포넌트를 빌드 시점에 로컬 파일로 내려받습니다. 그래서 영상을 렌더링할 때 Figma를 호출하지 않습니다. 읽기 전용 개인 액세스 토큰이 필요하며, 사용자가 직접 설정합니다.

기술 내용 (원본 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; --entity lets /media-use find a brand mark later.
  • Brand colours and type: npx hyperframes figma tokens <fileKey>. Run it before component and paste the printed entries into data-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 under compositions/components/<name>/. A fill bound to an imported token comes out as var(--slug, #literal), so one variable re-brands every import; an unknown token stays a literal marked data-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).

  1. Fetch motion context for the parent frame in one recursive request; cache the raw JSON in .media/figma-cache/.
  2. 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. selectorFor returns the ids from the component import.
  3. motionToGsap(doc) → emitTimelineScript(spec), injected after the GSAP and CustomEase tags: paused, finite, a literal window.__timelines key. Named eases outside the mapped set fall back to linear; say so.
  4. 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 --crop from the render's card edges. A fail means fix the translation, not the threshold.
  5. 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 설정에서 읽기 전용 토큰을 만들어 FIGMA_TOKEN으로 저장하세요. 에이전트는 채팅에 토큰을 붙여 넣으라고 요청하지 않습니다.

영상을 렌더링할 때 Figma를 호출하나요?

아닙니다. 가져올 때마다 로컬 사본이 고정되므로, 렌더링은 Figma를 호출하지 않습니다.

애니메이션도 Figma에서 직접 가져오나요?

항상 그렇지는 않습니다. 움직임과 셰이더 데이터는 Figma 커넥터나 사용자의 네이티브 내보내기가 필요합니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬