remotion-best-practices
使用Remotion和React製作影片的領域特定知識庫。涵蓋30多個規則檔案,涉及動畫、音訊、素材、3D內容、圖表、文字、轉場及合成管理。包含字幕、FFmpeg操作、音訊視覺化及音效整合的專業指南。提供動態中繼資料計算、媒體檢查(時長、尺寸、影格提取)及可參數化合成的模式。支援Lottie等進階功能...
npx skills add https://github.com/remotion-dev/skills --skill remotion-best-practicesPreserve 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.
Creating a video
If the user asks to make, create, or build a new video or composition, load Create a new Remotion video, whether or not a Remotion project already exists.
New project setup
If no Remotion project currently exists, load Create a new Remotion project
React Markup Best Practices
If you are writing Remotion React Markup, load Remotion Markup Best Practices
Maps
For static maps, animated routes and markers, geographic explainers, Mapbox, MapLibre, MapTiler, GeoJSON, or 3D geographic flyovers, load Remotion Maps.
Multimedia
For achieving multimedia tasks in the browser, such as trimming, cropping videos, or getting metadata from them, load Remotion Multimedia
Improving Interactivity
By structuring the Remotion markup well, we can allow users to interactively change things in the Studio and write back to code. If relevant: Interactivity Best Practices
Rendering
For advanced rendering beyond simple npx remotion render, see: Rendering Best Practices
Opening Remotion Studio
To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load Remotion Studio.
Captions
When working with Captions, load Remotion Captions.
Creating a SaaS, automation or application
Use the Remotion SaaS skill for knowledge about Remotion-powered SaaS apps, such as <Player>, rendering on Lambda, Vercel, Cloudflare, via Express.js, client-side rendering, or for finding the right SaaS template.
Looking up Remotion APIs and documentation
To find and read current Remotion documentation, load Remotion Docs.
Upgrading
To upgrade Remotion, related packages, compatible Mediabunny packages, and installed Remotion Agent Skills, load Remotion Upgrade.