This turns React components into MP4 videos using Remotion's frame-based animation system. You define videos like compositions, use `useCurrentFrame()` and `interpolate()` for animations, and arrange scenes with `<Sequence>`. It's built for programmatic video generation: batch rendering data visualizations, auto-subtitle tutorials, or syncing 3D animations to AI voiceovers. The skill includes complete TTS integration with MiniMax and Edge TTS, plus a scene-driven architecture where audio files determine timeline durations through a central config. If you've ever manually edited 50 similar videos or wanted to animate algorithmic concepts with code instead of dragging keyframes, this is the approach. Run `npm run dev` to preview in Remotion Studio, then render to video.

skills.sh installs
1.1K
GitHub stars
467
last updated
Aug 21, 2026

Install

$ npx -y skills add wshuyi/remotion-video-skill --skill remotion-video --agent claude-code

Installs into .claude/skills of the current project.

Files

Remotion Video

用 React 以编程方式创建 MP4 视频的框架。

核心概念

  1. Composition - 视频的定义(尺寸、帧率、时长)
  2. useCurrentFrame() - 获取当前帧号,驱动动画
  3. interpolate() - 将帧号映射到任意值(位置、透明度等)
  4. spring() - 物理动画效果
  5. - 时间轴上排列组件

快速开始

创建新项目

npx create-video@latest

选择模板后:

cd <project-name>
npm run dev  # 启动 Remotion Studio 预览

项目结构

my-video/
├── src/
│   ├── Root.tsx           # 注册所有 Composition
│   ├── HelloWorld.tsx     # 视频组件
│   └── index.ts           # 入口
├── public/                # 静态资源(音频、图片)
├── remotion.config.ts     # 配置文件
└── package.json

基础组件示例

最小视频组件

import { AbsoluteFill, useCurrentFrame, useVideoConfig } from "remotion";

export const MyVideo = () => {
  const frame = useCurrentFrame();
  const { fps, durationInFrames } = useVideoConfig();

  return (
    <AbsoluteFill style={{ backgroundColor: "white", justifyContent: "center", alignItems: "center" }}>
      <h1 style={{ fontSize: 100 }}>Frame {frame}</h1>
    </AbsoluteFill>
  );
};

注册 Composition

// Root.tsx
import { Composition } from "remotion";
import { MyVideo } from "./MyVideo";

Sponsors

Details

Repository
github.com/wshuyi/remotion-video-skill
Categories
Frontend Development, Generative Media
First seen
Apr 16, 2026
1kostja94 avatarsocial-share-generatorkostja94/marketing-skillsWhen the user wants to add, optimize, or audit social share buttons (share article to X, LinkedIn, Facebook, etc.). Also use when the user mentions "share butto1.1Kskills.sh installs
2github avatarreact19-concurrent-patternsgithub/awesome-copilotPreserve React 18 concurrent patterns and adopt React 19 APIs (useTransition, useDeferredValue, Suspense, use(), useOptimistic, Actions) during migration.1.1Kskills.sh installs
3niaka3dayo avatarunity-vrc-udon-sharpniaka3dayo/agent-skills-vrc-udonUdonSharp scripting skill for SDK 3.7.1-3.10.4. Use when writing, reviewing, debugging, or migrating UdonSharp C# and UdonBehaviour code. Positive triggers incl1.1Kskills.sh installs
4phaserjs avatarv4-new-featuresphaserjs/phaserUse this skill when learning about new features, game objects, components, and rendering capabilities added in Phaser 4. Covers Filters, RenderNodes, CaptureFra1.1Kskills.sh installs
5asyrafhussin avatarlaravel-owasp-securityasyrafhussin/agent-skillsOWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", 1.1Kskills.sh installs
6niaka3dayo avatarunity-vrc-world-sdk-3niaka3dayo/agent-skills-vrc-udonVRChat World SDK 3 guide for scene and Inspector setup, component placement, optimization, and upload. Use for VRChat world scene configuration, VRC SDK compone1.1Kskills.sh installs