Skip to main content

Build

Remotion Best Practices

RemotionOfficialCertified

Router for all Remotion skills

  • 6 installs
  • v4.0.549
  • Reviewed Jul 21
  • No reviews yet

Capabilities

  • Preserve user changes

    Users may make edits in the code outside of the conversation

  • Creating a video

    If the user asks to make, create, or build a new video or composition…

  • New project setup

    If no Remotion project currently exists, load Create a new Remotion…

  • React Markup Best Practices

    If you are writing Remotion React Markup, load Remotion Markup Best…

Getting started

Full instructions

Example command

If you are using Cursor

npx remotion studio

Instructions: SKILL.mdv4.0.549

Preserve user changes

Users may make edits in the code outside of the conversation.

If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.

Creating a video

If the user asks to make, create, or build a new video or composition, load Create a new Remotion video, whether or not a Remotion project already exists.

New project setup

If no Remotion project currently exists, load Create a new Remotion project

React Markup Best Practices

If you are writing Remotion React Markup, load Remotion Markup Best Practices

Elements

To install Elements, reusable video components from Element libraries, load Elements.
Also load it when given an Element page URL or an Element library URL.

Maps

For static maps, animated routes and markers, geographic explainers, Mapbox, MapLibre, MapTiler, GeoJSON, or 3D geographic flyovers, load Remotion Maps.

Multimedia

For achieving multimedia tasks in the browser, such as trimming, cropping videos, or getting metadata from them, load Remotion Multimedia

For video matting, background removal, or placing content behind a subject,
load Remotion Markup.

Interactivity

New markup is editable in Studio by default. When writing or restructuring markup, load Interactivity Best Practices.

Open the preview

When creating or editing a video, you SHOULD open Studio once the project can run, so the user can preview changes and steer.

If you are using Cursor

Run Studio without --no-open so it opens the browser automatically:

bash
npx remotion studio

If you are using another agent client with an in-app browser

You can use the command above to let Studio open the browser, or run:

bash
npx remotion studio --no-open

This will start a long-running process and print the server URL for the preview.
If the server is already started, it will print the URL.
If you use --no-open, open the exact printed URL in the in-app browser and verify that Studio loads. Once a composition exists, verify that its video preview loads. If you cannot open it there, run Studio without --no-open.
You can visit a specific composition by navigating to /[composition-id], for example http://localhost:3000/MapAnimation.

:::note
The Studio supports WebMCP tools.
:::

If you do not have an in-app browser

This will open the Studio in the browser or refocus it if it is already open.

bash
npx remotion studio

More options

To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load Remotion Studio.

Render the video

Only render if the user is very explicit in asking for it.
E.g. "Render the video", "Export", "Give me the MP4".

The preview also has a more intuitive rendering interface, so consider using it instead of the command line for rendering.

text
npx remotion render

For more options, see Rendering.

For advanced rendering beyond simple npx remotion render, see: Rendering Best Practices

Captions

When working with Captions, load Remotion Captions.

Creating a SaaS, automation or application

Use the Remotion SaaS skill for knowledge about Remotion-powered SaaS apps, such as <Player>, rendering on Lambda, Vercel, Cloudflare, via Express.js, client-side rendering, or for finding the right SaaS template.

Looking up Remotion APIs and documentation

To find and read current Remotion documentation, load Remotion Docs.

Licensing

For Remotion license information, FAQs, terms, or buying a license, load Remotion License.

Upgrading

To upgrade Remotion, related packages, compatible Mediabunny packages, and installed Remotion Agent Skills, load Remotion Upgrade.

Deploy Remotion Studio

When the user asks to host Remotion Studio or share it via a URL, run bunx remotion bundle (npx remotion bundle for npm) from the project root. Publish the resulting build/ directory to a static host.

For Vercel, Netlify, or GitHub Pages setup, see Deploy Remotion Studio as a static site.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from Remotion

View source →

Frequently asked questions about remotion-best-practices

What does the remotion-best-practices skill do?

Router for all Remotion skills It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the remotion-best-practices skill?

Run `npx @skills-hub-ai/cli install remotion-best-practices` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/remotion-best-practices/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does remotion-best-practices work with?

remotion-best-practices runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the remotion-best-practices skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use remotion-best-practices after installing it?

In Claude Code, type `/remotion-best-practices` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the remotion-best-practices skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/remotion-best-practices)](https://skills-hub.ai/skills/remotion-best-practices)
HTML
<a href="https://skills-hub.ai/skills/remotion-best-practices"><img src="https://skills-hub.ai/api/badges/skill/remotion-best-practices" alt="Install on Skills Hub"></a>

More options in the badge docs.