This is guidance for writing Remotion React Markup.
If this is not relevant, load Remotion Best Practices (remotion-best-practices skill) instead.
MUST marks requirements, SHOULD recommendations, MAY optional actions, and CAN capabilities. Apply them to the requested task.
Preserve user changes
Users may make edits in the code outside of the conversation.
If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.
General rules
Keep useCurrentFrame() in the smallest component that needs it. Extract
frame-dependent audio volume, titles, and overlays into their own components
instead of subscribing the whole composition or scene; otherwise unrelated
descendants re-render on every frame. Preserve the existing frame coordinates
when extracting across timing boundaries, and keep editable interpolations
inline on the item's props.
don't have the plugin yet? install it then click "run inline in claude" again.
+concrete code examples (useCurrentFrame, interpolate, Easing.bezier) that are directly applicable
+clarifies when to use interpolate vs spring, reducing common pattern confusion
+names the Interactive component wrapper pattern explicitly for studio-editable elements
weaknesses
~lacks structure entirely: no inputs, decision-points, output contracts, or outcome signals; reads as disconnected rules rather than a procedure
~no trigger phrases, edge cases, or recovery patterns; doesn't address animation performance, timing conflicts, or composition boundaries
~vague opening conditional ('if this is not relevant, load X instead') creates ambiguity about scope and applicability