mcpField
R
remotion-best-practices

remotion-best-practices

github.com/buainoaiCreative & media14765 installsUpdated 39w ago
Repository

About remotion-best-practices

remotion-best-practices is a skill providing domain guidance for writing Remotion code. It covers animation, media, captions, typography, video utilities, and configuration, with rules such as driving animations from frames.

Key features

  1. 01Guidance for animation and sequencing
  2. 02Instructions for image, video, and audio
  3. 03Coverage of captions, Lottie, and charts
  4. 04Advice on fonts and text layout
  5. 05Video metadata and frame extraction
  6. 06Parameterization and rendering configuration

Use cases

  1. 01Build frame-driven Remotion animations
  2. 02Add captions and audio to videos
  3. 03Adjust text layout and check overflow
  4. 04Extract video frames or inspect media details

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/buainoai/remotion-skills --skill remotion-best-practices

After installing, type/remotion-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
3d.md
animations.md
assets.md
audio.md
calculate-metadata.md
can-decode.md
charts.md
compositions.md
display-captions.md
extract-frames.md
fonts.md
get-audio-duration.md
get-video-dimensions.md
get-video-duration.md
gifs.md
images.md
import-srt-captions.md
lottie.md
maps.md
measuring-dom-nodes.md
measuring-text.md
parameters.md
sequencing.md
tailwind.md
text-animations.md
timing.md
transcribe-captions.md
rules/assets/
charts-bar-chart.tsx
text-animations-typewriter.tsx
text-animations-word-highlight.tsx

Details

From the project README

何时使用

当您处理 Remotion 代码时,请使用此技能来获取特定领域的知识和最佳实践。

如何使用

阅读各个规则文件以获取详细说明和代码示例:

核心概念
媒体处理
  • rules/images.md - 使用 Img 组件在 Remotion 中嵌入图像
  • rules/videos.md - 在 Remotion 中嵌入视频 - 修剪、音量、速度、循环、音调
  • rules/audio.md - 在 Remotion 中使用音频和声音 - 导入、修剪、音量、速度、音调
  • rules/gifs.md - 显示与 Remotion 时间轴同步的 GIF
  • rules/assets.md - 将图像、视频、音频和字体导入 Remotion
高级功能
文本和排版
视频处理工具
配置和优化

重要提示

  • 所有动画必须由 useCurrentFrame() 钩子驱动
  • 禁止使用 CSS 过渡或动画 - 它们无法正确渲染
  • 禁止使用 Tailwind 动画类名 - 它们无法正确渲染
  • 使用秒为单位编写动画,并乘以 useVideoConfig() 中的 fps 值

Comments

Markdown supported