Not loaded · from tia-skills
Bring existing composition source into this stack. Two jobs: adopt an outside Remotion (React) project into this stack's conventions, or migrate a legacy HTML + `data-*` + GSAP-timeline project to Remotion. Use ONLY on an explicit ask to port, convert, migrate, or adopt existing source. A passing Remotion mention, reference-only code, or "make something like my other video" is a fresh build (/general-video). Unclear → /hyperframes.
Claude Code won't load this skill
It ships in tia-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
The front door is
/hyperframes. Use this only for existing source that has to move. Authoring something new, re-creating from a non-source reference (After Effects, a Framer Motion demo, a video file), or any uncertainty → read/hyperframesfirst; the intent layer owns every route decision.
This skill used to translate Remotion → HyperFrames HTML, back when HTML was this stack's output
contract. The direction has inverted. Remotion is the contract now (/hyperframes-core), so
there is nothing to translate Remotion into. What remains are two real jobs:
| Job | What to do |
|---|---|
| Adopt an outside Remotion project (someone else's repo, a template, a fork) | Normalise it onto this stack's conventions. § Adopting below. |
Migrate a legacy HTML-contract project (data-composition-id, GSAP timeline) | The old mapping tables in references/, read right-to-left. Start at /hyperframes-core → references/legacy-html-contract.md. |
The references/ files below still describe the mapping in the old direction (Remotion on the
left, HTML on the right). They are still the most complete mapping that exists, so read them in
reverse for a migration. api-map.md is the index.
The source already renders, so nothing here is a translation — it is a normalisation. Do the smallest set of these that the project actually needs, and say which ones you did:
npx remotion versions. Mismatched Remotion packages are the most
common reason an adopted project fails in a way that looks like a code bug.npx tsc --noEmit, so you can tell inherited errors from
the ones you introduce.src/ only if it fights the conventions. /hyperframes-core → references/project-structure.md.
A project that already reads clearly does not need moving; churn for its own sake loses git history.<Composition> that has none, inferring the type from the schema rather
than keeping a hand-written interface. /hyperframes-core → references/props-and-schemas.md.Math.random(), CSS transitions, and state-driven animation that happen to look
fine while scrubbing. Run the checklist in /hyperframes-core → references/determinism-rules.md,
and prove it with two cold renders of the same late frame.staticFile(), which is what breaks first in a Lambda render.Do not restyle, re-time, or "improve" the motion while adopting. Adoption and creative change are separate asks, and mixing them makes the diff unreviewable.
Read /hyperframes-core → references/legacy-html-contract.md first: it decides whether the project
should be migrated at all (a two-word copy fix does not justify a rewrite), then gives the mapping and
the order of work. Come back here for the per-topic detail — timing.md, sequencing.md,
transitions.md, media.md, fonts.md, parameters.md — reading each table right-to-left.
Expect the eases to be the least faithful part of any migration. GSAP's named eases and Remotion's springs do not correspond exactly; match by eye, and tell the user where you approximated.
assets/test-corpus/ (T1–T4) renders a Remotion baseline, renders an HTML translation, and compares
by SSIM. The HTML half of that no longer means anything, so the corpus does not currently gate this
skill. Its Remotion fixtures are still useful as adoption practice material. Do not report a corpus
score as evidence that a migration is correct; probe stills and compare them yourself instead.
Everything below runs the old direction and emits the retired HTML contract. It is kept because its per-step reasoning is the clearest record of how the two models differ, which is what you need when migrating the other way.
Do not execute these steps against a project in this stack. They produce index.html, not TSX,
and they call the retired hyperframes CLI. Read them for the reasoning; act through the two live
sections above.
Run scripts/lint_source.py over the Remotion source directory. The lint detects patterns that can't translate cleanly:
useState, useReducer, useEffect/useLayoutEffect with non-empty deps, async calculateMetadata, third-party React UI libraries (MUI, Chakra, Mantine, antd, shadcn, Radix, NextUI).@remotion/lambda config, delayRender, useCallback, useMemo, custom hooks.staticFile, interpolateColors.If any blocker fires, stop. Read references/escape-hatch.md and surface the recommendation message. Warnings don't stop translation — drop the offending construct in step 3 and note the gap in TRANSLATION_NOTES.md. @remotion/lambda config is the canonical warning case: the skill drops the import + renderMediaOnLambda(...) calls but translates the rest of the composition.
Read references/api-map.md — the index of every Remotion API and its HF equivalent or per-topic reference. Identify which topic references you'll need based on what the source uses:
| Source contains | Load reference |
|---|---|
Composition, defaultProps, schema, calculateMetadata | parameters.md |
Sequence, Series, Loop, AbsoluteFill, Freeze | sequencing.md |
useCurrentFrame, interpolate, spring, Easing, interpolateColors | timing.md |
Audio, Video, Img, IFrame, staticFile, delayRender | media.md |
TransitionSeries, @remotion/transitions | transitions.md |
@remotion/lottie | lottie.md |
@remotion/google-fonts/<Family>, Font.loadFont, @font-face | fonts.md |
Don't load all of them — load only what the specific source needs.
Emit index.html with:
<div id="stage"> carrying the composition's data-composition-id, data-start="0", data-duration (in seconds), data-fps, data-width, data-height, plus one data-* per scalar prop.data-start / data-duration / data-track-index.<style> for layout; CSS sets the from state of every animated property.<script> tag at the bottom containing one paused gsap.timeline({paused: true}). Every Remotion useCurrentFrame() derivation becomes a tween on this timeline at the right offset.window.__timelines["<composition-id>"] = tl; registers the timeline with HF's runtime.Custom React subcomponents inline as repeated HTML using the prop interface as the template (see parameters.md for the per-instance data-* pattern).
Run the eval harness — references/eval.md for the full guide. Quick path:
# Render Remotion baseline (after npm install in the fixture)
cd remotion-src && npx remotion render <CompositionId> out/baseline.mp4
# Render HF translation
cd ../hf-src && npx hyperframes render --skill=remotion-to-hyperframes --output ../hf.mp4
# SSIM diff
../../scripts/render_diff.sh ./remotion-src/out/baseline.mp4 ./hf.mp4 ./diff
Threshold: ~0.02 below p05 of the source's complexity tier (see eval.md's validated thresholds table). If the diff fails, run scripts/frame_strip.sh to see which frames diverged, then re-read the relevant timing/sequencing/media reference.
Critical: both renders must use matching pixel format. Set Config.setVideoImageFormat("png") + Config.setColorSpace("bt709") in the Remotion source's remotion.config.ts — otherwise the diff measures encoder differences (~0.05 SSIM hit), not translation fidelity.
Anything that didn't translate cleanly (volume ramps dropped, custom presentations approximated, fonts substituted) gets a TRANSLATION_NOTES.md written next to the HF output. See references/limitations.md for the format.
useState + useEffect are not deterministic frame-capture targets in HyperFrames' seek-driven model. Recommend the runtime interop pattern.(@remotion/lambda is not a blocker — Lambda config is deployment, not animation. The skill drops it as a warning and translates the rest. See references/escape-hatch.md.)
Run the test corpus orchestrator:
./assets/test-corpus/run.sh
It runs T1, T2, T3 (render + diff) and T4 (lint validation), prints a per-tier pass/fail table, and emits an aggregate JSON report. Use this to verify the skill is working end-to-end on a clean checkout — and as a regression check after editing any reference.
Validated baseline (as of 2026-04-27):
| Tier | Composition shape | Mean SSIM | Threshold |
|---|---|---|---|
| T1 | single-element fade-in | 0.974 | 0.95 |
| T2 | multi-scene + spring + audio + image | 0.985 | 0.95 |
| T3 | data-driven, custom subcomponents, count-up | 0.953 | 0.90 |
| T4 | escape-hatch (8 lint cases) | 8/8 pass | n/a |
assets/test-corpus/run.sh (opens in a new tab)assets/test-corpus/tier-1-title-card/README.md (opens in a new tab)assets/test-corpus/tier-1-title-card/expected.json (opens in a new tab)assets/test-corpus/tier-1-title-card/hf-src/index.html (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/package.json (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/remotion.config.ts (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/src/Root.tsx (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/src/TitleCard.tsx (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/src/index.ts (opens in a new tab)assets/test-corpus/tier-1-title-card/remotion-src/tsconfig.json (opens in a new tab)assets/test-corpus/tier-2-multi-scene/README.md (opens in a new tab)assets/test-corpus/tier-2-multi-scene/expected.json (opens in a new tab)assets/test-corpus/tier-2-multi-scene/hf-src/index.html (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/package.json (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/remotion.config.ts (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/src/MultiScene.tsx (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/src/Root.tsx (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/src/index.ts (opens in a new tab)assets/test-corpus/tier-2-multi-scene/remotion-src/tsconfig.json (opens in a new tab)assets/test-corpus/tier-2-multi-scene/setup.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
87 skills in this plugin
/apple-designApple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces./architectDesign a non-trivial change before implementation by sketching its callers, types, boundaries, and failure cases. Use for '/architect', 'architect this', or when coding first would lock in the wrong shape./ask-mattiaAsk which skill or flow fits your situation. A router over the skills in this repo.npx claudepluginhub mattiaippoliti/tia-skills --plugin tia-skills