Community코딩 & 개발github.com

HyperFrames

HTML을 비디오의 진실 공급원(Source of Truth)으로 사용하여, `data-*` 속성과 GSAP 타임라인으로 구성된 애니메이션 프레임워크입니다.

HyperFrames란 무엇인가요?

HyperFrames는 HTML을 기반으로 비디오를 구성하는 AI 에이전트 스킬입니다. 각 장면(Composition)은 HTML 파일로 작성되며, `data-*` 속성으로 타이밍을 제어하고 GSAP 타임라인으로 애니메이션을 정의합니다. CSS는 모든 요소의 최종 위치를 결정하고, GSAP은 `from()`과 `to()` 메서드를 사용하여 등장과 퇴장을 애니메이션화합니다. 이 프레임워크는 Claude Code, Cursor, Codex 등 다양한 AI 코딩 도구와 호환되며, 디자인 시스템(design.md)을 우선 적용하고 프로젝트 설정을 건너뛸 경우 8가지 사전 정의된 스타일 또는 하우스 스타일 팔레트를 제안합니다. 비디오 작곡, 타이밍, 레이아웃, 애니메이션에 대한 체계적인 규칙을 제공하여 일관된 결과물을 보장합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add delorenj/skills

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

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

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

미리보기

스킬 README에서

문서

HyperFrames은(는) 무엇을 하나요?

HTML은 비디오의 진실 공급원입니다. 컴포지션은 타임라인을 위한 data-* 속성, 애니메이션을 위한 GSAP 타임라인, 그리고 외관을 위한 CSS를 포함하는 HTML 파일입니다. 이 프레임워크는 클립 가시성, 미디어 재생, 타임라인 동기화를 처리합니다.

접근 방식

발견 (탐색적 요청 전용)

사용자가 방향을 정하지 않은 개방형 요청("제품 런칭 비디오 만들어 줘", "우리 브랜드를 위한 무언가 만들어 줘")의 경우, 색상을 고르기 전에 의도를 이해하세요:

  • 대상 — 누가 시청하나요? 개발자? 임원? 일반 소비자?
  • 플랫폼 — 어디에서 재생되나요? 소셜 미디어(15초), 웹사이트 히어로, 제품 데모, 내부용?
  • 우선순위 — 무엇이 가장 중요한가요? 모션 품질? 콘텐츠 정확성? 브랜드 충실도? 속도?
  • 변형 — 사용자가 여러 옵션을 원하나요, 아니면 하나의 최고 결과물을 원하나요?

구체적인 요청("타이틀 카드 추가해 줘", "3번 장면 타이밍 수정해 줘")의 경우, 발견 단계를 건너뛰세요.

탐색적 요청의 경우, 의미 있게 다른 2-3가지 변형을 제공하는 것을 고려하세요 — 단순한 색상 변경이 아니라, 다른 속도, 에너지 레벨, 또는 구조적 접근 방식입니다. 하나는 안전하고 예상 가능한 것, 다른 하나는 야심 찬 것입니다. 이것을 의무 사항으로 만들지 마세요 — 적절할 때 사용할 수 있는 도구입니다.

단계 1: 디자인 시스템

프로젝트에 design.md 또는 DESIGN.md 파일이 있으면 먼저 읽으세요 (두 파일명은 Linux에서 다른 파일입니다). 브랜드 색상, 폰트, 제약 조건의 진실 공급원입니다. 정확한 값을 사용하세요 — 색상을 임의로 만들거나 폰트를 대체하지 마세요. 어떤 형식이든 상관없습니다 (YAML 머리말, 산문, 표 — 값을 추출하기만 하면 됩니다).

로컬에서 찾을 수 없는 폰트를 지정하는 경우 (fonts/ 디렉토리에 .woff2 파일이 없거나 내장 폰트가 아닌 경우), HTML을 작성하기 전에 사용자에게 경고하세요: "design.md에 [폰트 이름]이 지정되었지만 폰트 파일을 찾을 수 없습니다. fonts/에 .woff2 파일을 추가하거나, 가장 가까운 내장 대체 폰트로 대체하겠습니다."

design.md가 없는 경우, 사용자에게 선택권을 제공하세요:

  1. 사용자가 스타일이나 분위기를 지정했나요? → visual-styles.md를 읽어 8가지 명명된 프리셋 중 가장 가까운 것을 선택하세요.
  2. 시각적으로 옵션을 탐색하고 싶나요? → 디자인 선택기를 실행하세요: references/design-picker.md를 읽어 전체 워크플로우를 확인하세요. 시각적 선택기 페이지를 제공합니다. 사용자가 브라우저에서 분위기, 팔레트, 타이포그래피, 모션을 구성한 다음 생성된 design.md를 복사하여 대화에 붙여넣습니다.
  3. 건너뛰고 빠르게 진행하고 싶나요? → 분위기, 밝음 또는 어두움, 브랜드 색상/폰트를 물어보세요. 그런 다음 house-style.md에서 팔레트를 선택하세요.

design.md는 브랜드를 정의합니다. 비디오 컴포지션 규칙을 정의하지 않습니다. 컴포지션 규칙은 references/video-composition.md와 house-style.md에서 제공됩니다. 브랜드 색상을 비디오에 적합한 스케일로 사용하세요 — 웹 UI 불투명도로 사용하지 마세요.

단계 2: 프롬프트 확장

모든 컴포지션에 대해 항상 실행하세요 (단일 장면 조각 및 사소한 수정 제외). 이 단계는 design.md 및 house-style.md에 대해 사용자의 의도를 검증하고, 모든 다운스트림 에이전트가 동일하게 읽는 일관된 중간 결과물을 생성합니다.

전체 프로세스와 출력 형식은 references/prompt-expansion.md를 읽으세요.

단계 3: 계획

HTML을 작성하기 전에, 높은 수준에서 생각하세요:

  1. 무엇 — 시청자는 무엇을 경험해야 하나요? 내러티브 아크, 주요 순간, 감정적 비트를 식별하세요.
  2. 구조 — 몇 개의 컴포지션, 어떤 것이 하위 컴포지션이고 어떤 것이 인라인인지, 어떤 트랙이 무엇을 담당하는지 (비디오, 오디오, 오버레이, 캡션).
  3. 리듬 — 구현하기 전에 장면 리듬을 선언하세요. 어떤 장면이 빠르고, 어떤 장면이 길게 유지되며, 셰이더는 어디에 배치되고, 에너지는 어디서 최고조에 도달하는지. 패턴 이름을 지정하세요: fast-fast-SLOW-fast-SHADER-hold. 리듬 템플릿은 references/beat-direction.md를 읽으세요.
  4. 타이밍 — 어떤 클립이 지속 시간을 결정하고, 전환이 어디에 위치하며, 페이싱은 어떠한지.
  5. 레이아웃 — 먼저 최종 상태를 구축하세요. 아래 "애니메이션 전 레이아웃"을 참조하세요.
  6. 애니메이션 — 그런 다음 아래 규칙을 사용하여 모션을 추가하세요.

요청된 것을 만드세요. "타이틀 카드" 요청은 "타이틀 카드 + 3개의 지원 장면 + 배경 음악 + 캡션"에 대한 요청이 아닙니다. 모든 장면, 모든 요소, 모든 트윈은 그 자리를 정당화해야 합니다. 추가 장면이나 요소가 작품을 진정으로 향상시킨다면 제안하세요 — 추가하지 마세요.

작은 수정(색상 수정, 타이밍 조정, 한 요소 추가)의 경우, 바로 규칙으로 건너뛰세요.

<하드-게이트> 어떤 컴포지션 HTML을 작성하기 전에 — 단계 1에서 시각적 정체성을 확보했는지 확인하세요. #333, #3b82f6, 또는 Roboto에 손을 뻗고 있다면, 건너뛴 것입니다. </하드-게이트>

애니메이션 전 레이아웃

모든 요소를 가장 가시성이 높은 순간에 있어야 할 위치에 배치하세요 — 완전히 진입하고, 올바르게 배치되었으며, 아직 퇴장하지 않은 프레임입니다. 먼저 정적 HTML+CSS로 작성하세요. 아직 GSAP는 사용하지 마세요.

이것이 중요한 이유: 요소를 애니메이션 시작 상태(화면 밖, 0으로 스케일, 불투명도 0)에 배치하고 착지해야 할 위치로 트윈하면, 최종 레이아웃을 추측하는 것입니다. 비디오가 렌더링될 때까지 겹침은 보이지 않습니다. 최종 상태를 먼저 구축하면 모션을 추가하기 전에 레이아웃 문제를 보고 수정할 수 있습니다.

프로세스

  1. 각 장면의 히어로 프레임을 식별하세요 — 가장 많은 요소가 동시에 보이는 순간입니다. 이것이 구축할 레이아웃입니다.
  2. 해당 프레임에 대한 정적 CSS를 작성하세요. .scene-content 컨테이너는 width: 100%; height: 100%; padding: Npx;와 display: flex; flex-direction: column; gap: Npx; box-sizing: border-box를 사용하여 전체 장면을 채워야 합니다. 패딩을 사용하여 콘텐츠를 안쪽으로 밀어 넣으세요 — 콘텐츠 컨테이너에 position: absolute; top: Npx를 절대 사용하지 마세요. 절대 위치 콘텐츠 컨테이너는 콘텐츠가 남은 공간보다 높을 때 넘칩니다. position: absolute는 장식용으로만 예약하세요.
  3. gsap.from()으로 진입을 추가하세요 — 화면 밖/보이지 않음에서 CSS 위치로 애니메이션합니다. CSS 위치는 진실 공급원입니다. 트윈은 도달하기 위한 여정을 설명합니다. (data-composition-src를 통해 로드된 하위 컴포지션에서는 gsap.fromTo()를 선호하세요 — references/motion-principles.md의 부하 지지 GSAP 규칙 참조.)
  4. gsap.to()로 퇴장을 추가하세요 — CSS 위치에서 화면 밖/보이지 않음으로 애니메이션합니다.

예시

/* scene-content가 장면을 채우고, 패딩이 콘텐츠를 배치합니다 */
.scene-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 120px 160px;
  gap: 24px;
  box-sizing: border-box;
}
.title {
  font-size: 120px;
}
.subtitle {
  font-size: 42px;
}
/* 컨테이너는 모든 장면 크기(1920x1080, 1080x1920 등)를 채웁니다.
   패딩이 콘텐츠를 배치합니다. Flex + gap이 간격을 처리합니다. */

잘못된 예 — 하드코딩된 치수와 절대 위치 지정:

.scene-content {
  position: absolute;
  top: 200px;
  left: 160px;
  width: 1920px;
  height: 1080px;
  display: flex; /* ... */
}
// 단계 3: 해당 위치로 애니메이션 진입
tl.from(".title", { y: 60, opacity: 0, duration: 0.6, ease: "power3.out" }, 0);
tl.from(".subtitle", { y: 40, opacity: 0, duration: 0.5, ease: "power3.out" }, 0.2);
tl.from(".logo", { scale: 0.8, opacity: 0, duration: 0.4, ease: "power2.out" }, 0.3);

// 단계 4: 해당 위치에서 애니메이션 퇴장
tl.to(".title", { y: -40, opacity: 0, duration: 0.4, ease: "power2.in" }, 3);
tl.to(".subtitle", { y: -30, opacity: 0, duration: 0.3, ease: "power2.in" }, 3.1);
tl.to(".logo", { scale: 0.9, opacity: 0, duration: 0.3, ease: "power2.in" }, 3.2);

요소가 시간에 따라 공간을 공유하는 경우

요소 A가 요소 B가 같은 영역에 진입하기 전에 퇴장하는 경우, 두 요소 모두 각각의 히어로 프레임에 대해 올바른 CSS 위치를 가져야 합니다. 타임라인 순서는 시각적으로 공존하지 않음을 보장합니다 — 그러나 레이아웃 단계를 건너뛰면 타이밍 오류로 인해 실수로 겹치는 경우를 발견하지 못할 수 있습니다.

의도적인 겹침으로 간주되는 것

계층화된 효과(텍스트 뒤의 글로우, 그림자 요소, 배경 패턴) 및 z-스택 디자인(카드 스택, 깊이 레이어)은 의도적입니다. 레이아웃 단계는 의도하지 않은 겹침을 잡기 위한 것입니다 — 두 헤드라인이 서로 위에 겹쳐지는 것, 통계가 레이블을 가리는 것, 콘텐츠가 프레임 밖으로 흘러나가는 것.

데이터 속성

모든 클립

속성필수 여부값
id예고유 식별자
data-start예초 또는 클립 ID 참조 ("el-1", "intro + 2")
data-durationimg/div/컴포지션에 필수초. 비디오/오디오는 미디어 길이를 기본값으로 사용.
data-track-index예정수. 같은 트랙의 클립은 중복될 수 없음.
data-media-start아니요원본에서 자르기 오프셋 (초)
data-volume아니요0-1 (기본값 1)

data-track-index는 시각적 레이어링에 영향을 주지 않습니다 — CSS z-index를 사용하세요.

컴포지션 클립

속성필수 여부값
data-composition-id예고유 컴포지션 ID
data-start예시작 시간 (루트 컴포지션: "0" 사용)
data-duration예GSAP 타임라인 길이보다 우선함
data-width / data-height예픽셀 치수 (1920x1080 또는 1080x1920)
data-composition-src아니요외부 HTML 파일 경로

컴포지션 구조

data-composition-src를 통해 로드된 하위 컴포지션은 <template> 래퍼를 사용합니다. 독립형 컴포지션 (메인 index.html)은 <template>을 사용하지 않습니다 — data-composition-id div를 직접 <body>에 넣습니다. 독립형 파일에 <template>을 사용하면 모든 콘텐츠가 브라우저에서 숨겨져 렌더링이 깨집니다.

하위 컴포지션 구조:

<template id="my-comp-template">
  <div data-composition-id="my-comp" data-width="1920" data-height="1080">
    <!-- 콘텐츠 -->
    <style>
      [data-composition-id="my-comp"] {
        /* 범위 지정 스타일 */
      }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
    <script>
      window.__timelines = window.__timelines || {};
      const tl = gsap.timeline({ paused: true });
      // 트윈...
      window.__timelines["my-comp"] = tl;
    </script>
  </div>
</template>

루트에서 로드: <div id="el-1" data-composition-id="my-comp" data-composition-src="compositions/my-comp.html" data-start="0" data-duration="10" data-track-index="1"></div>

비디오 및 오디오

비디오는 muted playsinline이어야 합니다. 오디오는 항상 별도의 <audio> 요소입니다:

<video
  id="el-v"
  data-start="0"
  data-duration="30"
  data-track-index="0"
  src="video.mp4"
  muted
  playsinline
></video>
<audio
  id="el-a"
  d

Individual skills in this repo

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

delorenj/skills

Plan and generate terminal ASCII animations/screensaver-style output (FPS, refresh rules, loop policy, low-flicker guidance), with a static poster frame and an optional local demo script.

delorenj/skills

ASCII video: convert video/audio to colored ASCII MP4/GIF.

delorenj/skills

Plan, build and quality-check a premium short commercial for a real business (roofing, property, ecommerce, B2B software) using AI-generated footage, code-built motion (HTML/GSAP), selective Three.js and an independent-critic "Gauntlet" loop. Use when asked to make a launch-style / SaaS-style video, business ad, explainer, sample reel or pitch video, or to review and improve one. Encodes motion principles distilled from 28 professional launch films, a quality bar, audio rules and a business-offer playbook.

delorenj/skills

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

delorenj/skills

Generate professional voiceovers using ElevenLabs AI. Use when the user needs to create voiceovers for videos, audio narration, or text-to-speech content. Supports multiple voices with character presets (narrator, salesperson, expert) for natural delivery. Includes single scene regeneration for fine-tuning.

delorenj/skills

HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.

delorenj/skills

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

delorenj/skills

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

delorenj/skills

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For dev-loop CLI commands (init, lint, inspect, preview, render) see the hyperframes-cli skill; for asset preprocessing commands (tts, transcribe, remove-background) see the hyperframes-media skill.

delorenj/skills

Manim CE animations: 3Blue1Brown math/algo videos.

delorenj/skills

Join a Google Meet or Zoom call as a video meeting agent via PikaStreaming. Trigger: user drops a Google Meet or Zoom link, or asks to join a meeting.

delorenj/skills

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW HyperFrames composition (even if A/B-testing a Remotion video); (b) Remotion is mentioned in passing; (c) Remotion code is shared as reference, not for translation; (d) the user wants "the same video as my Remotion one" without explicitly asking to migrate the source — treat as a fresh HyperFrames build. When in doubt, default to the `hyperframes` skill. Detects unsupported patterns (useState, useEffect side effects, async calculateMetadata, third-party React component libraries, `@remotion/lambda`) and recommends the runtime interop escape hatch instead of a lossy translation.

delorenj/skills

Generate speech using the self-hosted voxxy (vox) TTS service at https://vox.delo.sh. Use when the user asks to speak, say, narrate, synthesize speech, clone a voice, create a voice, add or register a voice, pipe TTS, or control voice qualities by description (e.g. "a young woman with a cheerful voice"). Handles HTTP API usage, voice profile management, description-based voice design, cloning, MCP registration, and integration patterns for new platforms.

delorenj/skills

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

delorenj/skills

YouTube transcripts to summaries, threads, blogs.

관련 스킬