remotion-best-practices
Router for all Remotion skills
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- remotion-best-practices
- version
- 4.0.543
- description
- Router for all Remotion skills
02 资源文件 147
- 参考文档agents/openai.yaml311 B
- 资产文件assets/remotion-icon.svg1.3 KB
- 参考文档remotion-captions/agents/openai.yaml305 B
- 资产文件remotion-captions/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-captions/display-captions.md5.8 KB
- 参考文档remotion-captions/import-srt-captions.md2.2 KB
- 参考文档remotion-captions/REFERENCE.md1.1 KB
- 参考文档remotion-captions/transcribe-captions.md5.4 KB
- 参考文档remotion-create/agents/openai.yaml310 B
- 资产文件remotion-create/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-create/REFERENCE.md3.0 KB
- 参考文档remotion-create/tailwind.md386 B
- 参考文档remotion-create/video-layout.md498 B
- 参考文档remotion-docs/agents/openai.yaml307 B
- 资产文件remotion-docs/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-docs/REFERENCE.md1.3 KB
- 参考文档remotion-interactivity/agents/openai.yaml320 B
- 资产文件remotion-interactivity/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-interactivity/inline-effects.md993 B
- 参考文档remotion-interactivity/REFERENCE.md14.0 KB
- 参考文档remotion-interactivity/timeline-structure.md6.9 KB
- 参考文档remotion-license/agents/openai.yaml300 B
- 资产文件remotion-license/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-license/REFERENCE.md498 B
- 参考文档remotion-maps/agents/openai.yaml293 B
- 资产文件remotion-maps/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-maps/REFERENCE.md1.0 KB
- 参考文档remotion-maps/techniques/cesium/assets/cesium-path.json12.0 KB
- 其他remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx8.7 KB
- 参考文档remotion-maps/techniques/cesium/assets/city-path.json223 B
- 其他remotion-maps/techniques/cesium/assets/example-Root.tsx923 B
- 脚本remotion-maps/techniques/cesium/assets/flight-path.ts1.2 KB
- 其他remotion-maps/techniques/cesium/assets/sample-river.geojson6.3 KB
- 参考文档remotion-maps/techniques/cesium/references/3d-data-sources.md1.4 KB
- 参考文档remotion-maps/techniques/cesium/references/3d-flyover-architecture.md7.7 KB
- 参考文档remotion-maps/techniques/cesium/references/3d-troubleshooting.md6.6 KB
- 脚本remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs5.4 KB
- 参考文档remotion-maps/techniques/cesium/TECHNIQUE.md3.8 KB
- 参考文档remotion-maps/techniques/mapbox/references/render-stability.md3.6 KB
- 参考文档remotion-maps/techniques/mapbox/TECHNIQUE.md12.8 KB
- 参考文档remotion-maps/techniques/maplibre/references/render-stability.md3.6 KB
- 参考文档remotion-maps/techniques/maplibre/TECHNIQUE.md13.5 KB
- 其他remotion-maps/techniques/maptiler/assets/CountryLabel.tsx1.8 KB
- 其他remotion-maps/techniques/maptiler/assets/example-Root.tsx1.0 KB
- 脚本remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts2.1 KB
- 其他remotion-maps/techniques/maptiler/assets/RiverReveal.tsx10.6 KB
- 参考文档remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json325.3 KB
- 参考文档remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json12.8 KB
- 脚本remotion-maps/techniques/maptiler/assets/tokens.ts1.2 KB
- 参考文档remotion-maps/techniques/maptiler/references/map-data-sources.md4.7 KB
- 参考文档remotion-maps/techniques/maptiler/references/map-explainer-architecture.md6.7 KB
- 参考文档remotion-maps/techniques/maptiler/references/map-geo-prep.md4.0 KB
- 参考文档remotion-maps/techniques/maptiler/references/render-stability.md3.6 KB
- 脚本remotion-maps/techniques/maptiler/scripts/prep-geo.mjs7.4 KB
- 参考文档remotion-maps/techniques/maptiler/TECHNIQUE.md4.4 KB
- 参考文档remotion-maps/techniques/static-map/TECHNIQUE.md1.1 KB
- 参考文档remotion-markup/3d.md2.2 KB
- 参考文档remotion-markup/agents/openai.yaml310 B
- 参考文档remotion-markup/arabic-text.md4.4 KB
- 资产文件remotion-markup/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-markup/audio-visualization.md4.8 KB
- 参考文档remotion-markup/audio.md4.0 KB
- 参考文档remotion-markup/calculate-metadata.md3.4 KB
- 参考文档remotion-markup/color-correction.md7.3 KB
- 参考文档remotion-markup/compositions.md5.0 KB
- 参考文档remotion-markup/connected-compositions.md3.4 KB
- 参考文档remotion-markup/cropping.md1.3 KB
- 参考文档remotion-markup/effects.md10.6 KB
- 参考文档remotion-markup/embedding-videos.md3.6 KB
- 参考文档remotion-markup/ffmpeg.md1.1 KB
- 参考文档remotion-markup/gifs.md3.7 KB
- 参考文档remotion-markup/google-fonts.md1.7 KB
- 参考文档remotion-markup/html-in-canvas.md2.9 KB
- 参考文档remotion-markup/images.md1.5 KB
- 参考文档remotion-markup/light-leaks.md3.1 KB
- 参考文档remotion-markup/local-fonts.md1.5 KB
- 参考文档remotion-markup/lottie.md1.8 KB
- 参考文档remotion-markup/measuring-dom-nodes.md995 B
- 参考文档remotion-markup/measuring-text.md2.7 KB
- 参考文档remotion-markup/motion-blur.md2.0 KB
- 参考文档remotion-markup/multi-scene-video.md1.0 KB
- 参考文档remotion-markup/parameters.md2.2 KB
- 参考文档remotion-markup/REFERENCE.md13.5 KB
- 参考文档remotion-markup/remotion-maps/agents/openai.yaml293 B
- 资产文件remotion-markup/remotion-maps/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-markup/remotion-maps/REFERENCE.md1.0 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json12.0 KB
- 其他remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx8.7 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json223 B
- 其他remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx923 B
- 脚本remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts1.2 KB
- 其他remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson6.3 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md1.4 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md7.7 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md6.6 KB
- 脚本remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs5.4 KB
- 参考文档remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md3.8 KB
- 参考文档remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md3.6 KB
- 参考文档remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md12.8 KB
- 参考文档remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md3.6 KB
- 参考文档remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md13.5 KB
- 其他remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx1.8 KB
- 其他remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx1.0 KB
- 脚本remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts2.1 KB
- 其他remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx10.6 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json325.3 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json12.8 KB
- 脚本remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts1.2 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md4.7 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md6.7 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md4.0 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md3.6 KB
- 脚本remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs7.4 KB
- 参考文档remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md4.4 KB
- 参考文档remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md1.1 KB
- 参考文档remotion-markup/sequencing.md1.3 KB
- 参考文档remotion-markup/sfx.md1.8 KB
- 参考文档remotion-markup/silence-detection.md2.5 KB
- 参考文档remotion-markup/text-highlights.md1.8 KB
- 参考文档remotion-markup/timing-props.md3.3 KB
- 参考文档remotion-markup/timing.md3.2 KB
- 参考文档remotion-markup/transitions.md8.6 KB
- 参考文档remotion-markup/video-editing.md5.7 KB
- 参考文档remotion-markup/video-matting.md3.3 KB
- 参考文档remotion-markup/voiceover.md3.6 KB
- 参考文档remotion-multimedia/agents/openai.yaml317 B
- 资产文件remotion-multimedia/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-multimedia/get-audio-duration.md1.5 KB
- 参考文档remotion-multimedia/get-video-dimensions.md1.8 KB
- 参考文档remotion-multimedia/get-video-duration.md1.4 KB
- 参考文档remotion-multimedia/REFERENCE.md705 B
- 参考文档remotion-render/agents/openai.yaml286 B
- 资产文件remotion-render/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-render/REFERENCE.md2.3 KB
- 参考文档remotion-render/transparent-videos.md2.2 KB
- 参考文档remotion-saas/agents/openai.yaml283 B
- 资产文件remotion-saas/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-saas/framework.md908 B
- 参考文档remotion-saas/player.md942 B
- 参考文档remotion-saas/REFERENCE.md1.0 KB
- 参考文档remotion-saas/rendering.md4.2 KB
- 参考文档remotion-studio/agents/openai.yaml237 B
- 资产文件remotion-studio/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-studio/REFERENCE.md1.6 KB
- 参考文档remotion-upgrade/agents/openai.yaml282 B
- 资产文件remotion-upgrade/assets/remotion-icon.svg1.3 KB
- 参考文档remotion-upgrade/REFERENCE.md1.9 KB
03 SKILL.md 正文
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.
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
For video matting, background removal, or placing content behind a subject, load Remotion Markup.
Interactivity
New markup is editable in Studio by default. When writing or restructuring markup, load Interactivity Best Practices.
Open the preview
If the user asks to "make" a video, "create" a video, etc. Don't render the video by default unless they are very explicit. They want to instead see an interactive preview. As soon as the project can run, start Studio and open the preview in the browser before building or editing the composition. Keep it open while you work so the user can watch progress and steer.
If you are using Cursor
Run Studio without --no-open so it opens the browser automatically:
npx remotion studio
If you are using another agent client with an in-app browser
You can use the command above to let Studio open the browser, or run:
npx remotion studio --no-open
This will start a long-running process and print the server URL for the preview.
If the server is already started, it will print the URL.
If you use --no-open, open the exact printed URL in the in-app browser and verify that Studio loads. Once a composition exists, verify that its video preview loads. If you cannot open it there, run Studio without --no-open.
You can visit a specific composition by navigating to /[composition-id], for example http://localhost:3000/MapAnimation.
:::note The Studio supports WebMCP tools. :::
If you do not have an in-app browser
This will open the Studio in the browser or refocus it if it is already open.
npx remotion studio
More options
To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load Remotion Studio.
Render the video
Only render if the user is very explicit in asking for it.
E.g. "Render the video", "Export", "Give me the MP4".
The preview also has a more intuitive rendering interface, so consider using it instead of the command line for rendering.
npx remotion render
For more options, see Rendering.
For advanced rendering beyond simple npx remotion render, see: Rendering Best Practices
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.
Licensing
For Remotion license information, FAQs, terms, or buying a license, load Remotion License.
Upgrading
To upgrade Remotion, related packages, compatible Mediabunny packages, and installed Remotion Agent Skills, load Remotion Upgrade.
04 同仓库更多 Skills
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.
unslop
Cut AI tells from any writing.