$npx -y skills add remotion-dev/remotion --skill remotion-createCreating a new Remotion video
| 1 | These are instructions for making a new Remotion project and composition. |
| 2 | If this is not the next task, see [Remotion Best Practices](../remotion-best-practices/SKILL.md) |
| 3 | |
| 4 | ## Scaffold a project |
| 5 | |
| 6 | If a project already exists, skip this. |
| 7 | Ensure Node.js and Git is installed, and the current folder is appropriate for starting a new project. |
| 8 | |
| 9 | Scaffold one using: |
| 10 | |
| 11 | ```bash |
| 12 | npx create-video@latest --yes --blank --no-tailwind my-video |
| 13 | cd my-video |
| 14 | npm i |
| 15 | ``` |
| 16 | |
| 17 | Replace `my-video` with a suitable project name. |
| 18 | |
| 19 | ## Designing a video |
| 20 | |
| 21 | Keep the scaffold and add React Markup. Follow [Remotion React Markup Best Practices](../remotion-markup/SKILL.md) and [Video Layout Rules](video-layout.md) for video-first layout and text sizing guidance. |
| 22 | |
| 23 | ## Interactivity Best Practices |
| 24 | |
| 25 | By structuring the React Markup following [Remotion Interactivity Best Practices](../remotion-interactivity/SKILL.md), you allow the user to make edits in the Studio which write back to code. |
| 26 | |
| 27 | ## TailwindCSS |
| 28 | |
| 29 | If Tailwind is requested, see [tailwind.md](tailwind.md) for using TailwindCSS in Remotion. |
| 30 | |
| 31 | ## Starting preview |
| 32 | |
| 33 | ```bash |
| 34 | npx remotion studio --no-open |
| 35 | ``` |
| 36 | |
| 37 | This will start a long-running process and print the server URL for the preview. |
| 38 | |
| 39 | ## Follow-up |
| 40 | |
| 41 | The video creation process has finished. |
| 42 | For follow-up prompts, use [Remotion Best Practices](../remotion-best-practices/SKILL.md) |