---
name: "remotion-programmatic-react-video"
description: "Generate and render MP4 videos programmatically using standard React components."
metadata:
  author: "Remotion"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "create video with react remotion"
  - "animate frames remotion"
  - "render mp4 video remotion"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Remotion Programmatic Video Creation in React

Builds dynamic data-driven videos using Remotion: Composition, Sequence, useCurrentFrame, useVideoConfig, spring physics, and headless server-side rendering with @remotion/cli.

## When to Invoke
Invoke this skill whenever you need to:
- create video with react remotion
- animate frames remotion
- render mp4 video remotion

## Execution SOP & Rules
1. Define video dimensions and duration in frames inside <Composition width={1920} height={1080} fps={30} />.
2. Calculate frame animations using const frame = useCurrentFrame() and interpolate().
3. Sequence scenes cleanly using <Sequence from={0} durationInFrames={90}>.
4. Avoid relying on real-time setTimeout or setInterval; drive all timing strictly from the current frame.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
