What problem does it solve?
Guide users through creating new Remotion video compositions in the @repo/video package. Use when users want to create a new video, animation, or composition, or when they invoke /new-video. Handles scaffolding, explains Remotion concepts, and helps with composition editing.
Core Features & Use Cases
- Create a new Remotion composition in packages/video/src/compositions/<Name>.tsx with a starter template, register it in Root.tsx, and add it to barrel exports.
- Explain Remotion core concepts like useCurrentFrame() and fps, enabling frame-by-frame animation in compositions.
- Scaffold and customize: modify the starter template to realize the user's vision, including integrating key APIs and Tailwind styling.
- Preview in Studio: run pnpm studio to view the new composition and iterate with hot-reloads.
- Embedding guidance: pattern to embed the video in a Next.js web app.
Quick Start
Run pnpm new-video <CompositionName> to scaffold the new composition.