Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
freestylefly avatar

Remotion Best Practices

  • 469 installs
  • 424 repo stars
  • Updated June 8, 2026
  • freestylefly/canghe-skills

remotion-best-practices is a canghe-skills reference that teaches programmatic React video composition with Remotion for developers building motion graphics, social clips, and data-driven video renders.

About

remotion-best-practices is a canghe-skills domain guide for programmatic video creation with Remotion and React. Instead of one long document, the skill indexes 28 focused rule files covering 3D with Three.js, animations, assets, audio, captions, charts, compositions, fonts, GIFs, Lottie, sequencing, timing, transitions, trimming, and video embedding with Mediabunny utilities. Developers reach for remotion-best-practices when building social clips, motion graphics, or data-driven renders and need Remotion-specific constraints such as frame-based useCurrentFrame animations instead of CSS transitions. The skill applies whenever Remotion code appears in a project, from scaffolding new compositions to optimizing export performance and caption workflows.

  • React-based programmatic video
  • Composition and sequence patterns
  • Performance and render optimization
  • Audio, captions, and data props
  • Export and bundling best practices

Remotion Best Practices by the numbers

  • 469 all-time installs (skills.sh)
  • Ranked #630 of 2,244 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/freestylefly/canghe-skills --skill remotion-best-practices

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs469
repo stars424
Last updatedJune 8, 2026
Repositoryfreestylefly/canghe-skills

How do you build programmatic React videos with Remotion?

Build programmatic React videos with Remotion—motion graphics, social clips, and data-driven renders—following composition, performance, and export best practices.

Who is it for?

Frontend developers building programmatic videos, social clips, or data-driven motion graphics with Remotion and React who need frame-accurate animation patterns.

Skip if: Skip remotion-best-practices when the project uses conventional video editors or standard React web apps without Remotion compositions or @remotion imports.

When should I use this skill?

User writes Remotion compositions, asks about useCurrentFrame animations, video export, captions, or programmatic React video rendering.

What you get

Remotion compositions, frame-based animations, asset pipelines, caption tracks, and export-ready React video project structure.

  • Remotion compositions
  • frame-based animation code
  • export-ready video project

By the numbers

  • Indexes 28 focused rule files under rules/
  • Covers compositions, captions, 3D, charts, audio, and transitions

Files

SKILL.mdMarkdownGitHub ↗

When to use

Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.

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
  • rules/compositions.md - Defining compositions, stills, folders, default props and dynamic metadata
  • rules/display-captions.md - Displaying captions in Remotion with TikTok-style pages and word highlighting
  • rules/extract-frames.md - Extract frames from videos at specific timestamps using Mediabunny
  • rules/fonts.md - Loading Google Fonts and local fonts in Remotion
  • rules/get-audio-duration.md - Getting the duration of an audio file in seconds with Mediabunny
  • rules/get-video-dimensions.md - Getting the width and height of a video file with Mediabunny
  • rules/get-video-duration.md - Getting the duration of a video file in seconds with Mediabunny
  • rules/gifs.md - Displaying GIFs synchronized with Remotion's timeline
  • rules/images.md - Embedding images in Remotion using the Img component
  • rules/import-srt-captions.md - Importing .srt subtitle files into Remotion using @remotion/captions
  • rules/lottie.md - Embedding Lottie animations in Remotion
  • rules/measuring-dom-nodes.md - Measuring DOM element dimensions in Remotion
  • rules/measuring-text.md - Measuring text dimensions, fitting text to containers, and checking overflow
  • rules/sequencing.md - Sequencing patterns for Remotion - delay, trim, limit duration of items
  • rules/tailwind.md - Using TailwindCSS in Remotion
  • rules/text-animations.md - Typography and text animation patterns for Remotion
  • rules/timing.md - Interpolation curves in Remotion - linear, easing, spring animations
  • rules/transcribe-captions.md - Transcribing audio to generate captions in Remotion
  • rules/transitions.md - Scene transition patterns for Remotion
  • rules/trimming.md - Trimming patterns for Remotion - cut the beginning or end of animations
  • rules/videos.md - Embedding videos in Remotion - trimming, volume, speed, looping, pitch

Related skills

Forks & variants (5)

Remotion Best Practices has 5 known copies in the catalog totaling 154 installs. They canonicalize to this original listing.

How it compares

Pick remotion-best-practices over generic React animation skills when output is frame-sequenced video via Remotion rather than interactive browser UI.

FAQ

How many rule files does remotion-best-practices include?

remotion-best-practices indexes 28 focused rule files covering topics such as compositions, animations, assets, audio, captions, charts, 3D, timing, transitions, and video embedding. Each rules/*.md file provides patterns and code examples for that Remotion topic.

Why avoid CSS animations in Remotion?

remotion-best-practices forbids CSS transitions and Tailwind animation classes because they do not render correctly in Remotion's frame-based pipeline. Remotion videos should animate with useCurrentFrame, interpolate, and Easing for deterministic frame output.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.