Best practices for Remotion - Video creation in React
SkillScore83Maintained
Automatic
◆Frontend / UI pack
Last verified 8/16/2026
What it changes
Passed 19 of 23 test cases with the skill, and 16 of 23 without it.
Without skill70%
With skill83%
Checks it passed that the model alone missed
Sets startFrom prop for clip trimming offset
Imports light leak overlay components from @remotion/light-leaks
Uses canDecode from @remotion/media-utils to test browser video decoding
and 1 more in the full report
4 fixed15 passed either way3 still failing1 broke
Pass-rate lift
+13 pp
Tokens
+11%
Agent turns
0%
Response time
-26%
Model gemini-3.6-flashMeasured 8/16/2026v119 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 4
Prompt
I want to embed an MP4 video clip inside a Remotion composition, trimming the first 2 seconds of the video and playing it at 1.5x speed. Which Remotion component and props should I use?
What was checked, without and with the skill
Checked
Without skill
With skill
Uses OffthreadVideo component from remotion
Passed
Passed
Sets startFrom prop for clip trimming offset
Missed
Passed
Sets playbackRate prop to control video playback speed
Passed
Passed
case-12 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md50 linessingle file
When to use
Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.
Captions
When dealing with captions or subtitles, load the ./rules/subtitles.md file for more information.
Using FFmpeg
For some video operations, such as trimming videos or detecting silence, FFmpeg should be used. Load the ./rules/ffmpeg.md file for more information.
Audio visualization
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./rules/audio-visualization.md file for more information.
How to use
Read individual rule files for detailed explanations and code examples:
rules/3d.md - 3D content in Remotion using Three.js and React Three Fiber
rules/animations.md - Fundamental animation skills for Remotion
rules/assets.md - Importing images, videos, audio, and fonts into Remotion
rules/audio.md - Using audio and sound in Remotion - importing, trimming, volume, speed, pitch
rules/calculate-metadata.md - Dynamically set composition duration, dimensions, and props
rules/can-decode.md - Check if a video can be decoded by the browser using Mediabunny
rules/charts.md - Chart and data visualization patterns for Remotion (bar, pie, line, stock charts)
Assemble an absurdist animated-explainer video ad (~38s, 9:16) from per-scene i2v clips + their measured VO windows — retime each clip to its VO, re-encode every segment to identical 30fps/libx264/yuv420p so the concat demuxer never drops frames, concat, build a REAL-product PIL end card (never AI) with a slow Ken-Burns, mix VO (loudnorm I=-14) under music (loudnorm I=-26, volume 0.62, amix normalize=0), and burn libass captions last. FREE deterministic assembly (bash-free, Python + ffmpeg + PIL