npx skills add ...
npx skills add remotion-dev/skills --skill remotion-create
Create a new Remotion video
npx skills add remotion-dev/skills --skill remotion-create
These are instructions for making a new Remotion project and composition.
If this is not the next task, see Remotion Best Practices
If a project already exists, skip this. Ensure Node.js and Git is installed, and the current folder is appropriate for starting a new project.
Inspect the current folder, including hidden files, before choosing where to scaffold.
If it is empty, or contains only disposable operating-system metadata such as .DS_Store, create the project directly in the current folder.
Remove only those disposable metadata files first, since create-video rejects non-empty folders.
Do not treat all hidden files as disposable: files such as .env and directories such as .git are meaningful contents.
Scaffold in existing folder:
If the current folder contains meaningful contents and no project already exists, scaffold into a new subfolder.
Replace my-video with a suitable project name.
Keep the scaffold and add React Markup. Follow Remotion React Markup Best Practices and Video Layout Rules for video-first layout and text sizing guidance.
If this is a video with multiple subsequence videos, follow guidance at Multi-scene videos.
By structuring the React Markup following Remotion Interactivity Best Practices, you allow the user to make edits in the Studio which write back to code.
If Tailwind is requested, see tailwind.md for using TailwindCSS in Remotion.
Start the preview server after building the composition:
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 an in-harness browser is available, open it there.
You can visit a specific composition by navigating to /[composition-id], for example http://localhost:3000/MapAnimation.
Only render if the user explicitly asks for it.
For more options, see Rendering.
The video creation process has finished. For follow-up prompts, use Remotion Best Practices