Skip to content
Back to skills

React Video

ASecurity

Generate professional knowledge videos or custom React videos using Playwright and ffmpeg

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 19, 2026
content-marketinggobashreactnode

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned October 19, 2026

npx -y skills add AIPMAndy/Andy-Video-Skill --skill react-video --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Video?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Video
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aipmandy-react-video/badge)](https://www.skillsdirectory.com/skills/aipmandy-react-video)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-video
description: Generate professional knowledge videos or custom React videos using Playwright and ffmpeg
trigger: When user wants to create educational videos, tech tutorials, or render React components as video
---

# React Video Renderer Skill

This skill helps you generate MP4 videos from React code. It supports two modes:

1. **Knowledge Video Generator** - Create professional educational videos from structured config (Apple-style design)
2. **Custom React Code** - Render any React component as video

## Usage

```
/react-video [options]
```

## Options

- `--width <number>` - Output video width (default: 2400)
- `--height <number>` - Output video height (default: 3200)
- `--duration <seconds>` - Video duration in seconds (auto-detected if not specified)
- `--output <path>` - Output file path (default: ./output/video/react-video.mp4)
- `--audio <path>` - Optional audio file to merge with video
- `--code <file>` - React component file to render (default: App.jsx)
- `--config <file>` - Knowledge video config file (JSON)
- `--template <name>` - Use built-in template: "knowledge" (default: custom)

## Mode 1: Knowledge Video Generator (NEW!)

Create professional educational videos with Apple-style design. Perfect for:
- Tech project introductions
- Tutorial videos
- Product demos
- Course content

### Quick Start

```bash
/react-video --template knowledge --config my-config.json
```

### Config Structure

```json
{
  "themeColor": "indigo",
  "project": {
    "name": "Project Name",
    "stars": "162k+",
    "courseNumber": "第 340 课",
    "category": "AI 基础设施"
  },
  "steps": [
    {
      "type": "cover",
      "title": "Main Title",
      "subtitle": "Subtitle",
      "script": "Narration text..."
    },
    {
      "type": "pain_point",
      "title": "Problem Statement",
      "visualizer": { ... }
    },
    {
      "type": "feature",
      "title": "Solution",
      "visualizer": { ... }
    },
    {
      "type": "golden_sentence",
      "quote": "Inspirational quote"
    },
    {
      "type": "summary",
      "points": [ ... ]
    }
  ]
}
```

### Step Types

- **cover** - Opening slide with project info
- **pain_point** - Highlight problems/challenges
- **feature** - Showcase solutions/features
- **golden_sentence** - Philosophical insight
- **summary** - Recap key points

### Examples

See `knowledge-video-config.example.json` and `knowledge-video-config-firecrawl.example.json` for complete examples.

## Mode 2: Custom React Code

Render any React component as video (original functionality).

```bash
/react-video --code MyComponent.jsx --width 1920 --height 1080
```

## How it works

1. Creates a temporary Vite project with your React code
2. Starts a dev server
3. Uses Playwright to record the browser rendering
4. Transcodes the recording to MP4 with ffmpeg
5. Optionally merges audio track

## Requirements

- Node.js and npm
- ffmpeg installed on system
- Playwright will be installed automatically

## Interactive Mode

Just run `/react-video` and the skill will guide you through:
1. Choosing between knowledge video or custom code
2. Providing necessary configuration
3. Generating the video

Files in this skill

  • KNOWLEDGE_VIDEO_GUIDE.md6.1 KB
  • OPTIMIZATION_SUMMARY.md7.3 KB
  • README_KNOWLEDGE_VIDEO.md4.2 KB
  • prompt.md3.6 KB
  • scripts/build_timed_audio.py13.6 KB
  • scripts/generate_edge_voiceover.py4.6 KB
  • scripts/render_knowledge_video.py13.8 KB
  • skill.md3.1 KB
  • template/index.html307 B
  • template/knowledge-video-config-firecrawl.example.json5.5 KB
  • template/knowledge-video-config.example.json5.4 KB
  • template/package-lock.json66.7 KB
  • template/package.json536 B
  • template/postcss.config.js80 B
  • template/scripts/create-config.mjs6 KB
  • template/scripts/render-video.mjs5.3 KB
  • template/src/index.css407 B
  • template/src/knowledge-video-generator-clean.jsx12.7 KB
  • template/src/knowledge-video-generator.jsx25.9 KB
  • template/src/knowledge-video-generator.jsx.backup25.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.