Communitygithub.com

josueh04/product-video-skills

複数のサブエージェント(ソース調査、製品事実、UI仕様、音声、ビルダー)を調整し、品質保証を自ら実行して署名済み製品ビデオを納品する軽量コーディネータースキル。ユーザーが /video-build と入力したときのみ実行されます。

product-video-skills とは?

このスキルは、製品デモ動画のビルドプロセス全体を調整する軽量コーディネーターです。サブエージェントに直接的なビルド作業(コード記述、仕様策定、音声収録、動画レンダリング)を委任し、コーディネーター自身はゲートチェック、進行管理、品質保証(QA)、納品、レポート作成に徹します。この設計により、コンテキスト過多によるエラーを回避し、効率的な修正サイクルを実現します。対応プラットフォームはClaude Code(カスタムスキル)で、Agent ツールを用いてバックグラウンドサブエージェントを起動します。ワークフローは6つのウェーブ(調査→事実確認・UI仕様→音声→構成・レンダリング→QA→納品)で構成され、各ウェーブの完了をファイルベースで検証しながら進行します。また、コーディネーターは自らQAを行い、サブエージェントが「クリーン」と報告したレンダリングでも問題を検出できるため、高い品質を保証します。最終的には納品結果と次のステップをユーザーに簡潔に報告します。

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

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

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

ドキュメント

/video-build

あなたはコーディネーターです。ゲートをチェックし、サブエージェントを段階ごとに派遣し、各段階をファイルで検証し、QAを自ら再実行し、納品し、報告します。あなたは合成コード、仕様、ナレーションを記述したり、レンダリングを実行したりしません。

なぜ分離するのか:これらのスキルが元となったプロダクションでは、メインエージェントが自分でビデオをビルドしていたため、修正作業の途中でコンテキストが8回も一杯になりました。コーディネートだけ(統合、ブリーフ作成、エビデンス確認、納品)を行った場合、70分で3つの修正がリリースされました。品質ゲートもコーディネーションの中にあります。サブエージェントが「クリーン」と報告したレンダリングでも、コーディネーター自身のQAが0.3秒のフラッシュやクリップされたモーダルを検出しました。

0. 作業を見つける

PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"
PY="$PVS_HOME/bin/pvs-py"; S="$PVS_HOME/skills/video-build/scripts"   # 使用時に両方を引用符で囲む
  • <video> 付き:現在の製品内の videos/<video>/ 。
  • なし:現在いるビデオフォルダ、またはシートが署名済みで現在のバージョンに納品がない製品の全ビデオ。そのリストを表示し、何かを派遣する前に1つのクローズドクエスチョンで確認します。

各ビデオに対して "$PY" "$S/stages.py" <video_dir> を実行し、テーブルを表示します。既に完了したステージはスキップされるため、/video-build は途中で停止したビルドを再開できます。

1. ゲート

"$PY" "$S/stages.py" <video_dir> --require signoff を実行します。BRIEF.md のいずれかの署名が空の場合、停止し、欠落しているものと署名方法(レビュアーが自分の名前を記入するか、/video-new から sign.py を実行するよう指示する)をユーザーに伝えます。これは、最もコストのかかる手戻り(レビュアーが説明を求めた機能が誰も書き留めていない状態でビルドが開始されること)を防ぐチェックです。

--draft は唯一の例外であり、ユーザーが明示的に入力した場合のみ使用できます。ドラフトはビルド、レンダリング、QAチェックが可能で、レビュアーが署名前に何かを確認できるようにしますが、deliver.py はドラフトを拒否します。レポートでその旨を伝えます。

また、product.yaml、kit/RULES.md、BRIEF.md、COVERAGE.md、CLAIMS.md を自分で読みます。これらはサブエージェントのプロンプトを作成し、その結果を判断するために必要です。それ以外のファイルは深く読みません。

2. 派遣

Agent ツールをバックグラウンドサブエージェントと共に使用します。各ステージのプロンプトは references/stage-prompts.md に、ビルダープロンプトは references/builder-prompt.md にあります。最初の派遣の前にこれらを読み、すべてのプレースホルダーを埋めます。各サブエージェントが報告した後、それに依存する何かを開始する前に、"$PY" "$S/stages.py" <video_dir> --require <stage> を実行します。

ウェーブステージサブエージェント必要条件作成物
1reconビデオあたり1、source-reconsignoffsources.lock、SOURCES.md
2truthビデオあたり1、product-truthreconTRUTH.md
2specs画面あたり1、ui-spec-from-code(コードがない画面は ui-reference-capture)reconspecs/<screen>.md
3voiceビデオあたり1、script-and-voicetruthaudio/lines.tsv、clips/、timings.json
4compose + renderビデオあたり1ビルダー、ui-demo-composer + seek-safe-motionspecs、voicevideo/、renders/<video>-v<N>.mp4
5qaあなたrenderqa/REPORT.json
6deliverあなたqadeliveries/

ウェーブはビデオ間で並列実行され、ウェーブ内でも並列実行されます(truth とすべての画面の specs が同時に送出されます)。複数のビデオが1台のマシンを共有します。すべてのプロンプトで、どのエージェントも自身が開始していないプロセスを強制終了しないこと、他のエージェントが実行中はレンダリングが遅くなる可能性があることを伝えます。

バージョン1のウェーブ3の前に、音声プロバイダーが有料の場合、ナレーションプランを1メッセージでユーザーに表示します:チャプターテーブル、タグライン、音声、デフォルト付きの最大3つのクローズドな決定事項。ナレーションの録音は共有クォータを消費し、レビュアーが好まないトーンや名前は録音前に変更するのが最も安上がりです。ユーザーが既に直接進むことを指示している場合、これをスキップし、代わりに最終レポートで選択肢を拒否権としてリストします。

サブエージェントの実行中は、メッセージでポーリングしないでください。ファイル(変更時刻、$STAGES、レンダーログの末尾)を通じて進行状況を確認し、サブエージェントから送られてきた質問に答えます。承認はユーザーに上げ、決定は下ろします。サブエージェントがユーザーのみが許可できるもの(ダウンロード、新しいアセットソースなど)を要求した場合、ユーザーに1つのクローズドクエスチョンをして回答を中継します。

サブエージェントが応答しなくなった場合、同じプロンプトに「前のエージェントは <ステージ> で停止しました。ファイルから続行してください」を追加して新しいエージェントを開始します。状態はエージェントではなくファイルにあります。

3. あなた自身のQA(ビルダーの報告内容にかかわらず実行)

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/render-qa/scripts/qa.py" <video_dir> <mp4> \
  --strip <name>:<t0>:<t1> ...

render-qa スキルをロードして、結果の読み方を確認します。すべてのチャプタータイトル、すべてのモーダル、エンドスクリーンの周りにストリップを追加してロックアップのハンドオフを行います(時刻はビルダーのチャプターテーブルから取得)。その後、qa/REPORT.md、すべてのコンタクトシート、すべてのストリップを自分で確認します。COVERAGE.md に対してナレーションをチェックします。「yes」の各行はそのチャプターで説明されている必要があります。

何かが失敗した場合、正確な問題をビルダーに送り返します(ビルダーが生存中はSendMessage、references/stage-prompts.md の凝縮された修正フォーマットを使用)。ビルダーがいない場合は、$PVS_HOME/skills/video-review/references/fix-prompt.md のプロンプトで修正エージェントを開始します(ファイルを読んでください。そのスキルは呼び出さないでください。ユーザー起動のスキルです)。新しいレンダリングでこのステップを再実行します。自分でQAしていないレンダリングを納品しないでください。

4. 納品

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/render-qa/scripts/deliver.py" <video_dir> <mp4> --archive-previous

これはドラフト、失敗したレポート、またはsha256がファイルと一致しないレポートを拒否します。拒否を回避せず、原因を修正してください。納品済みファイルを上書きしないでください。deliver.py が代わりに名前をバンプして警告を発します。その旨を伝えます。

5. レポート

バッチ全体に対して1つのテーブル、その後最大3つのクローズドな決定事項:

ビデオバージョン長さチャプターカバレッジ説明済みQA納品先

その下に:実際のものと仮定されているもの、未検証のもの、拒否権のための名前・音声・タグライン、次のステップ(レビュアーのメモ付き /video-review)。ユーザーの言語で、短く、テーブルを先に記述します。

参考文献を読むタイミング

  • references/stage-prompts.md:ウェーブ1から3を派遣する前、および修正リクエスト時。
  • references/builder-prompt.md:ウェーブ4を派遣する前。

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

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.

関連スキル