Command Palette

Search for a command to run...

Назад к скиллам
скилл № 26530

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от 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

  1. Explore, unrecorded. Drive the flow with /playwright:playwright until 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:playwright says 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.
  2. Write the replay script. One ES module default-exporting async (demo) => {}, one demo.click(...) to demo.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. Write script.json beside it: title, subtitle, and per step caption, 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 under captions.min_seconds, in scripts/defaults.json), and quality control lets it stay still that much longer than the stillness limit; a hold with no outcome keeps the limit.
  3. 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.mjs prints 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.
  4. Narration (only when demo_narration is 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 gets narration.wav and words.json. Without the speech plugin, skip narration and say so.
  5. Build the edit plan. `RUN build_edl.py /capture script.json /edl.json --style ... --layers ... [--audio-dir /aud
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Demo Video с