Remotion Best Practices
Domain-specific knowledge for Remotion: compositions, animations, sequencing, transitions, video/audio/assets, Lottie, charts, captions, and more.
How to Install
Using npx (recommended):
npx skills add github.com/remotion-dev/skills --skill remotion-best-practicesThis will automatically download and install the skill in your .cursor/skills/ directory.
Or install manually:
- Copy the skill content below
- Create folder:
.cursor/skills/remotion-best-practices/in your project - Save as
SKILL.md - Cursor auto-discovers skills when you start a chat
Or install globally to ~/.cursor/skills/remotion-best-practices/SKILL.md
SKILL.md
--- name: remotion-best-practices description: Use whenever dealing with Remotion code to obtain domain-specific knowledge. --- # Remotion Best Practices Use this skill whenever you are dealing with Remotion code (programmatic video with React) to obtain domain-specific knowledge. ## Rule Categories **Composition & Structure:** * rules/compositions.md - Defining compositions, stills, folders, default props and dynamic metadata * rules/calculate-metadata.md - Dynamically set composition duration, dimensions, and props * rules/parameters.md - Make a video parametrizable by adding a Zod schema **Media Assets:** * rules/assets.md - Importing images, videos, audio, and fonts into Remotion * rules/images.md - Embedding images using the Img component * rules/videos.md - Embedding videos with trimming, volume, speed, looping, pitch * rules/audio.md - Using audio and sound - importing, trimming, volume, speed, pitch * rules/fonts.md - Loading Google Fonts and local fonts * rules/gifs.md - Displaying GIFs synchronized with timeline **Animation & Timing:** * rules/animations.md - Fundamental animation skills for Remotion * rules/timing.md - Interpolation curves - linear, easing, spring animations * rules/transitions.md - Scene transition patterns * rules/trimming.md - Trimming patterns - cut beginning or end of animations * rules/sequencing.md - Sequencing patterns - delay, trim, limit duration of items * rules/text-animations.md - Typography and text animation patterns **Visual & Data:** * rules/3d.md - 3D content using Three.js and React Three Fiber * rules/charts.md - Chart and data visualization patterns * rules/maps.md - Add a map using Mapbox and animate it * rules/lottie.md - Embedding Lottie animations **Captions & Text:** * rules/display-captions.md - Displaying captions with TikTok-style pages and word highlighting * rules/import-srt-captions.md - Importing .srt subtitle files using @remotion/captions * rules/transcribe-captions.md - Transcribing audio to generate captions * rules/measuring-text.md - Measuring text dimensions, fitting text to containers, checking overflow * rules/measuring-dom-nodes.md - Measuring DOM element dimensions **Utilities (Mediabunny):** * rules/can-decode.md - Check if a video can be decoded by the browser * rules/get-video-duration.md - Getting the duration of a video file in seconds * rules/get-audio-duration.md - Getting the duration of an audio file in seconds * rules/get-video-dimensions.md - Getting the width and height of a video file * rules/extract-frames.md - Extract frames from videos at specific timestamps **Stack Integration:** * rules/tailwind.md - Using TailwindCSS in Remotion ## How to Use Read individual rule files for detailed explanations and code examples. Each rule provides specific patterns, best practices, and implementation guidance for its topic area.
Best For
Related Skills
Design Engineering
Emil Kowalski's design engineering skill: UI polish, animation decisions, component patterns, and the invisible details that make interfaces feel right.
Tailwind Design System
Build scalable design systems with Tailwind CSS v4: CSS-first tokens, OKLCH theming, CVA components, dark mode, and v3-to-v4 migration patterns.
Web Artifacts Builder
Build elaborate, multi-component React artifacts with Tailwind CSS and shadcn/ui. Full stack for creating production-ready web components and applications.
Stitch DESIGN.md
Analyze Stitch projects and generate semantic DESIGN.md files from screen metadata, HTML/CSS, and assets. Produces atmosphere, color roles, typography, component styling, and layout principles.