关于 remotion-best-practices
remotion-best-practices 是面向 Remotion 开发者的参考技能,按规则文件整理视频合成、媒体处理、动画等主题的指导。
主要功能
- 01Remotion 专项规则集合
- 02动画与时间控制指导
- 03媒体导入和播放模式
- 04合成与元数据设置
- 05字幕、图表和转场
- 06Three.js 与地图内容指导
适用场景
- 01制作视频时查找 Remotion 模式
- 02添加并制作字幕或转场动画
- 03管理合成中的媒体资源与音频
- 04动态设置合成属性
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ oldwinter/ skills --skill remotion-best-practices安装后在 Claude Code 中输入/remotion-best-practices确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
rules/3d.mdanimations.mdassets.mdaudio.mdcalculate-metadata.mdcan-decode.mdcharts.mdcompositions.mddisplay-captions.mdextract-frames.mdfonts.mdget-audio-duration.mdget-video-dimensions.mdget-video-duration.mdgifs.mdimages.mdimport-srt-captions.mdlottie.mdmaps.mdmeasuring-dom-nodes.mdmeasuring-text.mdparameters.mdsequencing.mdtailwind.mdtext-animations.mdtiming.mdtranscribe-captions.mdrules/assets/charts-bar-chart.tsxtext-animations-typewriter.tsxtext-animations-word-highlight.tsx详细介绍
适用场景
每当你处理 Remotion 代码时,都应使用这些技能来获取特定领域的知识。
使用方法
阅读各个规则文件,了解详细说明和代码示例:
- rules/3d.md - 使用 Three.js 和 React Three Fiber 在 Remotion 中创建 3D 内容
- rules/animations.md - Remotion 的基础动画技能
- rules/assets.md - 将图像、视频、音频和字体导入 Remotion
- rules/audio.md - 在 Remotion 中使用音频和声音——导入、剪辑、音量、速度、音调
- rules/calculate-metadata.md - 动态设置合成时长、尺寸和 props
- rules/can-decode.md - 使用 Mediabunny 检查浏览器是否能够解码视频
- rules/charts.md - Remotion 中的图表和数据可视化模式
- rules/compositions.md - 定义合成、静帧、文件夹、默认 props 和动态元数据
- rules/display-captions.md - 在 Remotion 中显示字幕,包括 TikTok 风格的页面和单词高亮
- rules/extract-frames.md - 使用 Mediabunny 提取视频中特定时间戳的帧
- rules/fonts.md - 在 Remotion 中加载 Google Fonts 和本地字体
- rules/get-audio-duration.md - 使用 Mediabunny 获取音频文件的时长(秒)
- rules/get-video-dimensions.md - 使用 Mediabunny 获取视频文件的宽度和高度
- rules/get-video-duration.md - 使用 Mediabunny 获取视频文件的时长(秒)
- rules/gifs.md - 在 Remotion 的时间轴上同步显示 GIF
- rules/images.md - 使用 Img 组件在 Remotion 中嵌入图像
- rules/import-srt-captions.md - 使用 @remotion/captions 将 .srt 字幕文件导入 Remotion
- rules/lottie.md - 在 Remotion 中嵌入 Lottie 动画
- rules/measuring-dom-nodes.md - 在 Remotion 中测量 DOM 元素尺寸
- rules/measuring-text.md - 测量文本尺寸、使文本适应容器并检查溢出
- rules/sequencing.md - Remotion 的序列编排模式——延迟、剪辑、限制项目时长
- rules/tailwind.md - 在 Remotion 中使用 TailwindCSS
- rules/text-animations.md - Remotion 的排版和文本动画模式
- rules/timing.md - Remotion 中的插值曲线——线性、缓动、弹簧动画
- rules/transcribe-captions.md - 转录音频以在 Remotion 中生成字幕
- rules/transitions.md - 场景转场模式
- rules/trimming.md - Remotion 的剪辑模式——裁剪动画的开头或结尾
- rules/videos.md - 在 Remotion 中嵌入视频——剪辑、音量、速度、循环、音调
- rules/parameters.md - 添加 Zod schema,使视频可参数化
- rules/maps.md - 使用 Mapbox 添加地图并为其制作动画
评论
支持 Markdown