Communitygithub.com

하이퍼프레임-코어

HyperFrames 구성 계약 — 하나의 렌더링 가능한 프로젝트를 구축합니다. 컴포지션 구조, `data-*` 타이밍 속성, `class=`에 사용됩니다.

하이퍼프레임-코어란 무엇인가요?

HyperFrames Core는 HTML을 비디오로 렌더링하는 HyperFrames 프레임워크의 핵심 기술 계약을 정의합니다. 이 스킬은 하나의 HyperFrames 프로젝트를 구축하는 방법, 즉 HTML DOM 요소에 `data-*` 속성을 사용하여 타이밍을 선언하고, 탐색 가능한 애니메이션 런타임을 제공하며, 미디어 재생을 프레임워크가 관리하는 컴포지션을 작성하는 방법을 설명합니다. 개발자는 이 스킬을 통해 독립 실행형 컴포지션(`index.html`) 또는 하위 컴포지션(`<template>` 래퍼 필요)의 두 가지 루트 형식 중 하나를 선택할 수 있으며, `references/` 디렉토리의 상세 문서를 참조하여 데이터 속성, 트랙 및 클립, 하위 컴포지션, 변수 및 미디어, 결정론적 타임라인 규칙, 전체 화면 모션, 스토리보드, 제작 루프, 브리프, 스크립트 형식 등을 학습할 수 있습니다. 이 스킬은 Claude Code, Cursor, Codex, Copilot, Windsurf, Cline, Aider 등의 AI 에이전트 플랫폼에서 사용할 수 있으며, 하위 에이전트 디스패치, Tailwind v4 프로젝트 지원, 프레임 워커 역할 계약 등의 고급 기능도 포함합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jasonfast123/hyperframes-skills/tree/main/skills/hyperframes-core

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

HyperFrames Core

HyperFrames는 HTML로부터 비디오를 렌더링합니다. 컴포지션은 DOM이 data-* 속성으로 타이밍을 선언하고, 애니메이션 런타임이 탐색 가능하며(seekable), 미디어 재생이 프레임워크에 의해 소유되는 HTML 파일입니다.

이 스킬은 기술 계약입니다 — 하나의 hyperframes 프로젝트를 구축하는 방법에 대한 것입니다. 아래 본문은 빌드 가이드입니다. 주제별 세부 사항은 references/ (다음 인덱스 참조)에 있으며, 필요 시 읽으십시오. 다른 사항들은 형제 도메인 스킬인 hyperframes-animation, hyperframes-creative, media-use, hyperframes-cli, hyperframes-registry에 있습니다. /hyperframes의 기능 맵은 각 스킬이 다루는 내용을 설명합니다.

참조

파일읽는 목적
references/minimal-composition.md가장 작은 렌더링 가능한 컴포지션 스켈레톤부터 시작하기
references/composition-patterns.md모놀리식 vs 모듈식 중 선택; 모듈식 index.html 구조화; 서브 컴포지션 아키타입 선택
references/data-attributes.md모든 data-* (루트 / 클립 / 서브 컴포지션 호스트 / 레거시 별칭) 조회; class="clip" 사용
references/tracks-and-clips.mddata-track-index 선택, 동일 트랙 중복 / z-index 처리, 다른 클립을 기준으로 클립 시간 지정
references/creator-editing-recipes.md정확한 잘라내기/자르기/재정렬/시간 재조정/정지/카메라/마스크/크로스페이드/오디오 편집 레시피 및 제한 사항 복사
references/sub-compositions.md서브 컴포지션 연결 (호스트 속성, <template>, 인스턴스별 변수) 및 내부 애니메이션
references/variables-and-media.md변수 선언; <video>/<audio> 배치, 볼륨 설정, 자르기
references/determinism-rules.md탐색 가능한 타임라인 구축; 결정론 금지 사항; 애니메이션 가능 속성 허용 목록; 레이아웃 / 텍스트 맞춤
references/full-screen-motion.md공유 배경으로 전체 프레임 모션 제작
references/storyboard-format.mdSTORYBOARD.md 계획 제작 (+ 구문 분석된 매니페스트)
references/review-loop.md라이브 보드에서 계획 → 스케치 → 빌드 검토 패스 실행 — 모든 스토리보드 계획 워크플로우에서 공유
references/production-loop.md승인된 계획을 전달된 비디오로 가져오기 — 스테이지 종속성(오디오, 프레임, 조립, 전환, 자막, 확인, 전달) 자유 형식 빌드는 직접 따릅니다
references/brief-contract.md브리프의 기본 규칙 — 모드 파생(협업 / 자율), 공유 필드 레지스트리, 질문 불변성(질문 자체는 /hyperframes → 의도 계층에 있음)
references/brief-format.mdBRIEF.md 제작 — 워크플로우의 설정이 작성하고 이후 모든 단계가 읽는 확인된 의도 문서
references/script-format.md선택적 SCRIPT.md 고정 내레이션 제작
references/subagent-dispatch.md하위 에이전트 디스패치 동사(병렬 팬아웃 / 백그라운드 / 대기)를 하네스에 매핑
references/frame-worker-core.md공유 프레임 워커 역할 계약 — 각 내러티브 워크플로우의 패킷 빌더가 이를 해당 워크플로우의 sub-agents/frame-worker.md 델타 앞에 추가합니다
references/tailwind.mdTailwind v4 프로젝트에서 작업 (init --tailwind; 런타임 계약이 Studio의 v3과 다름)

애니메이션 런타임 세부 사항(GSAP API, Lottie, Three.js 등)은 hyperframes-animation → adapters/<runtime>.md로 이동하십시오.

컴포지션 구축

두 가지 루트 형태 (상호 교환 불가)

  • 독립형 (최상위 index.html) — 루트 <div data-composition-id="…">가 <body>에 직접 위치하며, <template> 래퍼 없음 (래핑하면 모든 콘텐츠가 숨겨지고 렌더링이 깨집니다).
  • 서브 컴포지션 (data-composition-src를 통해 로드됨) — 루트 반드시 <template>으로 감싸야 합니다.

⚠ 전송 규칙: 런타임은 <template> 내용만 복제합니다; 외부의 모든 것(<head> 스타일/스크립트 포함)은 폐기됩니다 — <style>/<script>를 템플릿 내부에 배치하십시오. ⚠ 호스트 ID 규칙: 호스트 슬롯의 data-composition-id는 내부 템플릿의 data-composition-id 및 window.__timelines["<id>"] 키와 정확히 일치해야 합니다 — -mount/-slot/-host 접미사 없음.

파일 형태, 호스트 연결 및 사전 렌더링 체크리스트 → references/sub-compositions.md.

루트는 크기가 지정되어야 함 (조용한 레이아웃 버그)

독립형 루트는 명시적인 크기 박스(px 단위 width/height)가 필요하며, height:100% 요소까지의 모든 상위 요소는 확인된 높이를 가져야 합니다. 그렇지 않으면 flex/100% 자식이 ~0으로 축소되고 콘텐츠가 왼쪽 상단 모서리에 쌓입니다. 자동화된 게이트만으로 이 문제를 잡을 수 있다고 의존하지 마십시오; 스냅샷을 검사하십시오. 스켈레톤 → references/minimal-composition.md.

하나의 일시 중지된 타임라인

각 컴포지션은 페이지 로드 시 동기적으로 구축된 정확히 하나의 gsap.timeline({ paused: true })을 window.__timelines["<id>"] (키 = 루트 data-composition-id)에 등록합니다. 렌더링 지속 시간은 타임라인 길이가 아닌 루트 data-duration입니다. 수동으로 서브 타임라인을 호스트에 중첩하지 마십시오. 전체 계약(비-GSAP 런타임 포함) → references/determinism-rules.md + hyperframes-animation/adapters/.

첫 번째 패스 린트 문제 (보장된 첫 번째 빌드 실패)

lint가 확실히 잡아내는 두 가지 규칙이지만, 사후에만 잡힙니다 — 처음부터 올바르게 작성하십시오:

  • 루트 컴포지션 요소는 반드시 data-start="0"을 가져야 합니다 (data-composition-id/data-width/data-height와 함께); 생략하면 lint가 root_composition_missing_data_start로 실패합니다.
  • CSS 초기 transform과 동일한 속성에 대한 GSAP 트윈을 절대 짝지어 사용하지 마십시오 — CSS 값과 트윈의 시작이 충돌하여 lint가 gsap_css_transform_conflict로 거부합니다. CSS transform: translateX(-40px) 대신 gsap.fromTo(el, { x: -40 }, { x: 0 })를 사용하여 트윈 내부에 초기 상태를 설정하십시오.

양보할 수 없는 규칙 (자동화된 게이트가 놓칠 수 있는 조용한 버그)

여기에 표시됨; 전체 근거는 링크된 참조에 있습니다. 위반하지 마십시오:

  • 렌더링 시간 시계 / 시드되지 않은 Math.random / 네트워크 / 입력 상태 없음; repeat: -1 없음 (유한 횟수 사용). → determinism-rules.md
  • 시각적 속성 허용 목록만 애니메이션; display 또는 원시 visibility를 절대 트윈하지 마십시오. GSAP autoAlpha 및 지속 시간이 0인 타임라인 경계 설정만 가시성 예외이며, 클립 요소가 아니거나 클립 내부 래퍼에만 적용됩니다. 프레임워크만 .clip 가시성을 제어합니다. 페이지 로드 시 나중 장면 클립에 gsap.set을 사용하지 마십시오. → determinism-rules.md
  • 본문 텍스트에 <br> 없음; 변환된 요소는 블록 레벨 + 크기 지정되어야 함; 펄싱 절대 장식 요소는 최대 간격이 필요합니다. → determinism-rules.md
  • <video>/<audio>는 모든 중첩 깊이에서 작동합니다 (서브 컴포지션 <template> 또는 래퍼 내부 포함); 프레임워크가 재생을 소유하고 미디어가 있는 곳이면 어디서나 탐색/디코딩합니다. 유일한 주의 사항은 타임라인, 배치가 아닙니다: 서브 컴포지션 타임라인은 호스트 루트 요소를 애니메이션할 수 없습니다. → variables-and-media.md
  • 모든 id는 조립된 페이지 전체에서 고유해야 합니다; 서브 컴포지션 내부에서는 컴포지션 id로 id 앞에 접두사를 붙이십시오 (#<id>-hero). 중복된 <video>/<img> id는 빈 상태로 렌더링됩니다 — 프로듀서가 getElementById로 프레임을 주입하고, 파일 간 중복은 lint를 통과합니다. → composition-patterns.md
  • 전체 화면 장면 채우기는 전체 너비 자식(position:absolute; inset:0)에 들어가야 하며, 컴포지션 루트 자체에는 절대 넣지 마십시오 — 프로듀서의 프레임 합성이 루트 요소 자체의 background를 떨어뜨릴 수 있습니다 (프레임이 검정색으로 렌더링됨) 미리보기/snapshot에서는 올바르게 표시되더라도. → composition-patterns.md

기존 컴포지션 편집

  • 먼저 파일을 읽으십시오. 관련 없는 타이밍, 트랙, ID, 변수, 미디어 경로를 보존하십시오.
  • 기존 컴포지션 ID 및 타임라인 키와 일치시키십시오.
  • 클립 추가: 겹치지 않는 data-track-index를 선택하거나 의도적으로 주변 타이밍을 조정하십시오.
  • 모든 컴포지션 요소의 data-hidden은 미리보기와 렌더링 모두에서 해당 요소를 숨기며, 시간 창을 재정의합니다. 비파괴적/되돌릴 수 있으며 Studio의 타임라인 눈 아이콘으로 전환됩니다.
  • 서브 컴포지션 추가: 호스트를 연결하기 전에 내부 data-composition-id를 확인하십시오.

검증

명령어 세부 사항은 hyperframes-cli 사용

  • npx hyperframes check 통과 (린트, 런타임, 레이아웃, 모션 및 대비에서 0개의 결과)
  • 서브 컴포지션이 있는 프로젝트: npx hyperframes snapshot --at <중간 지점> 및 각 프레임 육안 검사
  • 검토를 위해 npx hyperframes preview --background (사용자는 Studio의 타임라인에서 아무거나 편집할 수 있으며, 서버는 호출 명령어 이후에도 유지됨)
  • 사용자 승인 후에만 npx hyperframes render

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

embedded-captions

>

faceless-explainer

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

figma

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

general-video

>

hyperframes

>

hyperframes-animation

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition

hyperframes-audio

>

hyperframes-cli

>

hyperframes-creative

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

hyperframes-keyframes

>

hyperframes-registry

Install, discover, and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

jasonfast123/hyperframes-skills

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

media-use

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

motion-graphics

>

music-to-video

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

pr-to-video

Turn a GitHub pull request (a PR URL, owner/repo#N, or

remotion-to-hyperframes

Port an existing Remotion (React) composition

slideshow

>

talking-head-recut

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on

관련 스킬