Communitygithub.com

josueh04/product-video-skills

Erstelle ein vertontes Produktdemos-Video mit HyperFrames: Bühne (die nachgebaute Produkt-UI im nativen Viewport, skaliert auf 1080p), Kamera, Rack-Fokus mit Schleier, Kapiteltitel, Cursor und Klicks, Tippen, fließender Text, Pop-ups, Toasts, Scrollen, Endbild und Lockup – und die build.py, die jeden Beat an ein Wort der Erzählung verankert.

Was ist product-video-skills?

Diese Skill-Anleitung beschreibt einen vollständigen Workflow zur Erstellung professioneller, vertonter Produktdemos mit HyperFrames. Sie ist für Claude Code, Cursor oder Codex optimiert und basiert auf der Produktionserfahrung, dass herkömmliche Demos oft zu hektisch, zu stark gezoomt oder unsynchronisiert wirken. Die Kernkomponenten sind: eine `video/build.py`-Beat-Tabelle, die jeden visuellen Moment (z. B. Klick, Tippen, Pop-up) exakt an ein Wort der Erzählung heftet, eine `video/src/template.tpl`-Bühne mit nachgebauter UI und GSAP-Timeline sowie eine `video/src/app.css` mit Original-CSS-Werten aus den Spezifikationen. Besonderes Gewicht legt die Anleitung auf eine ruhige Kapitelstruktur mit Fokus, Kamera-Bewegungen von maximal 1,35× Zoom, eine Signaturprüfung vor dem Bau und strenge Lint- sowie Snapshot-Qualitätskontrollen. Der gesamte Workflow ist schrittweise dokumentiert: Briefing lesen, Bildschirme nachbauen, Beats definieren, Entwurf rendern, Snapshot-Prüfung, finale Auslieferung als MP4. Die Skill-Anleitung enthält außerdem klare Begründungen für jede Regel und verweist auf Referenzen für Framing, Timing und UI-Komponenten, die aus konkreten Produktionsvorfällen abgeleitet wurden.

Funktioniert mit✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/josueh04/product-video-skills/tree/HEAD/skills/ui-demo-composer

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

UI-Demo-Komponist

Ein Produktvideo ist hier eine HyperFrames-Komposition, die aus drei Dateien pro Video und einem Kit besteht, das von jedem Video gemeinsam genutzt wird:

DateiWas sie istWer sie bearbeitet
video/build.pyDie Beat-Tabelle T: jede Zeit abgeleitet aus den Wort-TimingsDu
video/src/template.tplDie nachgebaute UI, die Bildschirmebenen und die GSAP-TimelineDu
video/src/app.cssDas Produkt-UI-CSS, Literalwerte aus specs/Du
kit/stage.css, kit/titles.css, kit/stage.jsBühnenebenen und suchsichere HelferDiese Skill
products/<slug>/kit/tokens.css, fonts/, icons/, ui/Die Tokens, Schriften, Icons und geteilten UI-Stücke des Produktsproduct-kit
video/index.htmlVon build.py generiert. Niemals von Hand bearbeitenNiemand

scripts/buildlib.py erledigt den generischen Teil jedes Builds (Timings, das Signatur-Gate, Audio-Tags, Inlining, Platzhalter, Icons, die Kamera-Clampung), sodass build.py eine kurze Liste von Beats bleibt.

Das Bühnenmodell

#root > #stage > #camera > #blurWrap > #app      das Produkt, in App-Pixeln
               > #veil, .pvs-ttl, #endS, #lock, #fade      Bildschirmraum, 1920x1080
  • Die UI wird im nativen Viewport nachgebaut und einmal skaliert. #app ist product.yaml app_canvas.logical CSS-Pixel (z. B. 1440x810), skaliert auf 1920x1080 durch eine Transform. Produktions-CSS behält seine Literalpixel, sodass ein Spezifikationswert unverändert eingefügt wird und jeder Messwert 1:1 mit dem Code verglichen werden kann. Wähle eine Desktop-Breite oberhalb des Breakpoints der App, im 16:9-Format; falls es eine Bildschirmaufzeichnung gibt, verwende deren logische Größe. Eine Leinwand, die nicht 16:9 ist, wird letterboxed (buildlib warnt).
  • Positionen werden gemessen, nie eingetippt. S.box(sel) summiert Offsets bis zu #app nachdem Schriften geladen sind. Wenn sich das CSS ändert, landet der Cursor trotzdem auf dem Button.
  • Der Cursor und der Klick-Ripple sind die letzten Kinder von #app, sodass sie mit dem Produkt skalieren und unscharf werden. Pop-ups (.pvs-modal) und Toasts (.pvs-toast-slot) leben ebenfalls in #app.
  • Nur #camera bewegt sich und nur #blurWrap macht unscharf. Tweene niemals #app oder #stage.

Rahmung: 1x ganze Seite als Standard

Standardmäßig jeder Produkt-Beat auf 1x, ganze Seite, mit Pop-ups in natürlicher Größe und zentriert, wie die App sie zeigt. Push-ins sind sanft (bis zu video.max_zoom, standardmäßig 1,35), halten den gesamten Abschnitt im Rahmen und setzen nie einen Rahmenrand durch ein Label. Ein Rahmen pro Kapitel: führe die Bewegung hinter dem Kapiteltitel aus, während das Produkt unscharf ist, oder als eine einzige langsame Signaturbewegung.

Warum: In der Produktion, aus der diese Skills stammen, wurde ein Einstellungsvideo zweimal wegen Zooms abgelehnt. Ein 1,67x Push-in schnitt Labels in der Hälfte ab („Ich kann nicht erkennen, was passiert“), und spätere Rahmungen von etwa 2x pro Spalte wirkten beengt, selbst wenn nichts abgeschnitten war. Das Video, das der Gutachter als Vorbild nannte, lief die ganze Zeit bei 1x. Eine weit entfernte Leinwand (bei 50 % angezeigt) oder eine schmale Chat-Spalte toleriert mehr: erhöhe max_zoom in product.yaml für dieses Produkt, nicht pro Beat. b.cam() und S.cam() clamben oberhalb von max_zoom und warnen. Details und Zahlen: references/framing-and-pacing.md.

Tempo: Kapitel sind Pausen

  • Öffne im Kontext, niemals mitten in der UI: Logo, Produktname und eine Zeile, was es ist, über dem Produkt unscharf.
  • Jedes Kapitel öffnet mit einem zweifarbigen Titel über dem unscharf gestellten Produkt (Unschärfe plus Schleier), hält mindestens etwa 1,4 s, und der Fokus kehrt kurz vor dem Wort zurück, das die erste Aktion benennt. Bildschirmwechsel erfolgen hinter dem Titel, sodass es keine harten Schnitte gibt.
  • Eine Idee pro Kapitel, eine Änderung nach der anderen, 0,6 bis 1 s Abstand, ein Innehalten von etwa 0,8 s am Ende jedes Kapitels. Echte Wartezeiten des Produkts werden auf 1 oder 2 s komprimiert.
  • Der Endbildschirm zeigt die Breite (was das Produkt sonst noch kann, mit echten UI-Stücken), dann das Lockup.

Warum: Ein dichter One-Take-Cut mit einer Mikro-Aktion alle 0,5 s wirkte für den Macher wie poliert und für den Gutachter wie Rauschen („zu schnell, zu viel auf einmal, überwältigend“); Hinein- und Herauszoomen in den Ergebnissen machte sie unmöglich zu verfolgen. Die ruhige, kapitulierte Version wurde genehmigt.

Jeder Beat ist an ein Wort verankert

b = buildlib.Build(__file__)
T, w, end = b.T, b.w, b.end
T["N2"] = T["ch1"] + 0.3                                  # Platzieren einer Clip-ID platziert diesen Clip
T["rack1"] = T["N2"] + w("N2", "nach") - 0.25            # Fokus kehrt kurz vor „nach“ zurück
T["send1"] = max(T["type1"] + T["type1Dur"] + 0.4, end("N3") + 0.15)
  • w(clip, prefix, nth=1) ist der Start des ersten Wortes, das mit prefix beginnt, relativ zum Clip. Es löst einen Fehler aus, wenn das Wort fehlt (kein stiller Fallback: Ein Fallback, der einen Beat stillschweigend zu einer Standardzeit setzt, führt dazu, dass die Bewegung unbemerkt von der Stimme abdriftet).
  • Ein UI-Ereignis führt das Wort, das es benennt, um 0,05 bis 0,45 s an. max() stellt sowohl die Erzählreihenfolge als auch „die UI ist fertig“ sicher; end(k) ist T[k] plus die Clip-Dauer (oder b.dur(k, d)).
  • Tippgeschwindigkeit ist Zeichen pro Sekunde (etwa 17 bis 21), oder festgelegt, um einen Beat zu passen.
  • Klicks, Tippen und Pop-ups erhalten ihren Ton auf demselben T (b.click(t), b.typing(text, t, dur), b.pop(t)), sodass ein neu getakteter Beat auch seinen Ton bewegt.
  • Das Neugenerieren einer Sprachzeile taktet das gesamte Video neu. Das ist der Sinn.

Warum: Timing hat eine einzige Quelle der Wahrheit. Wenn eine Zeile neu generiert wird, bewegt sich alles, was daran verankert ist, mit; handgetippte Sekunden werden beim ersten Retake ungültig.

Arbeitsablauf

  1. Lese BRIEF.md (Kapitel, Rahmung), COVERAGE.md (was jedes Kapitel auf dem Bildschirm erklären muss), specs/*.md und TRUTH.md. Erfinde keine UI: Ein Bildschirm oder Verhalten ohne Quelle in SOURCES.md oder specs/ bleibt außen vor.
  2. Baue die Bildschirme in src/template.tpl und src/app.css aus den Spezifikationen mit fiktiven Daten aus product.yaml cast wieder. Verwende Produktstücke aus kit/ui/ mit {{UI:name}}, anstatt sie aus einem anderen Video zu kopieren (references/ui-component-library.md).
  3. Schreibe die Beats in build.py und die Timeline in der Vorlage mit den Kit-Helfern (references/stage-kit.md für die API, references/beat-recipes.md für jeden Beat, references/end-screen-and-lockup.md). Folge der suchsicheren Bewegungsskill für jedes Tween.
  4. Baue einen Entwurf und lese die Beat-Tabelle, die er ausgibt:
    PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"
    "$PVS_HOME/bin/pvs-py" <video_dir>/video/build.py --draft
    
    Bevor eine Stimme existiert, erfindet --draft --fake-timings Wort-Timings aus lines.tsv, sodass du Bildschirme anordnen kannst.
  5. Linten und prüfen, von <video_dir>/video/:
    "$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/seek-safe-motion/scripts/lint_motion.py" .
    npx --yes [email protected] check
    
    Erwarte 0 Fehler und 0 Laufzeitwarnungen. Eine Lint-Warnung wird für die monolithische Bühne erwartet: composition_file_too_large (das Kit ist inline). Führe dann die zweite check aus, die der Build ausgibt, check --at <Setup-Beat-Zeiten>: Die Standard-Stichproben landen oft nur auf unscharfen Momenten, bei denen das Kit den Produkttext vor dem Kontrastdurchlauf versteckt (der Text ist absichtlich unscharf), sodass contrast ... checked 0 dort nichts geprüft hat, was ein Zuschauer liest. check allein ist nicht genug: Es bestand ein Video, bei dem sich bewegende Elemente für den größten Teil ihres Pfads unsichtbar waren. Betrachte die Einzelbilder.
  6. Erstelle einen Snapshot von jedem Setup-Beat und betrachte jedes Bild selbst. Markiere sie mit b.snap(t, label) in build.py; der Build gibt den genauen Befehl aus:
    npx --yes [email protected] snapshot . --at 3.2,4.7,9.98 --no-end --describe false -o snapshots/setup
    
    --no-end erfasst nur diese Zeiten; --describe false verhindert das Senden von Einzelbildern an eine externe Vision-API. Überprüfe die Rahmung (nichts an einer Kante abgeschnitten), den Cursor auf seinem Ziel, Pop-ups zentriert in natürlicher Größe, Titel vollständig. --zoom "#toast" --zoom-scale 2 beschneidet ein Element. Um ein verdächtiges Tween zu testen, muss --at <start>,<later> mit --at <later> übereinstimmen.
  7. Rendern. Ein Entwurf zur Überprüfung, dann die Auslieferung, sobald BRIEF.md unterschrieben ist (build.py gibt diese Zeile aus):
    npx --yes [email protected] render . -o renders/<video>-v<k>.mp4 --fps 30 --quality draft
    npx --yes [email protected] render . -o renders/<video>-v<k>.mp4 --fps 30 --quality delivery
    
    Führe dann render-qa auf der MP4 aus. Behalte die MP4 jeder Version.

Das Signatur-Gate

build.py weigert sich zu bauen, bis coverage_signed_by und claims_signed_by in BRIEF.md gesetzt sind (exit 2). --draft baut trotzdem und markiert <meta name="pvs-draft" content="1"> in index.html; QA markiert seinen Bericht als Entwurf und die Auslieferung lehnt ihn ab. Unterschreibe nicht im Namen des Prüfers und entferne das Meta nicht: Ein Entwurf dient zum Ansehen, niemals zum Versand.

Warum: In der Produktion, aus der diese Skills stammen, geschahen 9 von 26 Versionen, weil ein Video keine Funktion erklärte, die dem Prüfer wichtig war, und niemand diese Funktionen vor dem Bau notiert hatte. Das Gate stellt die Vereinbarung an erste Stelle.

Regeln aus Vorfällen

  • Behebe Produktionsfehler, behalte das Aussehen. Behalte Layout, Tokens und Verhalten 1:1, behebe aber sichtbare Mängel der Live-App (fehlende Abstände, überlaufender oder abgeschnittener Text, graue native Steuerelemente, ein nach einem Klick übrig gebliebener Fokusring). Liste jede Behebung in den Notizen von BRIEF.md auf.
  • Zeige, was konfigurierbar ist, wenn das Produkt konfigurierbar ist: Die Einstellungen, nach denen ein Käufer fragen würde, gehören auf den Bildschirm, nicht nur in die Erzählung.
  • Schließe ein Menü einen Frame, bevor du ein Modal darüber öffnest. Ein geöffnetes Dropdown unter einem neuen Dialog hinterließ in einem Rendering Geistertext.
  • Überblende nur den Inhalt des Endbildschirms in das Lockup, behalte seinen Hintergrund, bis das Lockup angezeigt wird. Das Überblenden beider zeigte einen Frame einer scharfen UI dazwischen (S.lockup macht dies).
  • Hover vor dem Klick (hov-Klasse etwa 0,12 s davor), Cursor nach dem ersten Rack hinein und vor dem Endbildschirm heraus.
  • Keine Hersteller- oder verbotenen Namen in UI, Daten oder Erzählung (product.yaml banned_terms, names). Wenn ein echter Bildschirm einen zeigt, halte dieses Stück aus dem Frame und lasse es nie sichtbar leer.
  • Render nicht, um frühzeitig Fortschritt zu zeigen. Iteriere mit Snapshots; rendere erst, wenn die Setup-Beats korrekt aussehen.

Dateien

PfadLies es, wenn
references/stage-kit.mdDu benötigst die Signatur eines Helfers, einen Platzhalter, eine CSS-Variable oder die buildlib-API
references/beat-recipes.mdDu baust einen bestimmten Beat: Eröffnung, Kapitel, Klick, Tippen, Streaming, Pop-up, Dropdown, Toast, Scrollen, Push-in
references/framing-and-pacing.mdDu wählst eine Rahmung oder einen Rhythmus, oder der Prüfer sagt „gezoomt“, „schnell“, „chaotisch“
references/end-screen-and-lockup.mdDu baust das Ende
references/ui-component-library.mdEin UI-Stück wird in mehr als einem Video erscheinen, oder du bist dabei, Markup aus einem anderen Video zu kopieren
scripts/buildlib.pyDu benötigst Verhalten, das die API-Referenz nicht abdeckt
kit/stage.jsDasselbe, für die Timeline-Helfer
PVS_HOME/_template/video/video/Das Beispiel build.py, template.tpl und app.css, von dem jedes neue Video ausgeht

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

josueh04/product-video-skills

Extract, once per product, everything every video of it reuses and write it to kit/ and product.yaml (design tokens, font subsets as woff2, icon subsets as SVG from the product's own icon packages, logos in light, dark and app-tile variants from the repo, a fictional cast proposed once for veto and then frozen, the canonical-names map, pronunciations, banned terms and the read-only tool list). Use it when a product is set up or its kit is missing or incomplete, when a video needs an icon, font or logo that is not in kit/ yet, when someone asks for demo names, fake customers, phone numbers or emails, when a brand word is mispronounced or an old product name shows up, and when checking that demo data is fictional.

josueh04/product-video-skills

Interview the user about a product, then create products/<slug>/ with its own git history, a filled product.yaml and linked skills, fetch its sources and build its kit. Run only when the user types /product-new.

josueh04/product-video-skills

Back every sentence of a video's narration (audio/lines.tsv) and every screen it shows with a citation into the pinned source code (role/path:line@sha) or a docs URL, mark what is visible in the UI versus backend-only, flag restricted or unreleased features, and cut or rewrite anything unbacked; writes the video's TRUTH.md and checks it with truth_check.py. Use it whenever a script or narration is drafted or edited, before voice is generated, before a build, when someone asks "can we say this?", "is this true?", "does the product really do X?", when a reviewer asks for a feature or a claim the product may not support, and when a source document (pitch deck, PRD, marketing page) makes claims the video wants to repeat.

josueh04/product-video-skills

Check a rendered product video before anyone else sees it: worker-pattern flicker, black frames, loudness and true peak, clipping, clicks at clip edges, overlapping narration, speech to text against the script, banned terms and legacy names, camera zoom, contact sheets, frame strips at transitions and parity against the approved version; then write qa/REPORT.json, the only thing deliver.py accepts. Use it after every HyperFrames render, whenever someone asks "is the render clean", "QA this", "check the video", "check the audio", "why does it flicker", "there is a click", "compare v3 with v2", "did the approved part change", or before showing, sending, uploading or delivering any MP4, even when the request does not say QA. Also use it to triage a defect a reviewer reported in a render.

josueh04/product-video-skills

Write a product video's narration and turn it into voice clips with word timings, pronunciation fixes, sound effects and even loudness. The script becomes a table of moments and then audio/lines.tsv (one clip per sentence, with role and speed columns); tts.py voices it with ElevenLabs or the free macOS say voice, maps brand respellings back to the on-screen spelling, normalizes every clip and writes audio/timings.json for the composer; make_sfx.py builds typing tracks from real keystrokes and places recorded click and pop sounds. Use it whenever a video needs a script, narration, voice-over, lines.tsv, timings.json, TTS, a new take, a voice or casting choice, a pronunciation fix ("it says the name wrong"), a changed sentence, a tone note ("too hype", "sounds cut off"), audio levels, a click at the end of a clip, typing or click sounds, or when the build stage asks for the voice. Also use it for silent loops, which still need a moment table and SFX.

josueh04/product-video-skills

The animation rules that keep HyperFrames' parallel render workers from dropping, flashing or flickering elements, plus a static lint (lint_motion.py) that finds the violations in a video's template before it costs a render. Use it whenever you write or edit GSAP tweens, timelines, cursors, camera moves, typing, scrolls or pop-ups in a HyperFrames composition or a video's src/template.tpl, whenever a render shows flicker, stutter, an element that vanishes on some frames, a title that flashes, or a "WORKER PATTERN" line from scan_render.py or qa.py, and whenever the preview looks right but the MP4 does not. Also use it to review someone else's timeline code before rendering.

josueh04/product-video-skills

Pin a product's source code (read-only exports in sources/ plus sources.lock), confirm that the pinned commit is what runs in production, and map every screen of a video brief to its route, components, i18n strings and state, written to the video's SOURCES.md. Use it whenever a video needs to know where a screen lives in the code, when sources/ is missing or stale, before ui-spec-from-code or product-truth start on a video, after the product's frontend changed ("what changed", "which videos are affected", "refresh the sources", "is this checkout current", "which commit is in prod"), and when there is no code and you need an inventory of the no-code references (recordings, recovered captures, docs) a screen can be rebuilt from.

josueh04/product-video-skills

Gather pixel references for UI that the code cannot show, or to check a rebuild against the real thing, using frames and timed OCR text from screen recordings, captures recovered from past Claude Code session transcripts, a local instance of the app built like production, and web research for third-party apps, plus side-by-side parity images and contact sheets. Use it whenever someone hands over a screen recording (.mov or .mp4) of the product, when a screen has no usable source code (a stale checkout, another company's UI such as a sign-in page, calendar or CRM, runtime output from a backend not in the repos), when asked "what does it really look like", "match the recording", "how long does that animation take in the app", "compare our render to the real app", or when screenshots from an earlier session might already exist. Never uses the reviewer's personal browser.

josueh04/product-video-skills

Turn a product's real frontend code into 1:1 rebuild specs for a video, one read-only subagent per screen, each returning static HTML, CSS with every variable resolved to its literal value and cited (role/path:line@sha), every state, transitions with exact durations and easings, icons from the code's own icon sets, and the exact i18n strings; plus resolve_tokens.py to write the product's design tokens to kit/tokens.css. Use it whenever a screen of the product has to appear in a video, when writing or fixing video/src/app.css or the template markup, when someone asks for exact sizes, colors, fonts, paddings, animations or icons of a screen, when a rebuilt screen "looks off" next to the real app, and when the design tokens or theme of a product need extracting. Framework adapters cover Angular with PrimeNG (proven), React, Vue, Tailwind and plain HTML (unproven).

josueh04/product-video-skills

Say where this session stands in the Product Video Skills workbench (setup state, which product and video the current folder belongs to, the stage of every video) and the exact next command to type. Also answers "how do I..." questions about the workbench from its docs.

josueh04/product-video-skills

Coordinate the build of one or more signed videos of the current product with subagents (source recon, product truth, UI specs, voice, one builder per video), re-run QA itself, then deliver. A light coordinator that never builds itself. Run only when the user types /video-build.

josueh04/product-video-skills

Start a new video of the current product - create videos/<video>/, write BRIEF.md, the feature coverage matrix (COVERAGE.md) and the claims sheet (CLAIMS.md), propose chapters, then stop for the reviewer's sign-off. Never builds. Run only when the user types /video-new.

josueh04/product-video-skills

Turn a batch of reviewer feedback on the product's videos into one table per video, fix every video that got notes in parallel (one subagent each) while keeping approved parts, re-run QA and parity, bump versions and deliver. Run only when the user types /video-review.

josueh04/product-video-skills

Check this machine and install the pinned video toolchain of the Product Video Skills workbench (HyperFrames CLI, its rendering Chrome and its agent skills from the same release, the Python environment, the speech model for QA), then run the self-check. Safe to run again. `/video-setup check` only reports.

Verwandte Skills