跳到主要内容
知仓学习社ZHICANG

remotion-video-builder

Use when building, reviewing, or refactoring a Remotion project, especially parameterized launch or demo videos with shared props schemas, calculate…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少3 个文本文件,10 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Remotion Video Builder

Your Remotion knowledge may be stale. When exact API behavior matters, prefer the official remotion-documentation MCP server or the docs at remotion.dev.

Start Here

  • If the project does not exist yet, scaffold it with npx create-video@latest and prefer the blank template.
  • Keep every remotion and @remotion/* package on the exact same version and avoid caret ranges.
  • Standard entry shape:
  • src/index.ts calls registerRoot()
  • src/Root.tsx registers all videos with <Composition> or <Still>

Build Order

  1. Model the input contract first:
  • top-level props schema
  • timeline or event data
  • render profile
  1. Define shared props with zod and pass the schema to each <Composition>.
  2. Use calculateMetadata to derive durationInFrames, width, height, transformed props, and defaultOutName.
  3. Build the scene structure with <Series> for narrative order and <Sequence> for overlays, entrances, footage windows, and callouts.
  4. In Remotion v4.x projects, explicitly set premountFor on <Sequence> elements that need assets loaded before they appear.
  5. Add sample data and render scripts before polishing animation.

Defaults And Rules

  • Default to fps={30} and 1920x1080 for landscape unless the brief says otherwise.
  • Use AbsoluteFill for layering.
  • Use staticFile() for anything coming from public/.
  • Use useCurrentFrame() and useVideoConfig() for frame-based logic.
  • Prefer subtle motion:
  • spring() with high damping
  • interpolate() with clamping
  • Do not use Math.random(). Use random(seed) from remotion.
  • Keep text animation simple and legible.
  • Keep landscape and vertical outputs on the same business logic unless the brief truly requires divergence.

Parameterized Video Checklist

  • One shared top-level z.object() schema
  • defaultProps matching the component prop shape
  • calculateMetadata returning dynamic duration or dimensions when inputs require it
  • Sample JSON or TypeScript data for local preview
  • Render scripts for every target output

Footage Strategy

Support at least these modes when footage is optional:

  • none
  • placeholder
  • real

The timeline and overlays should still render when no real footage exists.

Millrace Launch Video

If the request is about Millrace or the launch video pipeline, read [references/millrace-launch-video.md](references/millrace-launch-video.md) before implementing.

References

  • [references/remotion-core.md](references/remotion-core.md)
  • [references/millrace-launch-video.md](references/millrace-launch-video.md)

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径plugins/tim-osterhus/codex-remotion-plugin/skills/remotion-video-builder/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 1910 个技能