Communitygithub.com

josueh04/product-video-skills

動画のナレーションの一文一文と表示される画面すべてを、ピン留めされたソースコードやドキュメントURLに基づいて検証し、UI可視性とバックエンドのみの区別、制限付き機能や未リリース機能のフラグ付け、裏付けのない部分の修正・削除を行います。TRUTH.mdを生成し、truth_check.pyで自動チェックします。

product-video-skills とは?

このスキルは、製品デモ動画のナレーションと画面表示の一つ一つを、ソースコードや公式ドキュメントに基づいて機械的に検証するためのものです。各ナレーション行と画面ごとに、それが「UIに表示される」「バックエンド処理」「ドキュメントのみ」「モック(デザイン)」のいずれであるかを分類し、さらに「裏付けあり」「承認済み」「承認待ち」「書き直し」「削除」などの判定を下します。制限付き機能や未リリース機能は自動的に「承認待ち」とマークされ、CLAIMS.mdのレビュー担当者の明示的な承認を必要とします。このスキルは、Claude Code, Cursor, Codex などのAIエージェント環境で利用でき、ナレーション原稿の作成・編集時、ボイス生成前、ビルド前、または「これは本当に言えるのか?」といった確認が必要なタイミングで実行します。出力としてTRUTH.md(各行と画面の根拠テーブル)と、自動チェックスクリプト(truth_check.py)の実行結果を提供し、裏付けのない記述や不正確な表現を事前に排除します。

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

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

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

ドキュメント

製品の真実 (Product truth)

製品にない機能を見せてしまう製品動画は、動画がないよりも悪い結果を招きます。このスキルの基となった制作現場では、最もコストがかかったのはすべて真実の欠如による失敗でした。すなわち、誤ったサイズと誤った製品名が付いた手作りバッジ、製品が別のトリガーでしか結果を返さないのに「コール結果を待機中」とナレーションされたワークフロー、エンドツーエンドで誰も検証していないテストコールを確定予約と偽った表示、そしてチームが合意したポジショニングと矛盾する見出しの会社文書です。これらはすべて、レビュー担当者によって遅い段階で発見され、バージョン変更のコストが発生しました。

このスキルは、チェックを明示的かつ機械的に行います。すべての行とすべての画面にTRUTH.md上の行とソースを割り当て、truth_check.py は、どの行が欠けているか、古いか、裏付けがない場合にビデオを拒否します。

入力

  • videos/<video>/audio/lines.tsv (ナレーション、line idごとに一文)
  • videos/<video>/SOURCES.md(source-reconからの出力:画面とそのコード)
  • videos/<video>/BRIEF.md, COVERAGE.md, CLAIMS.md(動画で説明すべき内容、ポジショニング、避けるべきフレーズ、承認が必要な主張)
  • product.yaml:positioning, never_say, names(正規名からレガシー文字列へのマッピング)、banned_terms
  • sources/<role>/ および sources.lock(source-reconによってピン留め。不足している場合は先にsource-reconを実行。引用はロックされたコミットを指す必要があるため)

1. 主張をリストアップする

lines.tsvの各行を、含まれる主張に分割します。「Acme Tasksはあなたのカレンダーを読み取り、期限切れのタスクを明日に移動します」は2つの主張です:カレンダーを読み取ることと、期限切れのタスクを移動することです。SOURCES.mdとチャプターから、画面ごと、画面上のアクションごとに1つの主張を追加します(「Plan my dayをクリックすると、3つの提案を含むプランナーが開く」)。

それらの主張が提起する質問を、コードが回答できるように表現して書き出します:何がこれをトリガーするのか、何が保存されるのか、どのオプションが存在するのか、ユーザーは何をどこで見るのか、サーバー上でのみ何が起こるのか。

2. コードとドキュメントから回答する

読み取り専用のサブエージェントを、製品領域ごとに(フロントエンド動作、各バックエンド、ドキュメント)、references/product-facts-prompt.md のプロンプトを指定して並列起動します。sources/<role>/ を指すよう設定し、ユーザーのチェックアウトは決して指さないようにします。これにより行番号がロックと一致します。これらのエージェントはコードまたはドキュメントからのみ回答し、すべての事実に引用を付け、「見つかりません」と推測せずに答えます。

3. 各主張を分類する

可視性意味動画で可能なこと
uiフロントエンドによってレンダリングされる。テンプレートまたはi18n行を引用表示し、ナレーションできる
backendサーバー上で真。画面上に何も表示されないナレーションできるが、UIは決して描画しない
docsドキュメントのみが言及ドキュメントのURLと共にナレーションできる。可能な場合はコードが同意するか確認
mock製品UIではない、デザインされた要素(電話画面、エンドカード、生成テキスト)BRIEF内でデザイン済みとマークして表示できる
判定意味
backedソースがまさにこれを言っている
approved署名が必要(制限付き、未リリース、CLAIMS.mdにリストされた主張)で、レビュー担当者がCLAIMS.mdで承認した
needs-approval真だが、制限付き、ゲート付き、未リリース、またはCLAIMS.mdにリストされている。レビュー担当者の承認待ち
rewrite部分的に真。ノートに裏付けのある表現を提案する
cut真ではない、またはソースが見つからない
unbackedまだチェックされていない
mockmock の可視性を持つ場合のみ

ナレーション行で合格できるのは backed と approved のみです。制限付き機能(特定のロール、プラン、または内部チームにのみ表示される機能)、フラグの背後にある機能、またはマージされていないブランチ上の機能は、レビュー担当者がCLAIMS.mdで承認するまで needs-approval となり、BRIEFには制限付きであることが注記されます。これは元の制作現場で実際に発生しました:内部スタッフのみが見られる機能が、レビュー担当者のリクエストにより表示され、そのようにマークされました。

4. 裏付けのない部分を修正する

  • 書き直し:部分的に真の文を、ソースがサポートする最も強力なバージョンに書き換えます。書き手が意図した意味は維持し、メカニズムを実際のものに変更します。
  • 削除:ソースがない部分は削除します。曖昧に和らげてはいけません。曖昧な主張も依然として主張です。
  • ラベルの変動を決して許さない。「説明用」とマークされたデザイン要素は、ラベルなしバージョンが行う主張を再確認せずに、後で美的理由からそのラベルを失ってはいけません。
  • ポジショニングがドキュメントに優先する。デッキやPRDが never_say やCLAIMS.mdで禁止されていることを言っている場合、ルールが優先され文章が変更されます。
  • 現在の名前のみを使用する。ライブUIやコードにまだレガシー文字列が表示されている場合でも、product.yaml の names にある正規名を使用します。lines.tsv、仕様、テンプレートからすべてのレガシー文字列と banned_terms エントリ(競合他社、チームが画面に表示しないようにしているサードパーティベンダー、実際の顧客)をgrepし、それぞれ修正します。

5. リクエストが製品と矛盾する場合

ブリーフやレビュー担当者がコードがサポートしていないことを要求した場合、偽物を作成したり、黙って破棄したりしないでください。選択肢と推奨デフォルトを含む1つのクローズドクエスチョンを提示し、ラウンドごとに最大3つの質問に抑えます。なぜなら、拒否のオープンエンドリストは回答されず、その沈黙が誰も行っていない決定になってしまうからです。「現実のみ」パターンは以下の通りです:

ブリーフには、Acme Tasksが会議室を自分で予約するとあります。コードはタスクを作成し、会議室のカレンダーにリンクするのみです(frontend/src/rooms/LinkRoom.tsx:22@1a2b3c4)。予約はカレンダーアプリで行われます。どれにしますか?

  1. 現実のみ(推奨):リンクステップを表示し、「会議室のカレンダーにリンクします」と言う。
  2. カレンダーアプリの予約画面をデザイン要素としてラベル付きで表示し、カレンダーのステップとしてナレーションする。
  3. そのビートを削除する。

回答をCLAIMS.mdに記録し、それに基づいて判定を設定します。

6. TRUTH.md を書く

# 真実: <video>

ロック: frontend main@1a2b3c4, backend main@5d6e7f8。チェック日: 2026-01-12。

| id | 文 | ソース | 可視性 | 判定 | ノート |
|---|---|---|---|---|---|
| N1 | Acme Tasksはあなたのカレンダーから一日を計画します。 | frontend/src/planner/plan.ts:31@1a2b3c4; https://docs.example.com/planner | ui | backed | |
| N2 | 期限切れのタスクは深夜に明日に移動します。 | backend/jobs/rollover.py:12-30@5d6e7f8 | backend | backed | 画面には表示されない |
| screen:board | 3つのタスクがあり、1つが期限切れのボード | frontend/src/pages/board/BoardPage.tsx:14@1a2b3c4 | ui | backed | |
| screen:call | 顧客との電話 | (designed) | mock | mock | BRIEFにマークあり |

## 未解決の質問
1. <推奨回答付きのクローズドクエスチョン>

lines.tsvのline idごとに1行。文は正確にコピーします(チェックが比較するため、真実パス後にラインを編集すると、再検証するまで失敗します)。画面ごとに1行、idは screen:<name> でSOURCES.mdと一致させます。複数の引用は1つのセルに ; で区切って入れます。

7. チェックする

PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"
"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/product-truth/scripts/truth_check.py" <video_dir>

これは以下の場合に失敗します:行に対応する行がない、文が変更された、ナレーション行の判定がbackedまたはapproved以外、引用のロールがロックされていない、shaがロックされたものと一致しない(コードが移動したので再検証)、ファイルがエクスポートに含まれていない、行がファイルの末尾を超えている。すべての失敗を修正します。チェック自体は編集しないでください。

ユーザーに報告します:裏付けられた行と画面の数、書き直したり削除した内容(理由付き)、承認待ちのもの、および未解決の質問。

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

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.

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.

関連スキル