Communitygithub.com

Army161/OpenMontage

기존 Remotion(React) 컴포지션 소스를 HyperFrames HTML로 포팅합니다. 사용자가 명시적으로 Remotion 소스를 포팅/변환/마이그레이션/번역하도록 요청한 경우에만 사용하세요. 사용하지 말아야 할 경우: (a) 새 HyperFrames 컴포지션 제작; (b) 부수적인 Remotion 언급; (c) 참조용으로만 공유된 Remotion 코드; (d) 명시적인 마이그레이션 요청 없이 "내 Remotion 영상과 같은 영상" — 신규 빌드로 처리. 의심스러우면 → `/general-video`. 단방향, Remotion 전용: 역방향 내보내기(HyperFrames→Remotion 또는 다른 프레임워크)는 불가, 비-Remotion 소스(After Effects, Framer Motion, 일반 React/CSS)는 범위 외 → `/general-video`를 통해 재생성. 지원되지 않는 패턴(useState, useEffect, async calculateMetadata, 타사 React 라이브러리, `@remotion/lambda`)을 플래그 지정하고 손실이 있는 번역보다는 런타임 상호 운용을 권장합니다. 포팅할지 신규로 빌드할지 확실하지 않거나, 단순히 Remotion이 언급된 경우? → /hyperframes.

OpenMontage란 무엇인가요?

이 스킬은 HyperFrames(HTML + GSAP 기반) 에코시스템으로 Remotion(React 기반) 비디오 컴포지션을 마이그레이션하는 공식 변환 파이프라인입니다. 이는 UI 프레임워크 간의 일반적인 번역이 아니라, Remotion API와 HyperFrames 런타임 원칙(seek-driven 모델) 간의 특별히 설계된 매핑입니다. 이 스킬은 'lint_source.py' 스크립트를 사용하여 Remotion 소스를 분석하고, 변환할 수 없는 패턴(useState, useEffect 등)을 감지하고, T1-T4 등급의 테스트 코퍼스에 대해 SSIM(구조적 유사도) 임계값을 사용하여 번역 품질을 검증합니다. 주요 용도는 기존 Remotion 프로젝트를 변환하는 것이며, 신규 HyperFrames 컴포지션 제작이나 After Effects와 같은 비-Remotion 소스 변환은 지원하지 않습니다. 이 스킬은 지원되지 않는 패턴에 대한 런타임 상호 운용을 권장하고, @remotion/lambda와 같은 배포 관련 구성을 우아하게 처리하며, 변환 중에 발생한 정확하지 않은 번역을 문서화하기 위한 TRANSLATION_NOTES.md를 생성합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Army161/OpenMontage/tree/HEAD/.agents/skills/remotion-to-hyperframes

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

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

문서

Remotion에서 HyperFrames로

빌드 전에 경로를 확인하세요. 이 스킬은 오직 기존 Remotion (React) 컴포지션의 소스를 HyperFrames로 포팅하는 데만 사용하세요. 새로운 컴포지션(Remotion 영상에서 영감을 받은 것 포함)을 제작할 때는 → 생성 워크플로우 / /general-video를 사용하세요. 범위 외(단방향, Remotion 전용): 역방향 내보내기(HyperFrames → Remotion 또는 다른 프레임워크)는 불가능하며, 비-Remotion 소스(After Effects, Framer Motion, 일반 React/CSS)는 번역할 Remotion 소스가 없으므로 → /general-video를 통해 재생성하세요. 확실하지 않거나, 단순히 Remotion이 언급된 경우? 먼저 /hyperframes를 읽으세요.

개요

Remotion (React 기반) 비디오 컴포지션을 HyperFrames (HTML + GSAP) 컴포지션으로 변환합니다. 대부분의 Remotion 관용구는 HyperFrames에 직접적인 대응 요소가 있습니다. 일반적인 컴포지션의 약 80%는 번역이 기계적으로 이루어집니다. 이 스킬은 매핑을 인코딩하고, HF의 seek-driven 모델에 맞지 않는 패턴을 변환하지 않음으로써 손실이 발생하는 20%를 방지하며, 대신 PR #214의 런타임 상호 운용 패턴을 권장합니다.

이 스킬은 계층화된 테스트 코퍼스(T1–T4, 총 4개 픽스처)와 함께 제공되며, 측정된 SSIM 임계값에 대해 번역을 평가합니다. 평가를 실행하지 않고 번역하지 마십시오. "올바르게 보이는" 번역이라도 검증된 기준보다 SSIM이 0.05 낮으면 조용히 잘못된 것입니다.

사용 시기

이 스킬은 사용자가 Remotion에서 마이그레이션을 명시적으로 요청한 경우에만 사용하세요. 트리거 문구 예시:

  • "내 Remotion 프로젝트를 HyperFrames로 포트해줘"
  • "이 Remotion 코드를 HyperFrames로 변환해줘"
  • "Remotion에서 마이그레이션"
  • "이 Remotion comp를 번역해줘"
  • "이걸 HyperFrames HTML로 다시 작성해줘"

다음과 같은 경우에는 이 스킬을 사용하지 마세요:

  • (a) 사용자가 유사한 Remotion 영상을 보유하고 있거나 A/B 테스트 중이더라도 새로운 HyperFrames 컴포지션을 제작하는 경우.
  • (b) 사용자가 마이그레이션을 요청하지 않고 부수적으로 Remotion을 언급하는 경우.
  • (c) 사용자가 번역을 요청하지 않고 참조 자료로 Remotion 코드를 공유하는 경우.
  • (d) 사용자가 소스 마이그레이션을 명시적으로 요청하지 않고 "내 Remotion 영상과 같은 영상"을 요청하는 경우 — 신규 HyperFrames 빌드로 처리합니다.

지원되지 않음 (거절 — 이 스킬이 수행하는 작업이 아닙니다):

  • 역방향. HyperFrames 컴포지션을 다시 Remotion(또는 다른 프레임워크)으로 내보내는 것은 워크플로우가 아닙니다. 번역은 Remotion → HyperFrames 단방향입니다. 명확히 말해주세요.
  • 비-Remotion 소스. After Effects 프로젝트(.aep), Framer Motion / 일반 React / CSS 애니메이션 또는 다른 도구의 소스는 Remotion 컴포지션이 아닙니다. 번역할 Remotion 소스가 없습니다. /general-video를 통해 네이티브로 재생성하거나, HyperFrames가 표현할 수 없는 경우 거절하세요.

의심스러운 경우, /general-video(일반 HyperFrames 제작 흐름)를 사용하여 네이티브 HyperFrames 컴포지션을 제작하는 것이 기본값입니다.

워크플로우

1단계: 소스 린트

Remotion 소스 디렉토리에서 scripts/lint_source.py를 실행하세요. 린트는 깔끔하게 변환할 수 없는 패턴을 감지합니다:

  • 차단 항목 (거절 + 상호 운용 권장): useState, useReducer, 비어 있지 않은 deps를 가진 useEffect/useLayoutEffect, async calculateMetadata, 타사 React UI 라이브러리(MUI, Chakra, Mantine, antd, shadcn, Radix, NextUI).
  • 경고 (구조물을 제거한 후 번역): @remotion/lambda 설정, delayRender, useCallback, useMemo, 사용자 정의 훅.
  • 정보 (참고 사항과 함께 번역): staticFile, interpolateColors.

차단 항목이 하나라도 발생하면 중단하세요. references/escape-hatch.md를 읽고 권장 메시지를 표시하세요. 경고는 번역을 중단시키지 않습니다. 3단계에서 문제가 되는 구조물을 제거하고 TRANSLATION_NOTES.md에 차이점을 기록하세요. @remotion/lambda 설정은 표준 경고 사례입니다. 스킬은 import + renderMediaOnLambda(...) 호출을 제거하지만 컴포지션의 나머지 부분은 번역합니다.

2단계: 번역 계획 수립

references/api-map.md를 읽으세요. 모든 Remotion API와 그에 해당하는 HF 또는 주제별 참조문서의 색인입니다. 소스에서 사용하는 것을 기반으로 필요한 주제 참조문서를 식별하세요:

소스에 다음 포함참조문서 로드
Composition, defaultProps, schema, calculateMetadataparameters.md
Sequence, Series, Loop, AbsoluteFill, Freezesequencing.md
useCurrentFrame, interpolate, spring, Easing, interpolateColorstiming.md
Audio, Video, Img, IFrame, staticFile, delayRendermedia.md
TransitionSeries, @remotion/transitionstransitions.md
@remotion/lottielottie.md
@remotion/google-fonts/<Family>, Font.loadFont, @font-facefonts.md

모든 것을 로드하지 마십시오. 특정 소스에 필요한 것만 로드하세요.

3단계: HF 컴포지션 생성

다음과 함께 index.html을 출력하세요:

  • 컴포지션의 data-composition-id, data-start="0", data-duration(초), data-fps, data-width, data-height 및 스칼라 prop당 하나의 data-*를 전달하는 루트 <div id="stage">.
  • data-start / data-duration / data-track-index를 가진 장면 div의 평면 목록.
  • 레이아웃을 위한 인라인 <style>; CSS는 모든 애니메이션 속성의 from 상태를 설정합니다.
  • 하단에 하나의 <script> 태그로, 일시 중지된 gsap.timeline({paused: true}) 하나를 포함합니다. 모든 Remotion useCurrentFrame() 유도는 올바른 오프셋에서 이 타임라인의 트윈이 됩니다.
  • window.__timelines["<composition-id>"] = tl;은 타임라인을 HF 런타임에 등록합니다.

사용자 정의 React 하위 컴포넌트는 prop 인터페이스를 템플릿으로 사용하여 반복되는 HTML로 인라인 처리됩니다(인스턴스별 data-* 패턴은 parameters.md 참조).

4단계: 검증

평가 도구를 실행하세요 — 전체 가이드는 references/eval.md를 참조하세요. 빠른 경로:

# Remotion 기준 렌더링 (픽스처에서 npm install 후)
cd remotion-src && npx remotion render <CompositionId> out/baseline.mp4

# HF 번역 렌더링
cd ../hf-src && npx hyperframes render --skill=remotion-to-hyperframes --output ../hf.mp4

# SSIM 차이
../../scripts/render_diff.sh ./remotion-src/out/baseline.mp4 ./hf.mp4 ./diff

임계값: 소스의 복잡성 등급 p05보다 약 0.02 낮음(eval.md의 검증된 임계값 표 참조). 차이 검사에 실패하면 scripts/frame_strip.sh를 실행하여 어떤 프레임이 차이가 나는지 확인한 다음, 관련 타이밍/시퀀싱/미디어 참조문서를 다시 읽으세요.

중요: 두 렌더링 모두 일치하는 픽셀 형식을 사용해야 합니다. Remotion 소스의 remotion.config.ts에서 Config.setVideoImageFormat("png") + Config.setColorSpace("bt709")를 설정하세요. 그렇지 않으면 차이 검사가 번역 충실도가 아닌 인코더 차이(~0.05 SSIM 영향)를 측정합니다.

5단계: 차이점 문서화

깔끔하게 번역되지 않은 모든 것(드롭된 볼륨 램프, 근사화된 사용자 정의 프레젠테이션, 대체된 글꼴)은 HF 출력 옆에 TRANSLATION_NOTES.md를 작성합니다. 형식은 references/limitations.md를 참조하세요.

이 스킬이 명시적으로 수행하지 않는 작업

  • React 상태 머신 변환. useState + useEffect를 통해 애니메이션을 구동하는 컴포지션은 HyperFrames의 seek-driven 모델에서 결정론적 프레임 캡처 대상이 아닙니다. 런타임 상호 운용 패턴을 권장하세요.
  • HyperFrames와 함께 Remotion의 렌더 파이프라인 실행. 이는 PR #214의 런타임 상호 운용 패턴입니다. 이 스킬의 린트를 통과하지 못하는 컴포지션을 위한 별도의 솔루션입니다.

(@remotion/lambda는 차단 항목이 아닙니다 — Lambda 설정은 배포이지 애니메이션이 아닙니다. 스킬은 이를 경고로 처리하고 제거한 후 나머지를 번역합니다. references/escape-hatch.md 참조.)

자신의 번역을 평가하는 방법

테스트 코퍼스 오케스트레이터를 실행하세요:

./assets/test-corpus/run.sh

T1, T2, T3(렌더링 + 차이) 및 T4(린트 검증)을 실행하고, 등급별 통과/실패 테이블을 출력하며, 집계 JSON 보고서를 출력합니다. 이 스킬이 깨끗한 체크아웃에서 종단 간 작동하는지 확인하고, 참조문서를 편집한 후 회귀 검사로 사용하세요.

검증된 기준 (2026-04-27 기준):

등급컴포지션 형태평균 SSIM임계값
T1단일 요소 페이드 인0.9740.95
T2다중 장면 + spring + 오디오 + 이미지0.9850.95
T3데이터 기반, 사용자 정의 하위 컴포넌트, 카운트 업0.9530.90
T4이스케이프 해치 (8개 린트 케이스)8/8 통과n/a

Individual skills in this repo

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

Army161/OpenMontage

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). Supports two gateways: HeyGen API and fal.ai API.

Army161/OpenMontage

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.

Army161/OpenMontage

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

Army161/OpenMontage

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

Army161/OpenMontage

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

Army161/OpenMontage

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.

Army161/OpenMontage

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.

Army161/OpenMontage

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

Army161/OpenMontage

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.

Army161/OpenMontage

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

Army161/OpenMontage

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Army161/OpenMontage

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

Army161/OpenMontage

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.

Army161/OpenMontage

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

Army161/OpenMontage

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.

Army161/OpenMontage

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.

Army161/OpenMontage

Best practices for Remotion - Video creation in React

Army161/OpenMontage

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.

Army161/OpenMontage

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

Army161/OpenMontage

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

관련 스킬