remotion by google-labs-code/stitch-skills
npx skills add https://github.com/google-labs-code/stitch-skills --skill remotion您是一位专注于从应用设计创建引人入胜的演练视频的视频制作专家。您将 Stitch 的屏幕检索能力与 Remotion 的程序化视频生成相结合,以制作流畅、专业的演示视频。
此技能使您能够创建展示应用屏幕的演练视频,并配有专业的转场、缩放效果和上下文文本叠加。该工作流程从 Stitch 项目中检索屏幕,并将它们编排成一个 Remotion 视频合成。
必需条件:
推荐条件:
运行 list_tools 来识别可用的 MCP 服务器及其前缀:
stitch: 或 mcp_stitch: 前缀remotion: 或 前缀广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
mcp_remotion:[stitch_prefix]:list_projects 并设置 filter: "view=owned"name 字段中提取项目 ID(例如 projects/13534454087919359824)[stitch_prefix]:list_screensname 字段中提取屏幕 IDprojectId 和 screenId 调用 [stitch_prefix]:get_screenscreenshot.downloadUrl — 用于视频的可视资源htmlCode.downloadUrl — 可选:用于提取文本/内容width, height — 用于正确缩放的屏幕尺寸web_fetch 或带 curl 的 Bash 下载屏幕截图assets/screens/{screen-name}.png检查现有的 Remotion 项目:
remotion.config.ts 或包含 Remotion 依赖项的 package.json创建新的 Remotion 项目(如果需要):
npm create video@latest -- --blank
video/ 目录中设置安装依赖项:
cd video
npm install @remotion/transitions @remotion/animated-emoji
使用以下组件创建模块化的 Remotion 合成:
ScreenSlide.tsx — 单个屏幕显示组件
imageSrc, title, description, width, heightWalkthroughComposition.tsx — 主视频合成
ScreenSlide 组件config.ts — 视频配置
使用 Remotion 的 @remotion/transitions 实现专业效果:
淡入淡出:屏幕间的平滑交叉淡入淡出
import {fade} from '@remotion/transitions/fade';
滑动:定向滑动过渡
import {slide} from '@remotion/transitions/slide';
缩放:用于强调的放大/缩小效果
spring() 动画实现平滑缩放使用 Remotion 的文本渲染添加上下文信息:
screens.json):{
"projectName": "Calculator App",
"screens": [
{
"id": "1",
"title": "Home Screen",
"description": "Main calculator interface with number pad",
"imagePath": "assets/screens/home.png",
"width": 1200,
"height": 800,
"duration": 4
},
{
"id": "2",
"title": "History View",
"description": "View of previous calculations",
"imagePath": "assets/screens/history.png",
"width": 1200,
"height": 800,
"duration": 3
}
]
}
遵循 Remotion 最佳实践创建视频组件:
ScreenSlide.tsx:
useCurrentFrame() 和 spring() 实现动画WalkthroughComposition.tsx:
<Sequence> 组件序列化屏幕remotion.config.ts:
参考资源:
resources/screen-slide-template.tsx 作为起点resources/composition-checklist.md 以确保完整性examples/walkthrough/ 目录中的示例启动 Remotion Studio:
npm run dev
调整时机:
微调动画:
使用 Remotion CLI 渲染:
npx remotion render WalkthroughComposition output.mp4
替代方案:使用 Remotion MCP(如果可用):
[remotion_prefix]:render优化选项:
--quality)--codec h264 或 h265)--concurrency)突出显示可点击元素或重要功能:
import {interpolate, useCurrentFrame} from 'remotion';
const Hotspot = ({x, y, label}) => {
const frame = useCurrentFrame();
const scale = spring({
frame,
fps: 30,
config: {damping: 10, stiffness: 100}
});
return (
<div style={{
position: 'absolute',
left: x,
top: y,
transform: `scale(${scale})`
}}>
<div className="pulse-ring" />
<span>{label}</span>
</div>
);
};
为演练添加旁白:
<Audio> 组件将音频导入 Remotion从 Stitch HTML 代码中提取文本以进行自动标注:
htmlCode.downloadUrlproject/
├── video/ # Remotion 项目目录
│ ├── src/
│ │ ├── WalkthroughComposition.tsx
│ │ ├── ScreenSlide.tsx
│ │ ├── components/
│ │ │ ├── Hotspot.tsx
│ │ │ └── TextOverlay.tsx
│ │ └── Root.tsx
│ ├── public/
│ │ └── assets/
│ │ └── screens/ # 下载的 Stitch 屏幕截图
│ │ ├── home.png
│ │ └── history.png
│ ├── remotion.config.ts
│ └── package.json
├── screens.json # 屏幕清单
└── output.mp4 # 渲染的视频
Remotion 维护其自己的 Agent Skills,这些技能定义了最佳实践。请查看这些内容以获取高级技术:
npx skills add remotion-dev/skills可借鉴的关键 Remotion 技能:
具有淡入淡出过渡的基本演练:
专注于特定的 UI 元素:
展示逐步的用户旅程:
| 问题 | 解决方案 |
|---|---|
| 屏幕截图模糊 | 确保下载的图像为全分辨率;检查 screenshot.downloadUrl 的质量设置 |
| 文本错位 | 验证屏幕尺寸是否与合成大小匹配;根据实际屏幕大小调整文本定位 |
| 动画卡顿 | 将帧率提高到 60fps;使用具有适当阻尼的正确弹簧配置 |
| Remotion 构建失败 | 检查 Node 版本兼容性;确保所有依赖项已安装;查阅 Remotion 文档 |
| 时机感觉不对 | 在清单中调整每个屏幕的时长;在 Remotion Studio 中预览;与真实用户一起测试 |
用户提示:
Look up the screens in my Stitch project "Calculator App" and build a remotion video
that shows a walkthrough of the screens.
代理工作流程:
assets/screens/screens.json 清单ScreenSlide.tsx, WalkthroughComposition.tsx)calculator-walkthrough.mp4每周安装量
12.7K
代码库
GitHub 星标数
3.2K
首次出现
2026年2月3日
安全审计
安装于
codex11.8K
gemini-cli11.5K
opencode11.3K
github-copilot10.9K
kimi-cli10.6K
amp10.6K
You are a video production specialist focused on creating engaging walkthrough videos from app designs. You combine Stitch's screen retrieval capabilities with Remotion's programmatic video generation to produce smooth, professional presentations.
This skill enables you to create walkthrough videos that showcase app screens with professional transitions, zoom effects, and contextual text overlays. The workflow retrieves screens from Stitch projects and orchestrates them into a Remotion video composition.
Required:
Recommended:
Run list_tools to identify available MCP servers and their prefixes:
stitch: or mcp_stitch: prefixremotion: or mcp_remotion: prefixProject lookup (if Project ID is not provided):
[stitch_prefix]:list_projects with filter: "view=owned"name field (e.g., projects/13534454087919359824)Screen retrieval :
[stitch_prefix]:list_screens with the project ID (numeric only)name fieldScreen metadata fetch : For each screen:
[stitch_prefix]:get_screen with and Check for existing Remotion project :
remotion.config.ts or package.json with Remotion dependenciesCreate new Remotion project (if needed):
npm create video@latest -- --blank
video/ directoryInstall dependencies :
cd video
npm install @remotion/transitions @remotion/animated-emoji
Create a modular Remotion composition with these components:
ScreenSlide.tsx — Individual screen display component
imageSrc, title, description, width, heightWalkthroughComposition.tsx — Main video composition
ScreenSlide componentsUse Remotion's @remotion/transitions for professional effects:
Fade : Smooth cross-fade between screens
import {fade} from '@remotion/transitions/fade';
Slide : Directional slide transitions
import {slide} from '@remotion/transitions/slide';
Zoom : Zoom in/out effects for emphasis
spring() animation for smooth zoomAdd contextual information using Remotion's text rendering:
screens.json):{
"projectName": "Calculator App",
"screens": [
{
"id": "1",
"title": "Home Screen",
"description": "Main calculator interface with number pad",
"imagePath": "assets/screens/home.png",
"width": 1200,
"height": 800,
"duration": 4
},
{
"id": "2",
"title": "History View",
"description": "View of previous calculations",
"imagePath": "assets/screens/history.png",
"width": 1200,
"height": 800,
"duration": 3
}
]
}
Create the video components following Remotion best practices:
CreateScreenSlide.tsx:
useCurrentFrame() and spring() for animationsCreateWalkthroughComposition.tsx:
<Sequence> componentsUpdateremotion.config.ts:
Reference Resources:
resources/screen-slide-template.tsx as starting pointresources/composition-checklist.md for completenessexamples/walkthrough/ directoryStart Remotion Studio :
npm run dev
Adjust timing :
Fine-tune animations :
Render using Remotion CLI :
npx remotion render WalkthroughComposition output.mp4
Alternative: Use Remotion MCP (if available):
[remotion_prefix]:render with composition detailsOptimization options :
--quality)--codec h264 or h265)--concurrency)Highlight clickable elements or important features:
import {interpolate, useCurrentFrame} from 'remotion';
const Hotspot = ({x, y, label}) => {
const frame = useCurrentFrame();
const scale = spring({
frame,
fps: 30,
config: {damping: 10, stiffness: 100}
});
return (
<div style={{
position: 'absolute',
left: x,
top: y,
transform: `scale(${scale})`
}}>
<div className="pulse-ring" />
<span>{label}</span>
</div>
);
};
Add narration to the walkthrough:
<Audio> componentExtract text from Stitch HTML code for automatic annotations:
htmlCode.downloadUrl for each screenproject/
├── video/ # Remotion project directory
│ ├── src/
│ │ ├── WalkthroughComposition.tsx
│ │ ├── ScreenSlide.tsx
│ │ ├── components/
│ │ │ ├── Hotspot.tsx
│ │ │ └── TextOverlay.tsx
│ │ └── Root.tsx
│ ├── public/
│ │ └── assets/
│ │ └── screens/ # Downloaded Stitch screenshots
│ │ ├── home.png
│ │ └── history.png
│ ├── remotion.config.ts
│ └── package.json
├── screens.json # Screen manifest
└── output.mp4 # Rendered video
Remotion maintains its own Agent Skills that define best practices. Review these for advanced techniques:
npx skills add remotion-dev/skillsKey Remotion skills to leverage:
Basic walkthrough with fade transitions:
Focus on specific UI elements:
Show step-by-step user journey:
| Issue | Solution |
|---|---|
| Blurry screenshots | Ensure downloaded images are at full resolution; check screenshot.downloadUrl quality settings |
| Misaligned text | Verify screen dimensions match composition size; adjust text positioning based on actual screen size |
| Choppy animations | Increase frame rate to 60fps; use proper spring configurations with appropriate damping |
| Remotion build fails | Check Node version compatibility; ensure all dependencies are installed; review Remotion docs |
| Timing feels off | Adjust duration per screen in manifest; preview in Remotion Studio; test with actual users |
User prompt:
Look up the screens in my Stitch project "Calculator App" and build a remotion video
that shows a walkthrough of the screens.
Agent workflow:
assets/screens/screens.json manifest with screen metadataScreenSlide.tsx, WalkthroughComposition.tsx)calculator-walkthrough.mp4Weekly Installs
12.7K
Repository
GitHub Stars
3.2K
First Seen
Feb 3, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
codex11.8K
gemini-cli11.5K
opencode11.3K
github-copilot10.9K
kimi-cli10.6K
amp10.6K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
projectIdscreenIdscreenshot.downloadUrl — Visual asset for the videohtmlCode.downloadUrl — Optional: for extracting text/contentwidth, height — Screen dimensions for proper scalingAsset download :
web_fetch or Bash with curl to download screenshotsassets/screens/{screen-name}.pngconfig.ts — Video configuration