🎥 Make videos programmatically with React
Skills: Add `/remotion-studio` skill (#10141)
Jonny Burger9ce6b5835541
diff --git a/.agents/skills/remotion-studio b/.agents/skills/remotion-studionew file mode 120000index 0000000000..5a7b465ea0--- /dev/null+++ b/.agents/skills/remotion-studio@@ -0,0 +1 @@+../../packages/skills/skills/remotion-studio\ No newline at end of filediff --git a/packages/docs/docs/ai/skills.mdx b/packages/docs/docs/ai/skills.mdxindex 22961fb0e0..43fb97b858 100644--- a/packages/docs/docs/ai/skills.mdx+++ b/packages/docs/docs/ai/skills.mdx@@ -44,6 +44,18 @@ Use this for knowledge about compositions, animations, layout, typography, media<SuggestedPrompt prompt="/remotion-markup Create an animated title card using Inter." />+### `/remotion-studio`++Launch the Studio to see a preview of your video.++<SuggestedPrompt prompt="/remotion-studio" />++### `/remotion-render`++Invoke a render into a video or a still.++<SuggestedPrompt prompt="/remotion-render" />+### `/remotion-maps`Best practices for creating map animations in Remotion.@@ -52,10 +64,6 @@ Use this for static maps, animated routes and markers, geographic explainers, Ma<SuggestedPrompt prompt="/remotion-maps Animate a route from Los Angeles to New York and make the camera follow it." />-### `/remotion-render`--Invoke a render into a video or a still.-### `/remotion-captions`Guidance for captions and subtitles.diff --git a/packages/skills/README.md b/packages/skills/README.mdindex 55bb450599..7d48ab95ac 100644--- a/packages/skills/README.md+++ b/packages/skills/README.md@@ -42,6 +42,18 @@ Use this for knowledge about compositions, animations, layout, typography, media> Example prompt: `/remotion-markup Create an animated title card using Inter.`+### `/remotion-studio`++Launch the Studio to see a preview of your video.++> Example prompt: `/remotion-studio`++### `/remotion-render`++Invoke a render into a video or a still.++> Example prompt: `/remotion-render`+### `/remotion-maps`Best practices for creating map animations in Remotion.@@ -50,10 +62,6 @@ Use this for static maps, animated routes and markers, geographic explainers, Ma> Example prompt: `/remotion-maps Animate a route from Los Angeles to New York and make the camera follow it.`-### `/remotion-render`--Invoke a render into a video or a still.-### `/remotion-captions`Guidance for captions and subtitles.diff --git a/packages/skills/skills/remotion-best-practices/SKILL.md b/packages/skills/skills/remotion-best-practices/SKILL.mdindex 6732ec78c8..8f3cf20719 100644--- a/packages/skills/skills/remotion-best-practices/SKILL.md+++ b/packages/skills/skills/remotion-best-practices/SKILL.md@@ -32,6 +32,10 @@ By structuring the Remotion markup well, we can allow users to interactively chaFor advanced rendering beyond simple `npx remotion render`, see: [Rendering Best Practices](./remotion-render/SKILL.md)+## Opening Remotion Studio++To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load [Remotion Studio](./remotion-studio/SKILL.md).+## CaptionsWhen working with Captions, load [Remotion Captions](./remotion-captions/SKILL.md).diff --git a/packages/skills/skills/remotion-best-practices/remotion-studio b/packages/skills/skills/remotion-best-practices/remotion-studionew file mode 120000index 0000000000..a03020b801--- /dev/null+++ b/packages/skills/skills/remotion-best-practices/remotion-studio@@ -0,0 +1 @@+../remotion-studio\ No newline at end of filediff --git a/packages/skills/skills/remotion-studio/SKILL.md b/packages/skills/skills/remotion-studio/SKILL.mdnew file mode 100644index 0000000000..7cf50b7d58--- /dev/null+++ b/packages/skills/skills/remotion-studio/SKILL.md@@ -0,0 +1,24 @@+---+name: remotion-studio+description: Preview a Remotion video+version: 4.0.505+---++Execute the following command:++```bash+npx remotion studio --no-open+```++If the Studio is already opened, the URL will be printed and the command will exit.+Otherwise, a long-running process will start, and the URL will be printed.++Open the URL in the browser.++## Useful flags++| Argument | Purpose |+| ----------------- | --------------------------------------------------------------------------------------------- |+| `--log=<level>` | Set `error`, `warn`, `info` (default), or `verbose` logging. |+| `--port=<number>` | Request a Studio server port; otherwise Remotion finds a free port. |+| `--force-new` | Start another Studio instance even when one is already running for the same project and port. |diff --git a/packages/skills/skills/remotion-studio/agents/openai.yaml b/packages/skills/skills/remotion-studio/agents/openai.yamlnew file mode 100644index 0000000000..aa1787c357--- /dev/null+++ b/packages/skills/skills/remotion-studio/agents/openai.yaml@@ -0,0 +1,7 @@+interface:+ display_name: '/remotion-studio'+ short_description: 'Preview your video'+ icon_small: './assets/remotion-icon.png'+ icon_large: './assets/remotion-icon.png'+ brand_color: '#0B84F3'+ default_prompt: '$remotion-studio.'diff --git a/packages/skills/skills/remotion-studio/assets/remotion-icon.png b/packages/skills/skills/remotion-studio/assets/remotion-icon.pngnew file mode 100644index 0000000000..c17ab6e838Binary files /dev/null and b/packages/skills/skills/remotion-studio/assets/remotion-icon.png differdiff --git a/packages/skills/skills/remotion-upgrade/SKILL.md b/packages/skills/skills/remotion-upgrade/SKILL.mdindex a4109f324e..1365bdd065 100644--- a/packages/skills/skills/remotion-upgrade/SKILL.md+++ b/packages/skills/skills/remotion-upgrade/SKILL.md@@ -23,7 +23,7 @@ version: 4.0.5054. If `@remotion/cli` is not available, update the installed Remotion skills:```bash- npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-interactivity remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-upgrade --yes+ npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-interactivity remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-studio remotion-upgrade --yes```5. Review the manifest and lockfile diff. Ensure all Remotion packages use one version and all installed Mediabunny packages use the compatible version. If the CLI is available, run `npx remotion versions` as an additional check.diff --git a/packages/studio-server/src/remotion-skill-names.ts b/packages/studio-server/src/remotion-skill-names.tsindex 3155c0c06e..0c405f936e 100644--- a/packages/studio-server/src/remotion-skill-names.ts+++ b/packages/studio-server/src/remotion-skill-names.ts@@ -9,6 +9,7 @@ export const remotionSkillNames = ['remotion-multimedia','remotion-render','remotion-saas',+ 'remotion-studio','remotion-upgrade',] as const;