Communitygithub.com

josueh04/product-video-skills

開始一個新的產品影片 — 建立 videos/<video>/ 目錄,撰寫 BRIEF.md、功能覆蓋矩陣 (COVERAGE.md) 和聲明表 (CLAIMS.md),提出章節建議,然後等待審核者簽署。不進行建置。僅在使用者輸入 /video-new 時執行。

product-video-skills 是什麼?

這項技能引導使用者建立一個新的產品解說影片,但其關鍵在於:在實際製作任何內容之前,必須先取得審核者對於影片涵蓋範圍與聲明的書面同意。它能有效防止因功能遺漏或立場不明確而導致的昂貴重製循環。 技能會逐一建立三個關鍵文件:BRIEF.md(摘要目標與觀眾)、COVERAGE.md(功能涵蓋矩陣)和 CLAIMS.md(聲明與定位)。這些文件會參考專案的 product.yaml、kit/RULES.md 以及同系列其他影片的資料。 此技能支援所有產品影片格式(如簡報、教學、快速導覽等),並要求使用者明確指定審核者、觀眾、時長與關鍵功能。接著,它會自動生成章節建議,並強制執行一個簽署流程:審核者必須手動在 BRIEF.md 中簽名,否則影片無法進入建置階段。 此技能與 `/video-build` 技能嚴格分離,確保內容規劃和昂貴的渲染階段完全獨立。這項分裂設計是該技能的核心優勢,能有效避免未簽署的摘要被執行的風險。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/josueh04/product-video-skills/tree/HEAD/skills/video-new

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

/video-new

在開始建置任何內容之前,先寫下影片必須解釋的內容以及可以聲明的項目,並讓審核者簽署這兩份文件。然後停止。

為何存在:在這些技能所屬的製作過程中,26 個版本中有 9 個是因為影片沒有解釋審核者關心的功能而產生。沒有人在建置前寫下這些功能,所以每個功能都在審核時才浮現,導致一次完整的渲染和 QA 週期,然後還必須手動套用到其他所有影片。定位和聲明也以同樣方式導致了 3 個版本。預先準備兩份已簽署的文件,比任何一輪這樣的重做都要便宜。

開始之前

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

找到產品:目前目錄上層最近一個包含 product.yaml 的資料夾。如果沒有,告訴使用者先執行 /product-new(你無法替他們執行:這需要使用者自行呼叫)。讀取 product.yaml、kit/RULES.md 以及 videos/ 中任何同系列影片的 BRIEF:同系列影片的覆蓋矩陣和聲明表是最好的起點,而且演員陣容必須在所有影片中保持一致。

影片 ID 來自參數(小寫、數字、破折號)。如果 videos/<video>/ 已經存在,則停止:現有影片應使用 /video-review 繼續進行,絕不能重新開始。

1. 詢問影片的用途

一條訊息,最多四個問題,每個問題附帶一個建議預設值:

  • 誰觀看以及在哪裡發布(提案簡報、簡短產品導覽、說明文件頁面、入門指南、登陸頁面循環播放)。
  • 觀看者之後必須相信或能夠做什麼(一句話)。
  • 大約多長(預設值:簡報 90 秒,導覽 30 秒,說明文件 120 秒,教學 240 秒,循環 15 秒)。導覽是針對一個或兩個功能剪輯的簡報:相同的開場、結尾畫面與鎖定畫面,較少的章節。當審核者說「快速導覽」或要求少於 45 秒時使用此選項。
  • 哪些功能對審核者最重要。請指名道姓地詢問,並問哪些功能必須實際展示運作,而非只是提及。

2. 建立資料夾

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/video-new/scripts/new_video.py" <product_dir> <video> \
  --format <format> [--title "<title>"] [--duration <s>]

它會複製 _template/video,填入 BRIEF 的前置資訊(標題、影片、格式、時長、語言和來自 product.yaml 的審核者,版本 1),並將兩個簽名留空。它會拒絕重複的 ID。

3. 撰寫三份文件

在撰寫之前,請先閱讀 references/sheets.md 以了解每份文件的格式和已完成的行範例。

  • BRIEF.md:意圖(引用使用者自己的話)、觀眾、建議的章節、包含影片將使用的每個虛構名稱和數字的備註(來自產品演員陣容,未經詢問不得使用新的),以及一個空的 v1 變更日誌條目。
  • COVERAGE.md:每個功能一行,包含「必須在畫面上解釋?是/否」、解釋該功能的章節,以及證明(觀眾看到發生什麼)。僅在結尾畫面提及的功能不算涵蓋:這正是造成最多版本數的漏洞。包括可配置的部分(設定、觸發器(包括排程觸發器)、移交、後續動作),因為這些正是審核者事後一直要求檢查的功能。
  • CLAIMS.md:定位陳述(來自 product.yaml,絕不來自行銷文件)、要避免的詞語(never_say 加上使用者添加的任何內容)、旁白希望提出且需要核准的每個聲明、已核准的標語,以及規範產品名稱與其舊版字串的對照。

對照你在 sources/ 和文件中所見的內容,檢查每個聲明和功能。如果產品無法做到使用者要求的事情,請用封閉式問題和建議選項(「只顯示存在的內容」通常是正確的預設值)來說明。不要將程式碼無法支援的功能草擬到矩陣中。

4. 提出章節建議

將章節表格添加到 BRIEF.md。每個章節一個想法,每個章節一個框架,每個「必須解釋」的功能對應到一個章節。以背景資訊開場(產品名稱和一行說明它是什麼),絕不從 UI 介面中間開始。預設以 1 倍率框住整個頁面;深度縮放已在原始製作中被拒絕兩次。以廣度(產品還能做什麼)結束,然後是鎖定畫面。

5. 停止並要求簽名

在一條訊息中向使用者顯示:

  1. 功能覆蓋矩陣(「是」的行)和章節表格。
  2. 定位陳述、需要核准的聲明以及建議的標語。
  3. 最多三個封閉式決策,每個都附帶一個預設值(例如標語、演員姓名、省略某個功能)。說明沉默的含義:即採用預設值。

然後要求審核者簽名。他們要嘛自行將姓名寫入 BRIEF.md 中的 coverage_signed_by 和 claims_signed_by,要嘛用自己的話告訴你代表他們簽名,然後你執行:

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/video-new/scripts/sign.py" <video_dir> \
  --coverage "<reviewer name>" --claims "<reviewer name>"

絕不要自行主動簽名,絕不要因為文件「看起來完整」就簽名,也絕不要使用審核者未曾提供的姓名簽名。簽名是審核者的聲明,表示該矩陣將是他們評判影片的依據。sign.py 會拒絕空的矩陣或缺少定位陳述;不帶任何旗標時,它只顯示狀態。

即使使用者在同一則訊息中簽名,也請勿在此處建置、渲染、錄製旁白或分派子代理。建置是 /video-build 的工作,由使用者輸入執行。這種分離正是防止代理在未簽署的摘要上開始昂貴建置的原因。

報告

項目值
影片videos/<video>/,格式,目標長度
涵蓋範圍N 個功能需在畫面上解釋,M 個僅列舉,章節
聲明定位,等待核准的聲明
決策最多三個封閉式問題及其預設值
簽名未簽署(或由誰簽署)

下一步,簽署後:/video-build <video>。

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

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.

相關技能