agentleFS
Sma1lboySma1lboy/rove/.claude/skills/remotion-best-practices/SKILL.md

remotion-best-practices

Skill147 starsChanged 2 months agoMITView on GitHub

Best practices for Remotion - Video creation in React

88 other projects use a version of this, 56 of them edited; most edited versions we compared are an older text (32 of 54).

How people change it

Most projects run an older version: 32 of 54 add nothing and lack rules this one has, most likely added since.

Of the 54 edited versions we compared: 1 keep every rule, 32 are an older text, 21 made changes of their own.

Not in older versions

  1. A rule we can't quote: its licence doesn't allow itmissing from 32 of 32
  2. A rule we can't quote: its licence doesn't allow itmissing from 25 of 32
  3. A rule we can't quote: its licence doesn't allow itmissing from 20 of 32

Rules people drop

  1. A rule we can't quote: its licence doesn't allow itdropped by 14 of 21
  2. A rule we can't quote: its licence doesn't allow itdropped by 2 of 21
  3. A rule we can't quote: its licence doesn't allow itdropped by 2 of 21
  4. A rule we can't quote: its licence doesn't allow itdropped by 2 of 21
  5. A rule we can't quote: its licence doesn't allow itdropped by 2 of 21

Rules people add

  1. When in an empty folder or workspace with no existing Remotion project, scaffold one using:added by 18 of 21
  2. When needing to detect and trim silent segments from video or audio files, load the [./rules/silence-detection.md](./rules/silence-detection.md) file.added by 18 of 21
  3. Place assets in the public/ folder at your project root.added by 14 of 21
  4. Use staticFile() to reference files from the public/ folder.added by 14 of 21
  5. Add images using the <Img> component:added by 14 of 21
  6. Start the Remotion Studio to preview a video:added by 14 of 21
  7. A rule we can't quote: its licence doesn't allow itadded by 4 of 21
  8. A rule we can't quote: its licence doesn't allow itadded by 2 of 21

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Used with

Projects with it also use remotion-saas, remotion-maps and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    remotion-saas

    Build an app with Remotion

    Also in 11 projects that use this

  • OpenAISkill

    remotion-maps

    Remotion Map animation knowledge

    Also in 9 projects that use this

  • xerocSkill

    website-to-video

    Capture a general website/URL and turn it into a video OF the site — tour, showcase, or social clip built from captured screenshots and the site's own brand assets. Use for portfolio / blog / docs / landing-page showcases. Not a product launch or promo, even from a URL (/product-launch-video). Unclear → /hyperframes.

    Also in 3 projects that use this

  • +9 more from openai

The file

We split this skill into the rules it gives an agent

5 rules. 1 is common, 4 are distinctive, and 0 are very specific to this project.

  • 1

    Common

    Most of the 75 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

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

    line 10
  2. Distinctive:

    When dealing with captions or subtitles, load the ./rules/subtitles.md file for more information.

    line 14
  3. Distinctive:

    When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./rules/audio-visualization.md file for more …

    line 22
  4. Distinctive:

    When needing to use sound effects, load the ./rules/sound-effects.md file for more information.

    line 26
  5. Distinctive:

    Read individual rule files for detailed explanations and code examples:

    line 30

“Common” is measured: kept by at least 6 in 10 of the 75 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Sound effects

When needing to use sound effects, load the ./rules/sound-effects.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)
  • rules/compositions.md - Defining compositions, stills, folders, default props and dynamic metadata
  • 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/light-leaks.md - Light leak overlay effects using @remotion/light-leaks
  • 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/transitions.md - Scene transition patterns for Remotion
  • rules/transparent-videos.md - Rendering out a video with transparency
  • 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
  • rules/parameters.md - Make a video parametrizable by adding a Zod schema
  • rules/maps.md - Add a map using Mapbox and animate it
  • rules/voiceover.md - Adding AI-generated voiceover to Remotion compositions using ElevenLabs TTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.