Communitygithub.com

DigitalRavagers/Experiment

기존 Remotion(React) 컴포지션을 HyperFrames HTML로 포팅합니다. 사용자가 명시적으로 Remotion 소스 코드의 포팅/변환/마이그레이션을 요청할 때만 사용하세요.

Experiment란 무엇인가요?

이 스킬은 Remotion 기반의 React 비디오 컴포지션 소스 코드를 HyperFrames(HTML + GSAP) 컴포지션으로 변환하는 전문 번역 도구입니다. 대부분의 Remotion 관용구(useCurrentFrame, interpolate, Sequence, Audio 등)에 대해 HyperFrames의 직접적인 등가물을 제공하여 약 80%의 일반적인 컴포지션을 기계적으로 변환할 수 있습니다. 지원하지 않는 패턴(useState, useEffect, async calculateMetadata, 서드파티 React 라이브러리, @remotion/lambda)을 감지하여 거부하고, 대신 런타임 인터롭 패턴을 권장합니다. 또한 계층화된 테스트 코퍼스(T1–T4)를 제공하여 변환 결과를 SSIM 임계값으로 검증합니다. 이 스킬은 Remotion에서 HyperFrames으로의 단방향 변환만 지원하며, After Effects, Framer Motion, 일반 React/CSS 등 비Remotion 소스는 지원하지 않습니다.

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

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

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

문서

Remotion to 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%는 기계적으로 번역 가능합니다. 이 스킬은 매핑을 인코딩하고, 손실이 발생하는 20%에 대해서는 HF의 seek 기반 모델에 맞지 않는 패턴을 변환하지 않음으로써 보호하며, 대신 PR #214의 런타임 인터롭 패턴을 권장합니다.

이 스킬은 계층화된 테스트 코퍼스(T1–T4, 총 4개의 픽스처)를 제공하며, 측정된 SSIM 임계값에 대해 번역 결과를 평가합니다. 평가 없이 번역하지 마세요. "시각적으로 맞는" 번역이 검증된 기준선보다 0.05 SSIM 낮게 렌더링되면 조용히 잘못된 것입니다.

사용 시기

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

  • "내 Remotion 프로젝트를 HyperFrames로 포팅해줘"
  • "이 Remotion 코드를 HyperFrames로 변환해줘"
  • "Remotion에서 마이그레이션"
  • "이 Remotion 컴포넌트 번역해줘"
  • "이걸 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을 생성하세요:

  • <div id="stage"> 루트에 data-composition-id, data-start="0", data-duration(초), data-fps, data-width, data-height 및 스칼라 prop당 하나의 data-* 속성을 포함.
  • 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 --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 기반 모델에서 결정론적 프레임 캡처 대상이 아닙니다. 런타임 인터롭 패턴을 권장하세요.
  • 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다중 씬 + 스프링 + 오디오 + 이미지0.9850.95
T3데이터 기반, 커스텀 하위 컴포넌트, 카운트 업0.9530.90
T4이스케이프 해치 (8개 린트 케이스)8/8 통과n/a

Individual skills in this repo

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

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

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.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

Asset preprocessing for HyperFrames compositions — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), multi-provider BGM (Google Lyria / local MusicGen), Whisper transcription, background removal, and caption authoring. Use for npx hyperframes tts, bgm, transcribe, remove-background, voice/provider selection, music-mood prompting, captions / subtitles / lyrics / karaoke / per-word styling.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

DigitalRavagers/Experiment

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

관련 스킬