artubss/SKILLS-CLAUDE-CODE / claude-skills-main/claude-skills-main/plugins/frontend/skills/walkthrough-video
walkthrough-video
VerifiedGenerate professional walkthrough videos from app screenshots or live sites using Remotion. Smooth transitions, zoom effects, text overlays, and optional voiceover narration. Produces MP4 videos for demos, product showcases, or documentation. Triggers: 'walkthrough video', 'demo video', 'product video', 'create a video walkthrough', 'remotion video', 'screen recording', 'app demo', 'showcase video', 'generate video from screenshots'.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.9 KB |
| references/remotion-patterns.md | markdown | 6.5 KB |
references/remotion-patterns.md
View on GitHub# Remotion Patterns Reference
## Project Config Files
### remotion.config.ts
```ts
import { Config } from "@remotion/cli/config";
Config.setVideoImageFormat("jpeg");
Config.setOverwriteOutput(true);
```
### tsconfig.json
```json
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
"outDir": "dist",
"skipLibCheck": true
},
"include": ["src"]
}
```
### package.json scripts
```json
{
"scripts": {
"studio": "remotion studio",
"render": "remotion render Walkthrough output.mp4 --codec h264",
"render:web": "remotion render Walkthrough output.webm --codec vp8",
"render:gif": "remotion render Walkthrough frames/ --image-format png --sequence"
}
}
```
## config.ts — Load Manifest and Calculate Durations
```tsx
import screensData from "../screens.json";
export interface ScreenConfig {
id: string;
title: string;
description: string;
imagePath: string;
durationSeconds: number;
transition: "fade" | "slide-left" | "slide-right" | "slide-up" | "wipe" | "none";
zoomTarget: { x: number; y: number; width: number; height: number; delay: number } | null;
}
export const FPS = screensData.fps || 30;
export const WIDTH = screensData.width || 1280;
export const HEIGHT = screensData.height || 720;
export const screens: ScreenConfig[] = screensData.screens;
const TRANSITION_FRAMES = 15; // frames per transition
export const totalDurationInFrames = screens.reduce(
(total, s) => total + s.durationSeconds * FPS,
0
) + (screens.length > 1 ? (screens.length - 1) * TRANSITION_FRAMES : 0)
+ 90 // intro
+ 120; // outro
```
## Transition Helper
```tsx
import { fade } from "@remotion/transitions/fade";
import { slide } from "@remotion/transitions/slide";
import { wipe } from "@remotion/transitions/wipe";
type TransitionType = "fade" | "slide-left" | "slide-right" | "slide-up" | "wipe" | "none";
export function getTransition(type: TransitionType) {
switch (type) {
case "slide-left":
return slide({ direction: "from-right" });
case "slide-right":
return slide({ direction: "from-left" });
case "slide-up":
return slide({ direction: "from-bottom" });
case "wipe":
return wipe({ direction: "from-left" });
case "fade":
default:
return fade();
}
}
```
## Title Card Component
```tsx
import { AbsoluteFill, spring, useCurrentFrame, useVideoConfig } from "remotion";
interface TitleCardProps {
projectName: string;
tagline?: string;
backgroundColor?: string;
}
export const TitleCard: React.FC<TitleCardProps> = ({
projectName,
tagline,
backgroundColor = "#0f172a",
}) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const titleOpacity = spring({ frame, fps, config: { damping: 20 } });
const taglineOpacity = spring({ frame: frame - 20, fps, config: { damping: 20 } });
return (
<AbsoluteFill
style={{
backgroundColor,
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<h1
style={{
color: "#fff",
fontSize: 56,
fontWeight: 800,
fontFamily: "Inter, system-ui, sans-serif",
opacity: titleOpacity,
transform: `translateY(${(1 - titleOpacity) * 20}px)`,
}}
>
{projectName}
</h1>
{tagline && (
<p
style={{
color: "#94a3b8",
fontSize: 24,
fontWeight: 400,
marginTop: 16,
opacity: taglineOpacity,
}}
>
{tagline}
</p>
)}
</AbsoluteFill>
);
};
```
## CTA Card Component
```tsx
import { AbsoluteFill, spring, useCurrentFrame, useVideoConfig } from "remotion";
interface CtaCardProps {
text: string;
url: string;
backgroundColor?: string;
}
export const CtaCard: React.FC<CtaCardProps> = ({
text,
url,
backgroundColor = "#0f172a",
}) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const opacity = spring({ frame, fps, config: { damping: 20 } });
return (
<AbsoluteFill
style={{
backgroundColor,
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
gap: 24,
}}
>
<p
style={{
color: "#fff",
fontSize: 40,
fontWeight: 700,
opacity,
}}
>
{text}
</p>
<p
style={{
color: "#3b82f6",
fontSize: 28,
fontWeight: 500,
opacity: spring({ frame: frame - 15, fps }),
}}
>
{url}
</p>
</AbsoluteFill>
);
};
```
## Progress Bar Component
```tsx
import { useCurrentFrame, useVideoConfig, interpolate } from "remotion";
interface ProgressBarProps {
totalScreens: number;
currentScreen: number;
color?: string;
}
export const ProgressBar: React.FC<ProgressBarProps> = ({
totalScreens,
currentScreen,
color = "#3b82f6",
}) => {
const progress = (currentScreen + 1) / totalScreens;
return (
<div
style={{
position: "absolute",
bottom: 0,
left: 0,
right: 0,
height: 4,
backgroundColor: "rgba(255,255,255,0.1)",
}}
>
<div
style={{
height: "100%",
width: `${progress * 100}%`,
backgroundColor: color,
transition: "width 0.3s ease",
}}
/>
</div>
);
};
```
## GIF Conversion (Post-Render)
For short walkthrough GIFs (social media, README):
```bash
# Render as PNG sequence first
npx remotion render Walkthrough frames/ --image-format png --sequence
# Convert to GIF with ffmpeg (good quality, reasonable size)
ffmpeg -framerate 30 -i frames/frame%d.png -vf "fps=15,scale=640:-1:flags=lanczos" -loop 0 walkthrough.gif
# Or use gifski for better quality (install: brew install gifski)
gifski --fps 15 --width 640 -o walkthrough.gif frames/frame*.png
```
## Video Dimensions by Platform
| Platform | Dimensions | Aspect | Notes |
|----------|-----------|--------|-------|
| YouTube / general | 1920x1080 | 16:9 | Standard HD |
| Web embed | 1280x720 | 16:9 | Good balance of quality/size |
| Twitter/X | 1280x720 | 16:9 | Max 2:20 length |
| LinkedIn | 1920x1080 | 16:9 | Max 10 min |
| Instagram feed | 1080x1080 | 1:1 | Square format |
| Instagram stories | 1080x1920 | 9:16 | Vertical |
| Mobile demo | 390x844 | ~9:19.5 | iPhone viewport |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file). | Stars: 198k | Updated | Claude CodeCodex | Unverified | Install |
| doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |