Demo Video
Produce a short PR demo video of a web UI flow: explore unrecorded, replay with 4K capture, edit (zoom, cursor, ripples, captions, optional narration), render…
от melodic-software★ 34 звезды на GitHub
Установить Demo Video в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Demo video for a pull request
A produced demo is a short MP4 (about 12-20 s) that shows the change working: the camera zooms in
on each action, a drawn cursor travels and clicks with a ripple, captions name each step and its
outcome, and page loads are cut out. The pipeline lives in scripts/; every editing decision is
data in an edit-decision list (EDL), so a defect is fixed in the plan, not by hand.
Run every Python script through the launcher, which supplies the hash-locked numpy and Pillow and
never installs. Below, RUN stands for this prefix, written out in full in each command:
python3 "${CLAUDE_SKILL_DIR}/scripts/pydeps.py" run --data-dir "${CLAUDE_PLUGIN_DATA}" -- "${CLAUDE_SKILL_DIR}/scripts/<script>.py" ...
When the packages are missing the launcher exits 2 and prints one install line; show it to the
user and run it after their yes. It needs Python 3.12+, ffmpeg and ffprobe on PATH, and
node with playwright-cli (or playwright-core) for recording; node "${CLAUDE_PLUGIN_ROOT}/lib/prerequisites.mjs" check "${CLAUDE_PLUGIN_ROOT}" covers the
last two.
Settings
The plugin's options set the defaults; a --style argument overrides the style for one run. When
the Saved value column shows a literal ${user_config...} placeholder, nothing is saved for that
option: use its Default.
| Option | Saved value | Default | Effect |
|---|---|---|---|
demo_style |
${user_config.demo_style} |
produced |
produced, or plain: the same replay and cursor with no zoom, captions or title |
demo_title |
${user_config.demo_title} |
true |
title card |
demo_camera |
${user_config.demo_camera} |
true |
zoom and pan |
demo_cursor |
${user_config.demo_cursor} |
true |
drawn pointer |
demo_ripple |
${user_config.demo_ripple} |
true |
click ring |
demo_captions |
${user_config.demo_captions} |
true |
step and outcome captions |
demo_narration |
${user_config.demo_narration} |
false |
voice-over |
Pointer: Reference a saved value.
plain removes the title, camera and captions whatever their toggles say; a toggle set to false
removes its layer in either style. Pass them to build_edl.py as
--style <style> --layers title=<bool>,camera=<bool>,cursor=<bool>,ripple=<bool>,captions=<bool>.
Workflow
- Explore, unrecorded. Drive the flow with
/playwright:playwrightuntil every step works and you know a stable locator for each target. Nothing is recorded here: agent think-time is what makes a raw recording unwatchable. Keep what exploring leaves behind out of the repository:/playwright:playwrightsays where its artifacts land, so run it from<work>or move them into<work>/explore/. When the flow changes stored state (a save, a submit, a setting), explore on a throwaway copy of the app or its data and reset that state before every recording, so each replay starts from the state the demo shows. - Write the replay script. One ES module default-exporting
async (demo) => {}, onedemo.click(...)todemo.settle(...)per step, step ids that key the captions. The API and the example over the bundled fixture: reference/replay-script.md, scripts/fixture/replay.mjs. Writescript.jsonbeside it: title, subtitle, and per stepcaption,outcome(the result the viewer reads once the step lands, on a new page or in place), and the narration lines. A hold that shows an outcome lasts its reading time (captions.seconds_per_word, never undercaptions.min_seconds, inscripts/defaults.json), and quality control lets it stay still that much longer than the stillness limit; a hold with no outcome keeps the limit. - Replay with 4K capture.
node ${CLAUDE_SKILL_DIR}/scripts/record.mjs [--playwright-core DIR] replay.mjs <work>/capture. The viewport is 1920x1080 at device scale 2, so every frame is a 3840x2160 PNG; cursor travel and typing run three times slower than real time and are retimed in post, because device-pixel screenshots arrive at about 4 fps (record.mjsprints the rate of each recording). Capture uses device-pixel screenshots, not Chromium's screencast. Pointer: when weighing the screencast as a capture source, fetch Page.startScreencast live. - Narration (only when
demo_narrationis true). Run/speech:narrate(if enabled) once per line into<work>/audio/<step>/,<work>/audio/<step>.outcome/and, for a typing step,<work>/audio/<step>.results/; each folder getsnarration.wavandwords.json. Without the speech plugin, skip narration and say so. - Build the edit plan. `RUN build_edl.py /capture script.json /edl.json --style ... --layers ... [--audio-dir /aud
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/independent-review.md
- reference/posting.md
- reference/quality-control.md
- reference/replay-script.md
- requirements.in
- requirements.txt
- scripts/build_edl.py
- scripts/defaults.json
- scripts/demo-video.test.sh
- scripts/demo_common.py
- scripts/frame_seek.py
- scripts/media_encode.py
- scripts/produce.py
- scripts/pydeps.py
- scripts/quality_control.py
- scripts/record.mjs
- scripts/ripple_geometry.py
- scripts/test_demo_video.py
FAQ
Что делает скилл Demo Video?
Produce a short PR demo video of a web UI flow: explore unrecorded, replay with 4K capture, edit (zoom, cursor, ripples, captions, optional narration), render H.264 MP4, gate with frame QC and review, and attach to the PR. Use when: 'demo video', 'record a demo of this change', 'make a PR video'. Not for E2E checks: /playwright:playwright.
Как установить скилл Demo Video?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Demo Video запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…