🎥 Make videos programmatically with React
Docs: Clarify effects and skills docs (#8614)
Jonny Burger243178f0338a
diff --git a/packages/docs/docs/effects.mdx b/packages/docs/docs/effects.mdxindex 0efd63bec1..5f29264e9f 100644--- a/packages/docs/docs/effects.mdx+++ b/packages/docs/docs/effects.mdx@@ -34,6 +34,10 @@ The following components support effects:## Usage+Effects can be added programmatically, interactively or agentically.++### Programmatically+Pass effects through the `effects` prop as an array of effect functions:```tsx twoslash title="MyComp.tsx"@@ -50,6 +54,20 @@ export const MyComp: React.FC = () => {};```+### Interactively++In [Remotion Studio](/docs/studio), first add an element that supports effects. Drag a video into the canvas, or add a [`<Solid>`](/docs/solid) by right-clicking an empty space in the timeline.++Then drag an effect from the table of contents below into the element.++### Agentically++Ask an agent with [Remotion Skills](/docs/ai/skills) installed to add an effect while following Remotion conventions:++```txt title="Prompt"+Use Remotion best practices. Add a blur effect to the video.+```+## MultipassMultiple effects can be combined. They apply in the order they are specified.@@ -68,7 +86,7 @@ When you select a component with effects in [Remotion Studio](/docs/studio), you## Custom effects-Use [`createEffect()`](/docs/create-effect) to create your own effects based on 2D Canvas APIs, WebGL2 or WebGPU and pass them to an `effects` array.+To build your own effect, use [`createEffect()`](/docs/create-effect). It supports 2D Canvas APIs, WebGL2 and WebGPU, and creates an effect factory that can be passed to an `effects` array.## See alsodiff --git a/packages/docs/docs/effects/index.mdx b/packages/docs/docs/effects/index.mdxindex 3a4ca0a529..cff6fc6767 100644--- a/packages/docs/docs/effects/index.mdx+++ b/packages/docs/docs/effects/index.mdx@@ -41,7 +41,7 @@ Pass effects through the `effects` prop of these components:## Creating custom effects-Use [`createEffect()`](/docs/create-effect) from `remotion` to create a custom effect factory. The schema for effect controls uses [`InteractivitySchema`](/docs/interactivity-schema).+To build your own effect, use [`createEffect()`](/docs/create-effect) from `remotion`. It creates a custom effect factory and uses [`InteractivitySchema`](/docs/interactivity-schema) for Studio controls.## Licensediff --git a/packages/skills/README.md b/packages/skills/README.mdindex 60f7cfc36d..d6c78079c4 100644--- a/packages/skills/README.md+++ b/packages/skills/README.md@@ -1,5 +1,32 @@# @remotion/skills+Agent Skills for Remotion projects.++Skills are instruction files for AI agents such as Claude Code, Codex and Cursor. They define Remotion-specific best practices, conventions and examples that an agent can load while working in a Remotion project.+## Usage-This is an internal package and has no documentation.+Install the skills in a Remotion project:++```bash+npx remotion skills add+```++Update installed skills:++```bash+npx remotion skills update+```++New Remotion projects created with `bun create video` are also offered the option to add skills.++## Included skill++The Remotion skill lives in [`skills/remotion/SKILL.md`](./skills/remotion/SKILL.md). It covers composition structure, animation patterns, media handling, effects and other Remotion workflows.++For visual and pixel effects, the skill points agents to [`skills/remotion/rules/effects.md`](./skills/remotion/rules/effects.md), which explains how to use `@remotion/effects` and how to create a reusable custom effect with `createEffect()`.++## Documentation++- [Agent Skills](https://www.remotion.dev/docs/ai/skills)+- [`npx remotion skills`](https://www.remotion.dev/docs/cli/skills)