mcpField
R
remotion-best-practices

remotion-best-practices

github.com/connoradsCreative & media1879 installsUpdated 1d ago
Repository

About remotion-best-practices

A practical guidance skill for writing video code with Remotion, aimed at video creators and developers. It covers project setup, previewing, and single-frame checks, with rule files organized around captions, audio, animation, and assets.

Key features

  1. 01Remotion project setup guidance
  2. 02Studio preview and single-frame rendering
  3. 03Rule files for captions and media
  4. 04Guides to animation, transitions, and timing
  5. 05Guides to assets, charts, and visualization

Use cases

  1. 01Start a new Remotion video project
  2. 02Preview a composition and inspect a frame
  3. 03Add captions or audio to a video
  4. 04Create animations, charts, or transitions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/connorads/dotfiles --skill remotion-best-practices

After installing, type/remotion-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
3d.md
animations.md
assets.md
audio-visualization.md
audio.md
calculate-metadata.md
can-decode.md
charts.md
compositions.md
display-captions.md
extract-frames.md
ffmpeg.md
fonts.md
get-audio-duration.md
get-video-dimensions.md
get-video-duration.md
gifs.md
images.md
import-srt-captions.md
light-leaks.md
lottie.md
maps.md
measuring-dom-nodes.md
measuring-text.md
parameters.md
sequencing.md
sfx.md
rules/assets/
charts-bar-chart.tsx
text-animations-typewriter.tsx
text-animations-word-highlight.tsx

Details

From the project README

When to use

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

New project setup

When in an empty folder or workspace with no existing Remotion project, scaffold one using:

npx create-video@latest --yes --blank --no-tailwind my-video

Replace my-video with a suitable project name.

Starting preview

Stsrt the Remotion Studio to preview a video:

npx remotion studio

Optional: one-frame render check

You can render a single frame with the CLI to sanity-check layout, colors, or timing.
Skip it for trivial edits, pure refactors, or when you already have enough confidence from Studio or prior renders.

npx remotion still [composition-id] --scale=0.25 --frame=30

At 30 fps, --frame=30 is the one-second mark (--frame is zero-based).

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.

Silence detection

When needing to detect and trim silent segments from video or audio files, load the ./rules/silence-detection.md file.

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/sfx.md file for more information.

How to use

Read individual rule files for detailed explanations and code examples:

Comments

Markdown supported