Communitygithub.com

josueh04/product-video-skills

製品動画へのレビューフィードバックを1テーブルにまとめ、各動画を並行して修正(修正ごとに1サブエージェント)、承認済み部分は保持、QAとパリティを再実行、バージョンアップして納品します。ユーザーが/video-reviewと入力したときのみ実行します。

product-video-skills とは?

このスキルは、動画制作におけるレビューフィードバックをバッチ処理し、複数の動画を並行して修正することで作業効率を大幅に向上させるAIエージェントスキルです。ユーザーが `/video-review` と入力すると起動し、まずすべてのレビューノートを収集・統合し、各動画ごとに1つのテーブルにまとめます。次に、修正が必要な各動画に対して個別のサブエージェントを同時に起動し、それぞれが独立して編集、ナレーション、レンダリング、QAを実行します。サブエージェントが完了した後、メインエージェントがパリティチェックとQAを実施し、承認された部分は変更されていないことを確認してからバージョンアップし納品します。この並列処理により、従来シリアルで行われていた修正が50〜90分/本かかっていたところを、3本同時修正で約70分に短縮した実績があります。主にClaude Code環境を想定しており、`product.yaml`、`stages.py`、`BRIEF.md`、`kit/RULES.md`といったファイル構成を前提としています。

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

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

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

ドキュメント

/video-review

1ラウンドのレビュー:全バッチを収集し、動画ごとに統合し、ノートのあったすべての動画を同時に修正し、各結果を自分で確認し、次のバージョンを納品し、報告します。

バッチ&並列の理由:これらのスキルの元になった制作現場では、3件のノートが5分間隔で届き、エージェントが最初の1件を自身のコンテキスト内で修正し始めました。コンテキストがいっぱいになり、レビュアーはそれを止めざるを得ず、1件ずつ処理するフィードバックは非効率だと言われました。1つのテーブルに統合し、3つの並列サブエージェントに渡したところ、同じ3件の修正がレビュー・納品までに70分で完了しました。修正は単なるレンダリングではありません。編集、ナレーション、レンダリング、QA、報告には動画1本あたり50〜90分かかるため、直列実行は倍々になります。

0. セットアップ

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

プロダクト(カレントディレクトリの上位で最も近い product.yaml)を見つけ、その動画一覧を現在のバージョンと納品状況とともにリストアップします(各動画で skills/video-build/scripts/stages.py を実行)。

1. 全バッチを取得する

引数がファイルの場合はそれを読み込み、テキストの場合はそのまま使用します。その後、1回だけ確認します:「これが今回のラウンドの全フィードバックで、すべての動画分ですか? ノートのない動画はそのまま維持されます。」修正を始める前に回答を待ちます。統合中にノートが届き続ける場合は、同じラウンドに追加します。メッセージごとに修正を開始しないでください。

2. 動画ごとに1つのテーブルに統合する

"$PY" "$PVS_HOME/skills/video-review/scripts/feedback_table.py" <product_dir> <notes file or -> \
  --out <product_dir>/reviews/round-<date>.md

各ノートを、そのノートが示す動画(ID、タイトル、または見出しで識別)の下に、原文のまま並べ替えます。「全動画」に関するノートは共通セクションに配置し、配置できないノートはリストアップします。その後、各行に以下の項目を記入します:意味(あなたの解釈。変更してはいけないものを含む)、承認条件(どのように確認するか:時間範囲、ストリップ、フレーム)、全動画に適用するルール?

記入する前に references/review-protocol.md を読んでください。そこでは、ディクテーションエラー、実際はルールであるノート、プロダクトと矛盾するノートについて説明しています。

すべてのノートに対して問うべき3つの質問:

  1. これは本当にルールか? そうであれば、レビュアーが指摘した動画だけでなく、このラウンドのすべての動画に適用されます。かつてレビュアーが1つの動画に対してカバレッジルールを与え、数時間後にそれをすべての動画に適用するよう再度依頼したことがあります。
  2. プロダクトは実際にそれを行っているか? 修正を約束する前にコードを確認してください。もしそうでなければ、推奨オプション付きのクローズドクエスチョン(「存在するものだけを表示する」)を提示します。
  3. COVERAGE.md に欠けていた機能か? その場合、修正は行を追加します。

統合されたテーブルをユーザーに表示し、最大3つのクローズドな決定事項(デフォルトを明示)を提示します。沈黙はデフォルトを受け入れたものとみなします。ノートのない動画は未修正としてリストアップされます。

3. ノートのある各動画の次のバージョンを開く

"$PY" "$PVS_HOME/skills/video-review/scripts/bump_version.py" <video_dir> --note "<quote>" ...

lines.tsv、timings.json、video/src を v としてバックアップし、BRIEFのバージョンを N+1 に上げ、引用符付きの変更ログセクションを開きます。v が一度もレンダリングされていない場合は拒否します(バージョンをスキップすることになります)。v のレンダリングはそのまま維持されます。これはパリティの基準であり、レビュアーが共有した可能性のあるファイルが上書きされることはありません。

4. 動画ごとに1つの修正サブエージェント、すべて同時に

各動画に対して references/fix-prompt.md を記入し(レビュアーの言葉をそのまま、あなたの意味と承認条件、コード内で file:line ですでに見つけたもの、共有ルール)、すべての修正エージェントを同じターンで Agent ツールを使ってバックグラウンドで起動します。起動前に、自分で「すでに見つけたもの」のコード検索を簡潔に行ってください。これにより、各修正エージェントは同じ検索を省略でき、プロダクトが満たせないノートを捕捉できます。

サブエージェントが実行中は、自分で修正を行わず、メッセージでポーリングもしないでください。ファイル(stages.py、更新日時、レンダリングログ)を監視します。修正エージェントが承認を必要とする場合は、ユーザーに1つのクローズドクエスチョンをして回答を中継します。修正エージェントが停止した場合は、同じプロンプトと停止した場所を追加して新しいエージェントを起動します。状態はファイル内にあります。

5. すべての結果を自分で確認する

修正エージェントが報告した内容に関わらず、各動画について:

  1. 意図的に変更された範囲以外で、以前のバージョンとのパリティ: "$PY" "$PVS_HOME/skills/render-qa/scripts/parity.py" <old mp4> <new mp4> --skip a:b ...。 承認された範囲で変更があった場合はリグレッションです。差し戻します。
  2. QA:"$PY" "$PVS_HOME/skills/render-qa/scripts/qa.py" <video_dir> <new mp4> --strip ... 変更されたビートごとにストリップを指定します。render-qa を読み込んで読み方を理解し、シートとストリップを自分で確認します。
  3. テーブルからの各ノートの承認条件チェック。レンダリングがノートを満たしていない場合は、同じ修正エージェントに差し戻します(SendMessage:問題、時間範囲、「それ以外は変更しない」)。
  4. BRIEF.md の変更ログセクションを記入します。

6. 納品してラウンドを終了する

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

その後、ラウンドをまとめて終了します。ルールとなったノートは kit/RULES.md に追加します(日付とレビュアーの言葉付き)。これにより、次のビルドがそれらを継承します。更新が停止したルールファイルは誤ったものになり、ルールは毎回プロンプトで手動で繰り返されることになります。レビュアーがすでに以前のバージョンをどこかにアップロードしている場合は、どのファイルを再度アップロードする必要があるかを伝えます。

7. 報告

動画変更前変更後適用されたノート確認場所パリティQA納品バージョン

次に、未修正の動画、kit/RULES.md に追加されたルール、未検証の項目、最大3つのクローズドな決定事項。ユーザーの言語で、簡潔に、表を先に。

参考資料

  • references/review-protocol.md:統合テーブルを記入する前に読むこと。
  • references/fix-prompt.md:修正エージェントを起動する前に読むこと。

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

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.

関連スキル