Skip to content

🎥 Make videos programmatically with React

instructions for copilot agent

Jonny Burgerb1220e7ce7e8
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
new file mode 100644
index 0000000000..0d6f29b68e
--- /dev/null
+++ b/.github/copilot-instructions.md
@@ -0,0 +1,12 @@
+## Build instructions
+
+- Use `pnpm i` to install dependencies, not npm.
+- You need to install `bun` to run the project.
+- To build the project, run `bunx turbo make --filter="[package]"` and only include the package you are working on. The package name is `@remotion/[folder-name]`, except for the `core` package, which has the package name `remotion`.
+
+## Documentation
+
+Any new features or settings should be documented in the `pacakges/docs` folder.
+
+- Add new pages to the sidebar: `packages/docs/sidebars.js`.
+- Generate og:images for the new pages: `cd package/docs && bun render-cards.mjs`.