Rules for making a Remotion composition editable in Studio. Studio edits the JSX nodes that create timeline items, so the skill shows how to structure code around what a user should select, move, trim or style on its own: Interactive elements with names, inline styles, inline interpolate() animations, tracks, connected compositions and inline composition metadata.
It lists the schema field types Studio understands, such as numbers, colors, enums and captions, and gives good and bad examples for each rule.
What You Get
- A table of schema field types, which are keyframable, and when to use each
- Interactive.Div, Interactive.Svg and Interactive.Path usage, including path morphing with interpolatePaths
- Rules for inline styles, inline text and inline interpolate() calls, with passing and failing examples
- Guidance to use scale, translate and rotate CSS properties and leave out transform
- Inline composition metadata and defaultProps, with calculateMetadata for dynamic parts only
- A timeline structure guide: tracks, TransitionSeries, shared timing and connected compositions, with a full component-to-root example
Common Use Cases
- Writing a new composition whose text and colors users can change in the Studio sidebar
- Refactoring existing markup so scenes become movable and trimmable timeline items
- Keeping animations keyframable by writing them inline
- Making a custom component expose editable props through a schema
What Makes It Unique
It treats Studio’s editing model as a constraint on how code is written: values must be literal and inline so Studio can read and write them back to the source. The skill names exactly what breaks that, such as spread styles, shared constants, math on the frame and extracted defaultProps, and gives the replacement for each.
Under The Hood
The skill is instructions with TypeScript and JSX samples and no scripts. The only command it names is npx remotion add @remotion/paths (or the bun, yarn or pnpm form) to install a package from the network. The agent otherwise writes and edits component files in the project and links to Remotion docs pages.