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

Remotion Best Practices

  • 646 installs
  • 44k repo stars
  • Updated July 27, 2026
  • sickn33/antigravity-awesome-skills

remotion-best-practices is an AI agent skill that enforces Remotion-specific Three.js and React Three Fiber rules so developers avoid rendering artifacts in programmatic video compositions.

About

remotion-best-practices is a community skill from sickn33/antigravity-awesome-skills focused on 3D content inside Remotion using Three.js and React Three Fiber. The readme documents installing @remotion/three via package-manager-specific remotion add commands and mandates wrapping scenes in ThreeCanvas per Remotion rendering constraints. Agents apply it when building React-driven video frames that embed WebGL scenes, ensuring frame timing, canvas lifecycle, and R3F patterns match Remotion expectations. Developers reach for remotion-best-practices when Remotion previews show flicker, blank frames, or WebGL artifacts that generic Three.js guidance does not address. The skill complements standard R3F practices with the small set of Remotion-only requirements called out in the source.

  • Guides correct installation of the @remotion/three package across npm, bun, yarn, and pnpm
  • Requires wrapping all 3D content inside a ThreeCanvas component with explicit width and height props
  • Mandates inclusion of proper lighting such as ambientLight and directionalLight
  • Enforces that all animations and shaders must be driven exclusively by useCurrentFrame()
  • Prevents self-animating models or useFrame() usage that causes flickering during Remotion rendering

Remotion Best Practices by the numbers

  • 646 all-time installs (skills.sh)
  • +1 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #514 of 1,896 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill remotion-best-practices

Add your badge

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

Listed on Skillselion
Installs646
repo stars44k
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorysickn33/antigravity-awesome-skills

How do you use Three.js correctly in Remotion?

Ensure 3D video compositions created with Remotion using Three.js and React Three Fiber follow the required Remotion-specific rules and avoid rendering artifacts.

Who is it for?

Frontend developers building programmatic video with Remotion, Three.js, and React Three Fiber who hit preview or export glitches.

Skip if: Teams creating static marketing pages or 2D-only Remotion compositions without Three.js or @remotion/three.

When should I use this skill?

The user builds 3D Remotion compositions, mentions @remotion/three, ThreeCanvas, React Three Fiber, or rendering artifacts in Remotion video.

What you get

Remotion-safe R3F components, correct ThreeCanvas usage, and @remotion/three dependency setup.

  • Remotion-compliant 3D composition code
  • @remotion/three setup

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

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Related skills

FAQ

What package does remotion-best-practices require for 3D?

remotion-best-practices requires the @remotion/three package, installed with remotion add @remotion/three using npm, bun, yarn, or pnpm. The skill readme lists exact commands per package manager before authoring 3D scenes.

Why use ThreeCanvas in Remotion 3D compositions?

remotion-best-practices mandates wrapping React Three Fiber content in Remotion's ThreeCanvas component. The sickn33 skill states this Remotion-specific wrapper is required to avoid rendering artifacts during preview and video export.

Is Remotion Best Practices safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

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

unsubscribe anytime.