remotion by digitalsamba/claude-code-video-toolkit
npx skills add https://github.com/digitalsamba/claude-code-video-toolkit --skill remotionRemotion 核心知识位于
.claude/skills/remotion-official/目录下(从官方 remotion-dev/skills 仓库同步)。本文档仅涵盖工具包特定的模式。
可复用的视频组件位于 lib/components/ 目录中。在模板中通过以下方式导入:
import { AnimatedBackground, SlideTransition, Label } from '../../../../lib/components';
| 组件 | 用途 |
|---|---|
AnimatedBackground | 浮动形状背景(变体:subtle、tech、warm、dark) |
SlideTransition |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 场景过渡效果(fade、zoom、slide-up、blur-fade) |
Label | 浮动标签徽章,可选 JIRA 引用 |
Vignette | 电影边缘暗化叠加层 |
LogoWatermark | 角落徽标品牌标识 |
SplitScreen | 并排视频比较 |
NarratorPiP | 画中画演示者叠加层 |
Envelope | 带打开翻盖动画的 3D 信封 |
PointingHand | 带滑入和脉动效果的动画手形表情 |
MazeDecoration | 用于角落的动画等距网格装饰 |
工具包在 lib/transitions/ 目录中包含一个过渡效果库,提供了超越官方 @remotion/transitions 包的场景间效果。
import { TransitionSeries, linearTiming } from '@remotion/transitions';
// 从 lib 目录导入自定义过渡效果(根据你的项目位置调整路径)
import { glitch, lightLeak, clockWipe, checkerboard } from '../../../../lib/transitions';
// 或者从 @remotion/transitions 导入官方过渡效果
import { slide, fade } from '@remotion/transitions/slide';
<TransitionSeries>
<TransitionSeries.Sequence durationInFrames={90}>
<TitleSlide />
</TransitionSeries.Sequence>
<TransitionSeries.Transition
presentation={glitch({ intensity: 0.8 })}
timing={linearTiming({ durationInFrames: 30 })}
/>
<TransitionSeries.Sequence durationInFrames={120}>
<ContentSlide />
</TransitionSeries.Sequence>
</TransitionSeries>
| 过渡效果 | 选项 | 最佳适用场景 |
|---|---|---|
glitch() | intensity, slices, rgbShift | 技术演示、前卫揭示、赛博朋克 |
rgbSplit() | direction, displacement | 现代科技、充满活力的过渡 |
zoomBlur() | direction, blurAmount | 行动号召、高能时刻、冲击力 |
lightLeak() | temperature, direction | 庆祝、电影美学、温馨时刻 |
clockWipe() | startAngle, direction, segments | 时间相关内容、有趣的揭示 |
pixelate() | maxBlockSize, gridSize, scanlines, glitchArtifacts, randomness | 复古/游戏、数字变换 |
checkerboard() | gridSize, pattern, stagger, squareAnimation | 有趣的揭示、结构化过渡 |
棋盘格图案: sequential, random, diagonal, alternating, spiral, rows, columns, center-out, corners-in
// 科技/赛博朋克感
glitch({ intensity: 0.8, slices: 8, rgbShift: true })
// 温馨庆祝
lightLeak({ temperature: 'warm', direction: 'right' })
// 高能缩放
zoomBlur({ direction: 'in', blurAmount: 20 })
// 色差效果
rgbSplit({ direction: 'diagonal', displacement: 30 })
// 时钟扫掠揭示
clockWipe({ direction: 'clockwise', startAngle: 0 })
// 复古像素化
pixelate({ maxBlockSize: 50, glitchArtifacts: true })
// 棋盘格图案
checkerboard({ pattern: 'diagonal', gridSize: 8 })
checkerboard({ pattern: 'spiral', gridSize: 10 })
checkerboard({ pattern: 'center-out', squareAnimation: 'scale' })
| 类型 | 帧数 | 备注 |
|---|---|---|
| 快速切换 | 15-20 | 快速、有力 |
| 标准 | 30-45 | 最常见 |
| 戏剧性 | 50-60 | 缓慢揭示 |
| 故障效果 | 20-30 | 应感觉突然 |
| 漏光效果 | 45-60 | 需要时间扫过 |
运行展示画廊以查看所有过渡效果:
cd showcase/transitions && npm run studio
extrapolateRight: 'clamp' 以防止数值失控<Video>public/ 文件夹中的文件| 场景类型 | 时长 | 备注 |
|---|---|---|
| 标题 | 3-5秒 (90-150帧) | 徽标 + 标题 |
| 概述 | 10-20秒 | 3-5 个要点 |
| 演示 | 10-30秒 | 调整 playbackRate 以适应 |
| 统计数据 | 8-12秒 | 3-4 个统计卡片 |
| 致谢 | 5-10秒 | 快速淡出 |
节奏: 旁白约每分钟 150 词。旁白驱动时间安排。
有关所有钩子、组件、渲染器、Lambda 和 Player API 的详细 API 文档,请参阅 reference.md。
Remotion 拥有特殊许可证。公司可能需要获取商业使用许可证。请查看 https://remotion.dev/license
如果此技能缺少信息或可以改进:
只需说"improve this skill",我将指导你更新 .claude/skills/remotion/SKILL.md。
每周安装数
78
代码仓库
GitHub 星标数
108
首次出现
2026年1月23日
安全审计
安装于
opencode69
claude-code66
gemini-cli63
codex61
github-copilot60
cursor60
Core Remotion knowledge lives in
.claude/skills/remotion-official/(synced from the official remotion-dev/skills repo). This file covers toolkit-specific patterns only.
Reusable video components in lib/components/. Import in templates via:
import { AnimatedBackground, SlideTransition, Label } from '../../../../lib/components';
| Component | Purpose |
|---|---|
AnimatedBackground | Floating shapes background (variants: subtle, tech, warm, dark) |
SlideTransition | Scene transitions (fade, zoom, slide-up, blur-fade) |
Label | Floating label badge with optional JIRA reference |
Vignette | Cinematic edge darkening overlay |
LogoWatermark | Corner logo branding |
SplitScreen | Side-by-side video comparison |
NarratorPiP | Picture-in-picture presenter overlay |
Envelope | 3D envelope with opening flap animation |
PointingHand | Animated hand emoji with slide-in and pulse |
MazeDecoration | Animated isometric grid decoration for corners |
The toolkit includes a transitions library at lib/transitions/ for scene-to-scene effects beyond the official @remotion/transitions package.
import { TransitionSeries, linearTiming } from '@remotion/transitions';
// Import custom transitions from lib (adjust path based on your project location)
import { glitch, lightLeak, clockWipe, checkerboard } from '../../../../lib/transitions';
// Or import from @remotion/transitions for official ones
import { slide, fade } from '@remotion/transitions/slide';
<TransitionSeries>
<TransitionSeries.Sequence durationInFrames={90}>
<TitleSlide />
</TransitionSeries.Sequence>
<TransitionSeries.Transition
presentation={glitch({ intensity: 0.8 })}
timing={linearTiming({ durationInFrames: 30 })}
/>
<TransitionSeries.Sequence durationInFrames={120}>
<ContentSlide />
</TransitionSeries.Sequence>
</TransitionSeries>
| Transition | Options | Best For |
|---|---|---|
glitch() | intensity, slices, rgbShift | Tech demos, edgy reveals, cyberpunk |
rgbSplit() | direction, displacement | Modern tech, energetic transitions |
zoomBlur() |
Checkerboard patterns: sequential, random, diagonal, alternating, spiral, rows, columns, center-out, corners-in
// Tech/cyberpunk feel
glitch({ intensity: 0.8, slices: 8, rgbShift: true })
// Warm celebration
lightLeak({ temperature: 'warm', direction: 'right' })
// High energy zoom
zoomBlur({ direction: 'in', blurAmount: 20 })
// Chromatic aberration
rgbSplit({ direction: 'diagonal', displacement: 30 })
// Clock sweep reveal
clockWipe({ direction: 'clockwise', startAngle: 0 })
// Retro pixelation
pixelate({ maxBlockSize: 50, glitchArtifacts: true })
// Checkerboard patterns
checkerboard({ pattern: 'diagonal', gridSize: 8 })
checkerboard({ pattern: 'spiral', gridSize: 10 })
checkerboard({ pattern: 'center-out', squareAnimation: 'scale' })
| Type | Frames | Notes |
|---|---|---|
| Quick cut | 15-20 | Fast, punchy |
| Standard | 30-45 | Most common |
| Dramatic | 50-60 | Slow reveals |
| Glitch effects | 20-30 | Should feel sudden |
| Light leak | 45-60 | Needs time to sweep |
Run the showcase gallery to see all transitions:
cd showcase/transitions && npm run studio
extrapolateRight: 'clamp' to prevent runaway values<Video> for complex compositionspublic/ folder correctly| Scene Type | Duration | Notes |
|---|---|---|
| Title | 3-5s (90-150f) | Logo + headline |
| Overview | 10-20s | 3-5 bullet points |
| Demo | 10-30s | Adjust playbackRate to fit |
| Stats | 8-12s | 3-4 stat cards |
| Credits | 5-10s | Quick fade |
Pacing: ~150 words/minute for voiceover. Voiceover drives timing.
For detailed API documentation on all hooks, components, renderer, Lambda, and Player APIs, see reference.md.
Remotion has a special license. Companies may need to obtain a license for commercial use. Check https://remotion.dev/license
If this skill is missing information or could be improved:
Just say "improve this skill" and I'll guide you through updating .claude/skills/remotion/SKILL.md.
Weekly Installs
78
Repository
GitHub Stars
108
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode69
claude-code66
gemini-cli63
codex61
github-copilot60
cursor60
内容引擎:AI驱动的内容创作与多平台分发工具,实现高效内容再利用与原生适配
1,400 周安装
direction, blurAmount |
| CTAs, high-energy moments, impact |
lightLeak() | temperature, direction | Celebrations, film aesthetic, warm moments |
clockWipe() | startAngle, direction, segments | Time-related content, playful reveals |
pixelate() | maxBlockSize, gridSize, scanlines, glitchArtifacts, randomness | Retro/gaming, digital transformations |
checkerboard() | gridSize, pattern, stagger, squareAnimation | Playful reveals, structured transitions |