Communitygithub.com

josueh04/product-video-skills

マシンをチェックし、Product Video Skills ワークベンチの固定バージョンのビデオツールチェーン(HyperFrames CLI、そのレンダリング用Chrome、同じリリースのエージェントスキル、Python環境、QA用音声モデル)をインストールしてからセルフチェックを実行します。再実行しても安全です。`/video-setup check` はレポートのみ行います。

product-video-skills とは?

このスキルは、Product Video Skills ワークベンチのセットアップと診断を一元管理します。ユーザーのマシンをチェックし、不足しているツールチェーン(HyperFrames CLI、Chrome、Python、音声モデルなど)を特定して、ユーザーの承認を得た上でインストールを実行します。Claude Code と Cursor で動作し、`SKILL.md` に基づいて段階的な指示を提供します。セットアップ後は自動チェックを実行し、すべてのテストが合格することを確認します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/josueh04/product-video-skills/tree/HEAD/skills/video-setup

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

/video-setup

フレッシュクローンから passed N, failed 0 の状態までをワンステップで実現します。setup.sh が作業を行います。あなたの役割は、それを説明し、了解を得て実行し、すべての FAIL 行を修正に変えることです。

まずワークベンチを見つけます(ワークベンチ内および製品フォルダから動作します):

PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"

ユーザーの言語で話しかけてください。簡潔に:ユーザーが求めているのは動作するセットアップであり、ツアーではありません。

引数 check の場合

bash "$PVS_HOME/setup.sh" --check を実行し、結果を表示します。インストールもダウンロードも書き込みも行いません。各 FAIL 行について、その修正方法を示します(行の末尾に修正方法が記載されています)。そこで停止します。

それ以外の場合

1. マシンを報告する

最初に bash "$PVS_HOME/setup.sh" --check を実行します。アイテムごとに1行ずつ出力されます:ok、warn、または FAIL と正確な修正方法が記載されています。

  • Machine 配下の行が失敗した場合(node 22+、python 3.9+、ffmpeg、git)、セットアップを続行できません。行に記載されている修正方法(例:brew install ffmpeg)をユーザーに伝え、ユーザーのターミナルで実行してもらい、再度チェックを実行するよう依頼してください。システムパッケージのインストールはユーザーの責任であるため、ユーザーが依頼しない限り、brew や apt を自分で実行しないでください。
  • Claude Code の warn は情報提供です。
  • Toolchain 配下の FAIL 行は、setup がインストールするものです。初回実行時はこれは想定内です。

2. ダウンロードされるものを説明し、一度だけ尋ねる

チェックで不足していると報告されたものだけを、簡潔なリストでユーザーに伝えます:

ピースサイズ保存場所
固定バージョンの HyperFrames CLI とその依存関係約 128 MBnode_modules/
HyperFrames がレンダリングに使用する Chrome ビルド約 195 MB(キャッシュされている場合はスキップ)HyperFrames キャッシュ
同じリリースタグの HyperFrames エージェントスキル数 MBvendor/hyperframes/skills/
Python パッケージ(主に音声認識用 torch)約 339 MB.venv/
QA が使用する whisper small.en 音声モデル484 MB~/.cache/whisper/

閉じた質問を1つ行います:「これらを今インストールしますか?(はい / いいえ)」セットアップは最初の /video-setup からワンステップで完了する必要があるため、複数の確認に分割しないでください。

3. 実行する

「はい」の場合、bash "$PVS_HOME/setup.sh" --yes を実行します(--yes はユーザーの回答であり、すでに与えられています)。初回実行時は数分かかり、すべてがキャッシュされている場合は数秒で完了します。タイムアウトは最低10分に設定してください。これは冪等です:再度実行しても、不足しているものだけが再実行されます。

4. 各 FAIL を処理する

各 FAIL 行にはその修正方法が記載されています。一般的なもの:

FAIL対処方法
npm install failedネットワークまたはレジストリの問題。ログの最後の数行を表示し、setup を再実行します
hyperframes browser ensure failedワークベンチから npx hyperframes browser ensure --force を実行し、その後 setup を再実行します
could not clone heygen-com/hyperframesネットワークまたは GitHub アクセスの問題。git ls-remote https://github.com/heygen-com/hyperframes を確認し、その後 setup を再実行します
python3 -m venv failedDebian または Ubuntu の場合:sudo apt install python3-venv(ユーザーが実行します)
pip install -r requirements.txt failedログの末尾を表示します。ピン留めよりも新しい Python では新しい wheel が必要になる場合があります。その場合は、ピンを編集するのではなく報告してください
hyperframes doctor: ...行に失敗したチェックとその修正方法が記載されています。バージョン、Docker、およびオプションのローカル音声と音楽チェックは意図的に無視されます
tests/run.sh: passed N, failed Mbash "$PVS_HOME/tests/run.sh" を実行し、失敗したテストとその出力を表示します

hyperframes upgrade や hyperframes skills update を実行して FAIL を「修正」しないでください。ワークベンチは 1 つの HyperFrames リリースを固定し、同じタグからスキルを取得します。異なるリリースの CLI とスキルは構成契約について一致しないためです。バージョン変更は tests/run.sh に合格するプルリクエストです。ガードフックはどちらのコマンドもブロックします。

5. 音声キー

セットアップは .env.example から .env を作成し、ElevenLabs キーが設定されているかどうかを、表示せずに通知します。空の場合は、ユーザーに次のように伝えます:

  • 自分のエディタで .env(ワークベンチフォルダ内)を開き、ELEVENLABS_API_KEY= の後にキーを貼り付けます。チャット内では絶対に行わないでください。チャット内のすべてはトランスクリプトに保存されます。もしユーザーがここに貼り付けてしまった場合は、ローテーションするように伝えてください。
  • キーがない場合、製品の product.yaml 内の voice.provider: say は無料の macOS 音声を使用します。これはドラフトやテストには十分です。

.env を自分で開いたり、読んだり、表示したりしないでください。設定により拒否され、ガードフックによってブロックされます。スクリプトは lib/pvs.py を通じて自分でキーを読み込みます。

6. 完了

出力の最後の行に passed N, failed 0 と Setup done が含まれていることを確認します。次に、次の手順を一行で示します:製品を追加するには /product-new <slug>、状況を確認するには /video-ask。

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

Compose a narrated product demo in HyperFrames: the stage (the product UI rebuilt at its real viewport and scaled to 1080p, camera, rack focus with veil, chapter titles, cursor and clicks, typing, streaming text, pop-ups, toasts, scrolls, end screen and lockup) and the build.py that anchors every beat to a word of the narration. Use it whenever you write or edit a video's video/build.py, src/template.tpl or src/app.css, place a beat on a word, add a chapter, a click, a pop-up or a push-in, frame a screen, build the end screen or lockup, snapshot setup beats, or render a draft or delivery MP4 of a product video in this workbench. Also use it when someone says "the cursor is off", "too zoomed in", "too fast", "it feels chaotic", "the title flashes", "sync the UI to the voice", or asks for a walkthrough, demo or pitch video of a UI.

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.

関連スキル