Skip to content

🎥 Make videos programmatically with React

Update SKILL.md

Jonny Burger462f3ca15c03
diff --git a/packages/skills/skills/remotion-create/SKILL.md b/packages/skills/skills/remotion-create/SKILL.md
index 0154f508d7..be2a4f4206 100644
--- a/packages/skills/skills/remotion-create/SKILL.md
+++ b/packages/skills/skills/remotion-create/SKILL.md
@@ -13,18 +13,25 @@ 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.
+
+### Empty folder
+
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.
-Use `.` as the directory argument to scaffold in the current folder, without creating or changing into a subfolder:
+Scaffold in existing folder:
```bash
npx create-video@latest --yes --blank --no-tailwind .
npm i
```
-If the current folder contains meaningful contents and no project already exists, scaffold into a new subfolder:
+### Non-empty 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.
+
```bash
npx create-video@latest --yes --blank --no-tailwind my-video
@@ -32,8 +39,6 @@ cd my-video
npm i
```
-Replace `my-video` with a suitable project name.
-
## Designing a video
Keep the scaffold and add React Markup.