Communitygithub.com

Aseel1600/Edit01

HyperFrames 컴포지션 계약 — 하나의 렌더링 가능한 프로젝트를 구축합니다. 컴포지션 구조, `data-*` 타이밍 속성, `class="clip"`, 트랙, 하위 컴포지션, 변수, 프레임워크 소유 미디어 재생, 결정론적 렌더링 규칙 및 유효성 검사에 사용합니다. 컴포지션 HTML을 작성하기 전에 읽어야 합니다.

Edit01란 무엇인가요?

HyperFrames Core는 개발자가 HTML을 사용해 비디오를 렌더링할 수 있게 해주는 기술 계약입니다. 컴포지션은 DOM이 `data-*` 속성으로 타이밍을 선언하고, 애니메이션 런타임이 탐색 가능하며, 미디어 재생이 프레임워크에 의해 제어되는 HTML 파일입니다. 이 스킬은 클로드 코드, Cursor, Codex 등 AI 에이전트가 HyperFrames 프로젝트를 구축할 때 따라야 할 정확한 규칙과 패턴을 정의합니다. 주요 개념으로는 독립형과 하위 컴포지션의 두 가지 루트 형식, 단일 일시 정지된 타임라인 등록, 결정론적 렌더링을 위한 비협상 규칙(예: 런타임 시계 금지, 비시각적 속성 애니메이션 금지), 그리고 `<video>`/`<audio>`가 프레임워크 소유 미디어 재생을 위해 호스트 루트의 직계 자식이어야 한다는 조건 등이 포함됩니다. 이 스킬은 `references/` 디렉토리의 상세 참조 문서를 가리키며, `hyperframes-animation`, `hyperframes-creative`, `hyperframes-media` 등 다른 도메인 스킬과 함께 사용됩니다. 유효성 검사는 `lint`, `validate`, `inspect`, `snapshot`, `preview`, `render` 등의 CLI 명령어를 통해 수행되며, 사용자 승인 후에만 최종 렌더링이 이루어집니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Aseel1600/Edit01/tree/HEAD/.agents/skills/hyperframes-core

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

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

문서

HyperFrames 코어

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

이 스킬은 기술 계약입니다 — 하나의 hyperframes 프로젝트를 구축하는 방법에 대한 것입니다. 아래 본문은 빌드 가이드이며, 주제별 세부 내용은 references/ (다음에 색인)에 있으며 필요할 때 읽으십시오. 다른 문제는 형제 도메인 스킬 — hyperframes-animation, hyperframes-creative, hyperframes-media, 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/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/script-format.md선택적 SCRIPT.md 잠금 내레이션 작성
references/subagent-dispatch.md하위 에이전트 디스패치 동사 (병렬 팬아웃 / 백그라운드 / 대기)를 harness에 매핑
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.

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

독립형 루트에는 명시적인 크기 상자 (width/height in px)가 필요하며, height:100% 요소까지 모든 조상은 해결된 높이를 가져야 합니다. 그렇지 않으면 flex/100% 자식이 ~0으로 축소되어 콘텐츠가 왼쪽 상단 모서리에 쌓입니다. lint/validate/inspect는 이를 감지하지 못합니다. 스켈레톤 → references/minimal-composition.md.

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

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

비협상 규칙 (lint/validate/inspect가 감지하지 못하는 무음 버그)

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

  • 렌더링 시간 시계 / 시드되지 않은 Math.random / 네트워크 / 입력 상태 없음; repeat: -1 없음 (유한 횟수 사용). → determinism-rules.md
  • 시각적 속성 허용 목록만 애니메이션; display/visibility 절대 금지; 나중 장면 클립에 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-composition-id를 확인하십시오.

유효성 검사

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

  • npx hyperframes lint 통과 (오류 0개)
  • npx hyperframes validate 통과 (콘솔 오류 0개)
  • npx hyperframes inspect 통과 (오류 0개)
  • 하위 컴포지션이 있는 프로젝트: npx hyperframes snapshot --at <midpoints> 실행 후 각 프레임 육안 검사
  • npx hyperframes preview 검토용 (사용자는 Studio 타임라인에서 무엇이든 편집 가능)
  • npx hyperframes render는 사용자가 승인한 후에만 실행

Individual skills in this repo

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

Aseel1600/Edit01

Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).

Aseel1600/Edit01

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

Aseel1600/Edit01

Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.

Aseel1600/Edit01

Review local character animation with schema checks, Playwright browser previews, frame sampling, and FFmpeg/ffprobe final output checks.

Aseel1600/Edit01

Create videos from a text prompt using HeyGen's Video Agent. Use when: (1) Creating a video from a description or idea, (2) Generating explainer, demo, or marketing videos from a prompt, (3) Making a video without specifying exact avatars, voices, or scenes, (4) Quick video prototyping or drafts, (5) One-shot prompt-to-video generation, (6) User says "make me a video" or "create a video about X".

Aseel1600/Edit01

Generate Mandarin and multilingual narration with Volcengine Doubao Speech 2.0. Use when creating Chinese voiceovers, when the user prefers Doubao/Volcengine/火山引擎/豆包 TTS, or when narration needs character-level timestamp metadata for subtitles.

Aseel1600/Edit01

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

Aseel1600/Edit01

Generate expressive, multilingual narration with fish.audio (S1 / S2-generation models) and reuse cloned voices via reference_id. Use when the user prefers fish.audio/Fish Audio TTS, wants a specific playground voice model, or needs high-emotion voice-clone narration.

Aseel1600/Edit01

Use when implementing Disney's 12 animation principles with Framer Motion in React applications

Aseel1600/Edit01

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

Aseel1600/Edit01

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

Aseel1600/Edit01

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`.

Aseel1600/Edit01

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

Aseel1600/Edit01

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, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

Aseel1600/Edit01

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (website-to-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

Aseel1600/Edit01

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

Aseel1600/Edit01

Best practices for Remotion - Video creation in React

Aseel1600/Edit01

Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the `remotion-official` skill.

Aseel1600/Edit01

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

Aseel1600/Edit01

Animate SVG character rigs with GSAP, CSS transforms, Remotion frame control, and HyperFrames-compatible browser previews.

관련 스킬