Skip to content

🎥 Make videos programmatically with React

Skills: Create projects in existing empty folders

JonnyBurger11d7dd02ff2e
diff --git a/packages/skills/skills/remotion-create/SKILL.md b/packages/skills/skills/remotion-create/SKILL.md
index c91c87161e..0154f508d7 100644
--- a/packages/skills/skills/remotion-create/SKILL.md
+++ b/packages/skills/skills/remotion-create/SKILL.md
@@ -12,7 +12,19 @@ If this is not the next task, see [Remotion Best Practices](../remotion-best-pra
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.
-Scaffold one using:
+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.
+
+Use `.` as the directory argument to scaffold in the current folder, without creating or changing into a subfolder:
+
+```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:
```bash
npx create-video@latest --yes --blank --no-tailwind my-video