agentleFS
justinwilliamesjustinwilliames/skills/claude-product-demo-video/SKILL.md

claude-product-demo-video

Skill1 starsChanged 5 months agoMITView on GitHub

Turn a shipped code change into a finished, on-brand product demo or release video — 1080p landscape MP4 with narration, music, captions and motion. Trigger on "make a video for this feature", "product demo video", "release video", "announce this integration", "feature launch video", "video changelog", "record a demo of X", "turn this PR into a video", or any request to show a product capability as video rather than write about it. Reads the GitHub repository to learn what actually shipped, reconstructs the product surface as a local interactive HTML demo, drives Chrome through it and records real browser footage, then scores, narrates and renders it. Asks for brand assets — logos, palette, fonts, guidelines, existing imagery — before generating anything. Do NOT use for editing existing footage the user already has, for social clips with no product surface, or for writing release notes as text (that is a writing task).

  • Reads credentials

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Invent capabilities: Every narrated sentence traces to a citation in the feature brief.

    line 33
  2. Distinctive:

    Pass a reconstruction off as production: When product footage comes from a generated demo rather than a real environment, the outro carries …

    line 35
  3. Distinctive:

    Never generate a frame before the brand contract exists: Ask for these, in this order, and say plainly which ones you can proceed without:

    line 43
  4. Distinctive:

    Run the interactive intake, which writes and validates the contract:

    line 57
  5. Very specific:

    Read the brief before continuing.

    line 86
  6. Very specific:

    Prefer url or storybook whenever they are actually available.

    line 118
  7. Very specific:

    Every stage can be re-run alone.

    line 130

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Product demo video

Paths below use {base} as shorthand for this skill's base directory.

Most product teams never ship a release video, and the reason is almost never the editing. It is that making one requires a working environment, a person who knows the feature, a designer who owns the brand, and somebody with Premiere open — four calendars that do not align for a Tuesday integration launch.

This skill removes all four dependencies. It reads what shipped from the repository, builds the product surface it needs, records it, and renders a finished 1080p video with narration, licensed music, captions and motion.

What it produces

A landscape 1920×1080 H.264 MP4, 45–90 seconds, with:

  • narration written from repository evidence and spoken by a TTS voice
  • real browser footage of an interactive product surface, with an eased cursor
  • branded title, feature, stat and outro cards rendered from your design tokens
  • transitions, Ken Burns motion and auto-zoom onto the element being described
  • royalty-free background music, ducked under the voiceover
  • burned-in captions styled from your brand, plus an .srt sidecar
  • an ATTRIBUTION.md naming every licensed asset used

What it will not do

  • Invent capabilities. Every narrated sentence traces to a citation in the feature brief. A thin evidence base produces a shorter video, never a padded one.
  • Pass a reconstruction off as production. When product footage comes from a generated demo rather than a real environment, the outro carries a demo-footage notice by default. Removing it is a deliberate choice the operator makes.
  • Ship unlicensed audio. Music comes from a verified CC0/CC-BY catalogue and attribution is written on every run.

Step 1 — Brand intake, always first

Never generate a frame before the brand contract exists. Ask for these, in this order, and say plainly which ones you can proceed without:

AskNeeded?Used for
Logo files — primary, reversed, icon-onlyYesTitle card, outro, watermark, demo sidebar
Brand colours — primary, background, text, accentYesEvery surface, CTA, caption bar, focus ring
Brand fonts as local files (woff2/ttf) + licenceStrongly preferredAll on-screen type. The renderer is offline; a font it cannot load falls back and the video stops looking like you
Brand guidelines doc or brand-kit URLHelpfulFills the rest of the contract and is recorded for provenance
Existing product imagery, screenshots, illustrationsOptionalasset scenes, backgrounds
A pre-made intro/outro stingOptionalConcatenated verbatim
Voice and tone rules, banned words, forced spellingsOptionalNarration. Product names with unusual casing get mispronounced without this
Existing licensed music libraryOptionalBypasses the catalogue entirely

Run the interactive intake, which writes and validates the contract:

node {base}/scripts/pdv.mjs brand --out brand.json

Anything unanswered falls back to a neutral default and is reported — the skill never silently invents a brand. Cache brand.json per project; the intake is a once-per-product cost, not a once-per-video cost.

A complete worked example lives at {base}/templates/brand.example.json, and the full field reference is {base}/schemas/brand.schema.json.

Step 2 — Discover what actually shipped

The GitHub repository is the source of truth. A local checkout is optional.

node {base}/scripts/pdv.mjs discover \
  --repo acme/webapp \
  --feature "scheduled exports" \
  --out brief.json

Discovery reads releases, the CHANGELOG, merged pull requests and the source files behind them via the gh CLI, and writes a feature-brief.json in which every capability carries a citation. Claims that cannot be cited land in an excluded list with a reason rather than being softened into vague marketing.

Read the brief before continuing. If feature.status says beta and you believed it was GA, the repository is right and you are wrong — check before narrating otherwise.

Step 3 — Storyboard

node {base}/scripts/pdv.mjs storyboard --brief brief.json --brand brand.json --out storyboard.json

Produces the scene graph: title → context → two to four capability scenes → proof → outro, with narration, motion, transitions and a demo spec per capability scene. Read the narration out loud before you render. It is far cheaper to fix a sentence here than after voice, capture and render have all run.

Step 4 — Choose how each product scene is captured

Four ways to get product footage. They compose freely inside one storyboard, and they are ranked by fidelity:

kindFidelityNeedsUse when
urlReal productA reachable environment + credentialsYou have staging or a demo tenant
storybookReal componentsA running StorybookThe repo has one — no auth, no backend
demoReconstructionNothingThe default. Anything else is unavailable
assetSuppliedFiles from the userA designer already made the art

demo is what makes this work on a Tuesday. It generates an interactive HTML reconstruction of the product surface from repo facts — real routes, real field labels, real button copy — serves it on localhost, and drives Chrome through a scripted flow with a synthetic eased cursor while recording frame by frame.

Prefer url or storybook whenever they are actually available. demo is the path that always works, not the best one.

Step 5 — Build

node {base}/scripts/pdv.mjs build --storyboard storyboard.json --install

Runs demo → capture → voice → music → render → qa, skipping any stage whose output is newer than its inputs. --install provisions missing tooling.

Every stage can be re-run alone. Change one line of narration and re-run voice and render; nothing else has to happen again.

Step 6 — The QA gate

qa is a hard gate, not a report. It fails on wrong resolution, a missing or silent audio stream, a fully black frame, a duration that drifts more than 5% from the storyboard, a CC-BY track with no attribution file, or captions below the contrast floor.

QA: PASS

That literal line is the only acceptable evidence that a video is finished. Paste it — do not paraphrase it. If the gate fails, fix the cause; never re-render with the gate skipped.

Then watch the video. The gate proves the file is well-formed, not that the edit is any good. Check: does the zoom land on the thing being described, does the music sit under the voice or fight it, does any caption cover the UI it is describing, does the last frame hold long enough to read.

Narration

ProviderCostLicence postureUse it when
kokoroFree, localApache 2.0, model and output unrestrictedThe default. Kokoro-82M runs on CPU faster than realtime, needs no key, and 28 graded voices ship with it
sayFree, localmacOS voices are not cleared for commercial redistribution everywhereReview cuts and internal videos
elevenlabs / openaiPer characterCheck the provider's termsYou want a specific hosted voice
none——Captions only

Kokoro is optional at install time because it pulls onnxruntime, which is large. scripts/install.sh offers it; the model (~80MB) downloads on first synthesis and is cached afterwards.

Voices are graded by the model's own authors. af_heart is the only A-grade voice (en-us, female); bf_emma is the best en-gb female. Pick with audio.voice.voiceId.

"audio": { "voice": { "provider": "kokoro", "voiceId": "bf_emma", "rateWpm": 160 } }

A hosted provider's key is read from $ELEVENLABS_API_KEY / $OPENAI_API_KEY, or from ~/.elevenlabs_key / ~/.openai_key — so a credential never has to be pasted into whatever is driving the build.

Installation

bash {base}/scripts/install.sh

Idempotent. Installs Node dependencies and Chromium, and offers to install ffmpeg and the gh CLI through the platform package manager — printing each command and waiting for a yes. --check reports without installing. Hard requirements are Node ≥ 20, ffmpeg, ffprobe and Chromium; gh is needed only for discovery, and narration falls back to the macOS built-in voice, then to captions only.

Failure modes worth knowing

SymptomCauseFix
Type looks soft or fuzzyCaptured at 1× and upscaledCapture runs at deviceScaleFactor: 2; check the scene did not override it
Banding across a gradient cardH.264 on large flat fillsThe scene templates carry a 2–3% noise layer for exactly this; do not remove it
Zoom lurchesLinear easing, or too large a scale deltaeaseInOutCubic, and kenBurnsIntensity at or under 0.09 — the schema's ceiling, above which the browser-chrome frame loses its margins
Music drowns the voiceDucking off, or music gain too highaudio.music.duck: true, gain around −18 dB
Narration clipped mid-wordA scene given a fixed durationMs shorter than its VOLeave durationMs unset on narrated scenes and let the measured VO drive timing
Video ends abruptlyNo hold on the outroGive the outro a fixed duration of at least 3 s
Fonts fall backFont files not local, or a CDN URLThe renderer is offline by design; supply local woff2/ttf paths

Files

PathWhat it is
scripts/pdv.mjsCLI — one subcommand per stage
scripts/install.shIdempotent provisioner
scripts/lib/*.mjsOne module per stage
schemas/*.schema.jsonThe three contracts: brand, feature brief, storyboard
templates/scenes/*.htmlBrand-driven scene cards, rendered at 1920×1080
templates/brand.example.jsonA complete worked brand contract
assets/music/CATALOGUE.jsonVerified royalty-free catalogue — URLs only, no committed audio
docs/ARCHITECTURE.mdThe pipeline in depth

Licensed MIT, as part of this repository.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.