← ClaudeAtlas

playwright-demo-videolisted

Generate polished demo videos (MP4) from Playwright specs with AI voiceover, captions, and music. Use when the user says "demo video", "playwright demo", "generate demo", "caption extraction", "voiceover pipeline", "freeze frame merge", or "auto-discover demo" — or wants to: create demo videos for web projects, extract captions from Playwright specs, generate TTS voiceover with ElevenLabs, merge video with freeze-frame timing, add background music, or auto-discover project features to generate demo specs.
jackzhaojin/ai-builder-kit · ★ 1 · Code & Development · score 67
Install: claude install-skill jackzhaojin/ai-builder-kit
# Playwright Demo Video Skill Generate end-to-end demo videos (MP4) from Playwright specs with on-screen captions, AI voiceover (ElevenLabs), freeze-frame timing, and background music. ## When to Use - User says "create a demo video", "generate a demo", "playwright demo" - User wants to convert a Playwright spec into a narrated video - User wants to add voiceover to an existing video recording - User wants to auto-discover project features and generate a demo spec - User wants to extract captions from a Playwright test file ## Prerequisites | Tool | Purpose | Install | |------|---------|---------| | ffmpeg + ffprobe | Video/audio processing | `brew install ffmpeg` | | Node.js 18+ | Pipeline scripts (native fetch) | Required for Playwright | | Playwright | Video recording | In target project | | ElevenLabs API key | TTS voice generation | `ELEVENLABS_API_KEY` in `.env` | ## Quick Start One command records the spec, captures exact timestamps, generates voiceover, and merges the final MP4: ```bash node scripts/run-pipeline.mjs \ --record \ --spec path/to/demo.spec.ts \ --grep "Exact Test Title Here" \ --music path/to/background.mp3 \ --output-dir ./demo-output \ --project-dir /path/to/web-project ``` Two non-negotiables before running it: 1. The spec calls `startTimestampRecording()` as its first line (exact video-audio sync) 2. `--grep` matches exactly ONE test (see Multiple `@demo` Specs below) ## Data-First Approach (MANDATORY) **You cannot narrate what