remotion
google-labs-code/stitch-skills
Generate professional walkthrough videos from Stitch designs using Remotion with smooth transitions and overlays
What is remotion?
This skill creates engaging walkthrough videos from Stitch app designs by retrieving screens and orchestrating them into Remotion video compositions. Use it when you need to showcase app flows with professional transitions, zoom effects, and text annotations.
- Retrieve screens and assets from Stitch projects via MCP Server
- Generate modular Remotion video compositions with configurable timing
- Apply professional transition effects (fade, slide, zoom) between screens
- Add text overlays, titles, and feature callouts to highlight UI elements
- Render final videos in multiple formats (MP4, WebM) with quality optimization
- Support interactive hotspots and voiceover integration for enhanced walkthroughs
How to install remotion
npx skills add https://github.com/google-labs-code/stitch-skills --skill remotion- Access to Stitch MCP Server and Remotion MCP Server (or Remotion CLI)
- Node.js and npm installed
- A Stitch project with designed screens ready for export
- Familiarity with Remotion's video composition concepts and React components
How to use remotion
- 1.Discover available MCP servers using list_tools to identify Stitch and Remotion prefixes
- 2.Retrieve target Stitch project ID using list_projects, then list all screens in that project
- 3.Download screen screenshots and metadata (dimensions, titles, descriptions) using get_screen and web_fetch
- 4.Create a screens.json manifest file organizing screens in walkthrough order with durations
- 5.Set up a Remotion project with npm create video@latest or use existing remotion.config.ts
- 6.Generate ScreenSlide.tsx component for individual screen display with zoom and fade animations
- 7.Create WalkthroughComposition.tsx that sequences screens with transitions and text overlays
- 8.Start Remotion Studio with npm run dev to preview and refine timing and animations
Use cases
- Create product demo videos showcasing app design flows and features
- Generate onboarding tutorials that guide users through application screens
- Produce design review presentations with smooth transitions between wireframes
- Build marketing materials demonstrating app functionality to stakeholders
- Document design iterations by creating video walkthroughs of updated screens
- Product designers presenting design systems and user flows
- UX/UI teams creating interactive design documentation
- Product managers building demo videos for stakeholder reviews
- Developers documenting app features through visual walkthroughs
- Design agencies showcasing client work with professional video presentations
remotion FAQ
You need a Stitch project ID (extracted from list_projects output) and access to its screens. The skill will retrieve screen IDs, screenshots, dimensions, and metadata automatically.
Yes. The skill uses @remotion/transitions library supporting fade, slide, and zoom effects. You can adjust spring configurations, easing functions, and timing in the WalkthroughComposition component.
Import audio into Remotion using the <Audio> component and sync screen timing with voiceover pacing. You can generate scripts from screen descriptions and use text-to-speech or record audio separately.
Remotion supports MP4, WebM, and other formats. You can configure quality levels, codecs (h264/h265), and enable parallel rendering for faster output using CLI flags.
Yes. The skill supports creating animated hotspots with pulsing rings and labels using spring animations, and can extract text from Stitch HTML code for dynamic annotations.
Full instructions (SKILL.md)
Source of truth, from google-labs-code/stitch-skills.
name: remotion description: Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays allowed-tools:
- "stitch*:*"
- "remotion*:*"
- "Bash"
- "Read"
- "Write"
- "web_fetch"
Stitch to Remotion Walkthrough Videos
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.
Overview
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.
Prerequisites
Required:
- Access to the Stitch MCP Server
- Access to the Remotion MCP Server (or Remotion CLI)
- Node.js and npm installed
- A Stitch project with designed screens
Recommended:
- Familiarity with Remotion's video capabilities
- Understanding of React components (Remotion uses React)
Retrieval and Networking
Step 1: Discover Available MCP Servers
Run list_tools to identify available MCP servers and their prefixes:
- Stitch MCP: Look for
stitch:ormcp_stitch:prefix - Remotion MCP: Look for
remotion:ormcp_remotion:prefix
Step 2: Retrieve Stitch Project Information
-
Project lookup (if Project ID is not provided):
- Call
[stitch_prefix]:list_projectswithfilter: "view=owned" - Identify target project by title (e.g., "Calculator App")
- Extract Project ID from
namefield (e.g.,projects/13534454087919359824)
- Call
-
Screen retrieval:
- Call
[stitch_prefix]:list_screenswith the project ID (numeric only) - Review screen titles to identify all screens for the walkthrough
- Extract Screen IDs from each screen's
namefield
- Call
-
Screen metadata fetch: For each screen:
- Call
[stitch_prefix]:get_screenwithprojectIdandscreenId - Retrieve:
screenshot.downloadUrl— Visual asset for the videohtmlCode.downloadUrl— Optional: for extracting text/contentwidth,height— Screen dimensions for proper scaling- Screen title and description for text overlays
- Call
-
Asset download:
- Use
web_fetchorBashwithcurlto download screenshots - Save to a staging directory:
assets/screens/{screen-name}.png - Organize assets in order of the intended walkthrough flow
- Use
Step 3: Set Up Remotion Project
-
Check for existing Remotion project:
- Look for
remotion.config.tsorpackage.jsonwith Remotion dependencies - If exists, use the existing project structure
- Look for
-
Create new Remotion project (if needed):
npm create video@latest -- --blank- Choose TypeScript template
- Set up in a dedicated
video/directory
-
Install dependencies:
cd video npm install @remotion/transitions @remotion/animated-emoji
Video Composition Strategy
Architecture
Create a modular Remotion composition with these components:
-
ScreenSlide.tsx— Individual screen display component- Props:
imageSrc,title,description,width,height - Features: Zoom-in animation, fade transitions
- Duration: Configurable (default 3-5 seconds per screen)
- Props:
-
WalkthroughComposition.tsx— Main video composition- Sequences multiple
ScreenSlidecomponents - Handles transitions between screens
- Adds text overlays and annotations
- Sequences multiple
-
config.ts— Video configuration- Frame rate (default: 30 fps)
- Video dimensions (match Stitch screen dimensions or scale appropriately)
- Total duration calculation
Transition Effects
Use 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
- Use
spring()animation for smooth zoom - Apply to important UI elements
- Use
Text Overlays
Add contextual information using Remotion's text rendering:
- Screen titles: Display at the top or bottom of each frame
- Feature callouts: Highlight specific UI elements with animated pointers
- Descriptions: Fade in descriptive text for each screen
- Progress indicator: Show current screen position in walkthrough
Execution Steps
Step 1: Gather Screen Assets
- Identify target Stitch project
- List all screens in the project
- Download screenshots for each screen
- Organize in order of walkthrough flow
- Create a manifest file (
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
}
]
}
Step 2: Generate Remotion Components
Create the video components following Remotion best practices:
-
Create
ScreenSlide.tsx:- Use
useCurrentFrame()andspring()for animations - Implement zoom and fade effects
- Add text overlays with proper timing
- Use
-
Create
WalkthroughComposition.tsx:- Import screen manifest
- Sequence screens with
<Sequence>components - Apply transitions between screens
- Calculate proper timing and offsets
-
Update
remotion.config.ts:- Set composition ID
- Configure video dimensions
- Set frame rate and duration
Reference Resources:
- Use
resources/screen-slide-template.tsxas starting point - Follow
resources/composition-checklist.mdfor completeness - Review examples in
examples/directory
Step 3: Preview and Refine
-
Start Remotion Studio:
npm run dev- Opens browser-based preview
- Allows real-time editing and refinement
-
Adjust timing:
- Ensure each screen has appropriate display duration
- Verify transitions are smooth
- Check text overlay timing
-
Fine-tune animations:
- Adjust spring configurations for zoom effects
- Modify easing functions for transitions
- Ensure text is readable at all times
Step 4: Render Video
-
Render using Remotion CLI:
npx remotion render WalkthroughComposition output.mp4 -
Alternative: Use Remotion MCP (if available):
- Call
[remotion_prefix]:renderwith composition details - Specify output format (MP4, WebM, etc.)
- Call
-
Optimization options:
- Set quality level (
--quality) - Configure codec (
--codec h264orh265) - Enable parallel rendering (
--concurrency)
- Set quality level (
Advanced Features
Interactive Hotspots
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>
);
};
Voiceover Integration
Add narration to the walkthrough:
- Generate voiceover script from screen descriptions
- Use text-to-speech or record audio
- Import audio into Remotion with
<Audio>component - Sync screen timing with voiceover pacing
Dynamic Text Extraction
Extract text from Stitch HTML code for automatic annotations:
- Download
htmlCode.downloadUrlfor each screen - Parse HTML to extract key text elements (headings, buttons, labels)
- Generate automatic callouts for important UI elements
- Add to composition as timed text overlays
File Structure
project/
├── 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
Integration with Remotion Skills
Remotion maintains its own Agent Skills that define best practices. Review these for advanced techniques:
- Repository: https://github.com/remotion-dev/remotion/tree/main/packages/skills
- Installation:
npx skills add remotion-dev/skills
Key Remotion skills to leverage:
- Animation timing and easing
- Composition architecture patterns
- Performance optimization
- Audio synchronization
Common Patterns
Pattern 1: Simple Slide Show
Basic walkthrough with fade transitions:
- 3-5 seconds per screen
- Cross-fade transitions
- Bottom text overlay with screen title
- Progress bar at top
Pattern 2: Feature Highlight
Focus on specific UI elements:
- Zoom into specific regions
- Animated circles/arrows pointing to features
- Slow-motion emphasis on key interactions
- Side-by-side before/after comparisons
Pattern 3: User Flow
Show step-by-step user journey:
- Sequential screen flow with directional slides
- Numbered steps overlay
- Highlight user actions (clicks, taps)
- Connect screens with animated paths
Troubleshooting
| 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 |
Best Practices
- Maintain aspect ratio: Use actual Stitch screen dimensions or scale proportionally
- Consistent timing: Keep screen display duration consistent unless emphasizing specific screens
- Readable text: Ensure sufficient contrast; use appropriate font sizes; avoid cluttered overlays
- Smooth transitions: Use spring animations for natural motion; avoid jarring cuts
- Preview thoroughly: Always preview in Remotion Studio before final render
- Optimize assets: Compress images appropriately; use efficient formats (PNG for UI, JPG for photos)
Example Usage
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:
- List Stitch projects → Find "Calculator App" → Extract project ID
- List screens in project → Identify all screens (Home, History, Settings)
- Download screenshots for each screen → Save to
assets/screens/ - Create
screens.jsonmanifest with screen metadata - Generate Remotion components (
ScreenSlide.tsx,WalkthroughComposition.tsx) - Preview in Remotion Studio → Refine timing and transitions
- Render final video →
calculator-walkthrough.mp4 - Report completion with video preview link
Tips for Success
- Start simple: Begin with basic fade transitions before adding complex animations
- Follow Remotion patterns: Leverage Remotion's official skills and documentation
- Use manifest files: Keep screen data organized in JSON for easy updates
- Preview frequently: Use Remotion Studio to catch issues early
- Consider accessibility: Add captions; ensure text is readable; use clear visuals
- Optimize for platform: Match video dimensions to target platform (YouTube, social media, etc.)
References
- Stitch Documentation: https://stitch.withgoogle.com/docs/
- Remotion Documentation: https://www.remotion.dev/docs/
- Remotion Skills: https://www.remotion.dev/docs/ai/skills
- Remotion MCP: https://www.remotion.dev/docs/ai/mcp
- Remotion Transitions: https://www.remotion.dev/docs/transitions
Related skills
More from google-labs-code/stitch-skills and the wider catalog.
design-md
Analyze Stitch projects and synthesize semantic design systems into DESIGN.md files
react:components
Convert Stitch designs into modular React components with AST validation and Vite integration.
enhance-prompt
Transform vague UI ideas into polished, Stitch-optimized prompts with design system context.
stitch-loop
Autonomous website builder using Stitch with iterative baton-passing loop pattern
shadcn-ui
Expert guidance for integrating and building applications with shadcn/ui components.
stitch-design
Unified design system and high-fidelity UI generation for Stitch projects.