Communitygithub.com

DansiDanutz/Video-Editor

將產品或行銷網址、貼上的腳本或簡報轉換為產品發布/宣傳影片 — SaaS 宣傳、功能揭露、產品展示、應用程式和公司發布。當使用者想要行銷、發布、推廣或揭露產品時使用;任何商業網址的預設選項。網站導覽/展示的請求也會路由至此 — 簡報會承載「按原樣展示」的意圖。不明確時 → /hyperframes。

Video-Editor 是什麼?

此技能是一個進階 AI 代理,可將各種輸入(包括產品網址、行銷簡報或直接腳本)轉換為完整的產品發布影片。它支援多個平台(例如 Claude Code、Cursor、Codex),並執行結構化的工作流程,從初始設定與簡報確認開始,接著進行資產擷取、品牌識別的設計系統建立、情節腳本與指令碼起草、視覺設計、逐畫格合成,以及最終渲染。此技能與 HyperFrames 生態系統深度整合,使用「media-use」技能取得音訊/圖形資產,「figma」技能用於設計來源,並遵循嚴格的閘道與審查循環,以確保在繼續下一步前完成每階段的驗證。它提供支援行銷、產品發布和網站導覽的全面解決方案,具有用於選擇樣板、管理品牌權杖以及處理離線或自主模式(針對 HeyGen 等外部服務)的內建功能。其工作流程將`BRIEF.md`作為主要的決策點,允許根據使用者偏好和專案狀態進行可自訂的路由。

相容平台~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/DansiDanutz/Video-Editor/tree/HEAD/.claude/skills/product-launch-video

在你喜歡的 AI 中提問

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

說明文件

**外掛安裝:**在執行設定或更新命令之前,請遵循外掛安裝規則,當此技能位於 HyperFrames 外掛內部時。獨立安裝則保留下方的更新說明。

首先,保持此技能為最新版本 — 在使用前與使用者確認執行: npx hyperframes skills update product-launch-video。當所有內容都為最新時,這會是一個快速無操作;否則它會在此技能及其依賴的核心領域技能被依賴之前更新它們。

media-use:在擷取音訊/圖片/標誌之前,請先執行 /media-use 以從 HeyGen 目錄中解析 BGM/SFX/圖片,並從其官方來源解析品牌標誌。先執行 --adopt 以註冊現有資產。請參閱 /media-use 技能。

figma 來源:如果來源是 figma.com 網址,請先執行 /figma — 資產匯出、品牌權杖以及元件/分鏡重建(如有需要),然後從其輸出建立此工作流程。不要直接透過原始的 MCP 工具驅動 Figma:這會跳過 SVG 消毒、.media/manifest.jsonl 溯源以及品牌權杖 var() 綁定,因此後續的品牌變更無法在未完整重新匯入的情況下傳播。

產品發布到 HyperFrames

使用此技能來擷取產品、了解其品牌、規劃發布影片,並在 HyperFrames 中逐幀建置。

前門是 /hyperframes。 你是編排者。執行每一步驟,驗證其閘道,然後才繼續下一步。此技能適用於正在行銷、發布、推廣或揭露的產品,包括「為我們的網站製作宣傳」等請求,當其目的為促銷時。網站導覽/展示的請求也保留在此處:BRIEF.md 承載「按原樣展示」的意圖,而擷取的螢幕截圖成為影片展示的資產。任何其他意圖、單純的「製作影片」,或任何不確定性 → 先閱讀 /hyperframes — 意圖層擁有所有路由決策,而未經 BRIEF.md 而直接到達此處的新創作請求也會透過它處理(設定的開場規則)。

你是編排者。在 videos/<project>/ 目錄中工作。依序執行步驟並在繼續之前通過每個閘道。使用者閘控步驟為步驟 0、步驟 3 和步驟 6。在步驟 0 之前閱讀 ../hyperframes/references/brief-contract.md — 它定義了閘道類型以及 BRIEF.md 的 flow/storyboard 如何衍生出掌控步驟 3/4/6 閘道的模式。除了步驟 5(你為每個畫格分派一個子代理)之外,親自執行每個步驟。不要在此處放置設計或動態規則;這些規則位於畫格工作者子代理、此技能的本地 ../hyperframes-animation/rules/ + ../hyperframes-animation/blueprints/ 以及 hyperframes-creative 中。

工作流程:步驟 0 設定 -> hyperframes.json;步驟 1 擷取 -> capture/;步驟 2 設計系統 -> frame.md;步驟 3 分鏡/腳本 -> STORYBOARD.md 和 SCRIPT.md;步驟 3.1 音訊 -> audio_meta.json;步驟 4 視覺設計 -> 豐富的 STORYBOARD.md;步驟 5 畫格 -> compositions/frames/NN-*.html 和 index.html;步驟 6 最終渲染 -> renders/video.mp4。


步驟 0:設定

目標:帶著已確認的簡報進入,建立 HyperFrames 專案,並使簡報持久化。

簡報由意圖層確認,而非此處提出的問題。 開場規則,依序:(1) BRIEF.md 存在 → 閱讀它且不詢問任何問題 — 簡報已確定,其 flow/storyboard 衍生出模式(簡報合約 § 1)。(2) 沒有 BRIEF.md 但專案存在(磁碟上有 hyperframes.json / STORYBOARD.md)→ 從分鏡的 frontmatter 和記錄的偏好繼續;永遠不要重新審問一個已部分建置的專案。(3) 兩者皆無 — 直接到達此處的新創作請求 → 閱讀 /hyperframes 並執行其意圖層(references/intent-interview.md):它檢查 recipe 和記住的預設值,進行此路由的提問(../hyperframes/references/routes/product-launch-video.md),並交回鎖定的簡報。編輯請求則跳過所有這些 — 直接進行編輯。

僅在 hyperframes.json 遺失時才進行初始化。從品牌或網域中以 kebab-case 命名 <project>,例如 acme-promo;永遠不要使用工作區名稱或時間戳記。

npx hyperframes init "videos/<project>" --non-interactive --example=blank --skill=product-launch-video — init 會檢查已安裝的技能與 GitHub 上的最新版本,並更新全域集合(如有任何過期)。

初始化後,將 <PROJECT_ROOT> 設為 videos/<project>,並將每個後續的相對路徑命令以此目錄作為其工作目錄來執行。在以下命令中,. 代表 <PROJECT_ROOT>;永遠不要將 .media、capture 或輸出檔案寫入呼叫者目錄。

在 init 之後立即寫入 BRIEF.md(永遠不要在之前 — init 拒絕非空目錄):意圖層鎖定的簡報,格式依據 ../hyperframes/references/brief-format.md。將 <MEDIA_DIR> 解析為已安裝的 /media-use 技能目錄。然後使用 node <MEDIA_DIR>/scripts/prefs.mjs record --hyperframes . 記錄每個偏好支援的答案(brief-format.md 指定了子集)。如果意圖層採用了 recipe,則執行 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes . --name <name>;它會將其 frame.md 複製到專案中(然後跳過步驟 2),並返回步驟 3 從中起草的骨架。Recipe 填寫答案,而非批准;審查閘道仍會執行。

在繼續進行設定之前顯示登入狀態 — 執行 npx hyperframes auth status 並逐字轉發其輸出。它會報告語音/BGM 將使用 HeyGen 還是本地引擎,以及當未登入時如何登入。請注意退出碼合約:auth status 在未登入時退出碼為 1(以及當儲存的憑證被拒絕時) — 該非零退出碼是正常的未登入狀態,而非命令失敗,因此不要將其視為錯誤,不要重試,也不要以會中止工作流程的方式將其與 &&/set -e 鏈接。應用一個分支:

  • **協作:**等待使用者登入或明確選擇 offline / go。
  • **自主:**報告狀態並透過可用的本地引擎繼續。

當沒有離線提供者時,不要默默地忽略所需的能力;請呈現阻礙因素。不要將此決策合併到另一個問題中,或將金鑰寫入每個儲存庫的 .env 檔案。Auth 所有權和離線備援:/media-use references/setup-providers.md § 提供者。

閘道: hyperframes.json 和 BRIEF.md 存在;偏好支援的答案已被記錄(簡報合約 § 2);已顯示登入狀態(已登入,或繼續離線)。


步驟 1:擷取資產

目標:收集影片的原始材料、品牌訊號和可用資產。

對輸入進行分類並選擇路徑。明確的 URL -> 擷取它並使用該網站進行旁白和資產。貼上的腳本/簡報 -> 逐字儲存為 user_script.txt;VO_MODE(逐字或重構)來自 BRIEF.md — 意圖層在腳本送達時詢問它(僅在簡報缺乏它時才在此處詢問一次)。然後解析擷取目標:文字中的 URL -> 使用它;僅品牌名稱 -> WebSearch,在一行中確認 URL,然後爬取;無 URL/網站(或簡報指示不要抓取)-> 無擷取路徑。

使用以下命令執行擷取:npx hyperframes capture "<URL>" -o ./capture --json。保留預設的導航後預算,除非呼叫者擁有較小的截止日期;然後傳遞一個正數的 --capture-budget <milliseconds>,為後續工作留出時間。--timeout 僅控制頁面導航。僅在有意停用可選的圖片標題時才使用 --skip-vision。

立即檢查命令結果和輸出目錄。非零退出碼、JSON ok: false 或 capture/BLOCKED.md 是擷取路徑的硬性停止:報告記錄的原因,且不要消費部分螢幕截圖、DOM、權杖或資產。在 URL 擷取失敗後,不要製造合成的無擷取備援方案。僅在原始簡報提供了原始材料,或使用者在失敗後明確切換到提供的螢幕截圖或簡報時,才透過無擷取路徑繼續。

諸如「文字內容非常少」之類的警告以及空的資產目錄,並不能證明頁面可用。對於網站導覽或按原樣展示的簡報,需要可信賴的已擷取結構或提供的螢幕截圖;如果兩者都不存在,則停止。不要僅僅因為擷取無法使用就發明或重建頁面。

對於網站導覽或按原樣展示的簡報,擷取的頁面是視覺真相來源。使用真實的螢幕截圖,而不是在 HTML 中重建整個網站。如果截圖需要內部移動,將截圖保留為基底,並在測量後的位置疊加真實的擷取資產,或僅重建移動的那一個元件。對於滾動截圖,在 capture/screenshots/full-page.png 上動畫化視口 — 整個文件的 1x 底板,針對在其上移動的 1920 寬視口達到像素級精確。當頁面太高而無法一次擷取成一片時,它會不存在;改為使用同一目錄中的重疊滾動位置截圖。推入超過 1:1 需要改為該區域自己的 2x 擷取,因為底板在 1x 以上沒有餘量。僅在使用者明確要求風格化解釋時才重建整個頁面;無法使用的擷取本身並不是授權。

如果存在 GEMINI_API_KEY、GOOGLE_API_KEY 或 OpenRouter 金鑰,擷取會自動將資產標題寫入 capture/extracted/asset-descriptions.md。這不是一個審查閘道。沒有視覺金鑰時,使用 DOM 上下文並繼續。

無擷取路徑:手動建立 capture/extracted/tokens.json、capture/extracted/visible-text.txt、capture/extracted/asset-descriptions.md 和 capture/assets/。tokens.json 應為 { "title": "", "description": "", "colors": [], "fonts": [] };盡可能從簡報中填寫標題/描述。visible-text.txt 包含完整的簡報或腳本。asset-descriptions.md 應說明除非使用者提供了資產說明,否則未擷取任何資產。

閘道: 擷取 JSON 報告 ok: true;capture/BLOCKED.md 不存在;capture/extracted/tokens.json、capture/extracted/visible-text.txt、capture/extracted/asset-descriptions.md 和 capture/assets/ 存在;並且你能用一句清晰的話說明品牌。將 asset-descriptions.md 視為主要的資產庫存。如果在實際擷取後它遺失了,請停止並報告擷取不完整。關於降級的可選階段的警告,僅在此結構性閘道仍然通過時才可接受。


步驟 2:設計系統

目標:選擇一個出廠的畫格預設;一個腳本會將其轉換為此影片的 frame.md + 字幕皮膚。

當 BRIEF.md 指定了 style_preset — 使用者在意圖層透過展示案例親眼挑選的 — 則使用它;僅當簡報未指定時,判斷由你決定。然後你做一個決定 — 哪個預設:閱讀 ../hyperframes-creative/references/design-spec.md 並選擇其外觀最符合品牌和簡報的預設。然後執行:

node <SKILL_DIR>/scripts/build-frame.mjs --preset <name> --hyperframes .

該腳本會確定性地執行其餘工作:將預設的 FRAME.md 複製為 frame.md 並重新混音到 capture/extracted/tokens.json 中的品牌權杖上(品牌色系按角色映射到預設的顏色鍵上 — 墨水、畫布、強調色 — 保持鍵/結構/元件;將預設的顯示字體 + 正文字體替換為品牌的),將預設的字幕皮膚複製到 .hyperframes/caption-skin.html,並自我驗證(在映射損壞時退出碼為 1)。一旦退出碼為 0,立即繼續下一步 — 無需手動編輯規範。

tokens.json 沒有品牌色系/字體(例如未擷取)-> 腳本會保留預設自己的調色盤,這是一個完整的可出貨設計。如果簡報指定了擷取未捕獲的品牌色系/字體,請在執行前將其新增到 capture/extracted/tokens.json(或使用使用者的 design.md 來填充它);僅在映射確實需要時,才在之後手動調整 frame.md。

閘道: build-frame.mjs 退出碼為 0 — frame.md 來自一個已命名的預設,並且(當預設附帶一個時).hyperframes/caption-skin.html 作為字幕皮膚來源存在;已選擇的預設被記錄為偏好(--key style_preset --workflow <this workflow>,簡報合約 § 2)。


步驟 3:分鏡和腳本

目標:將簡報和擷取的材料轉換為已批准的逐幀故事計劃。

閱讀 ../hyperframes-creative/references/story-spine.md(鉤子語言、先價值後證據、分鏡作為提案、可溯源視覺)、references/story-design.md、../hyperframes-animation/blueprints-index.md、../hyperframes/references/storyboard-format.md 和 ../hyperframes/references/script-format.md。使用它們來撰寫 STORYBOARD.md,以及當需要旁白時,撰寫 SCRIPT.md。從簡報的 length 設定 frontmatter duration: — 一個粗略的期望;組裝會報告最終剪輯與其的差距。

使用 story-design.md 來取得故事藍圖、鉤子、說服邏輯、節拍、VO_MODE 和資產選擇。作為一個軟性指南,查閱 ../hyperframes-animation/blueprints-index.md 中的角色→藍圖選單:對於每個節拍,在適合時記下一個候選藍圖 ID。故事的真實性仍然決定哪些節拍存在 — 永遠不要強迫節拍去符合藍圖,也永遠不要僅僅因為一個經過驗證的形狀可用就發明一個節拍。從 capture/extracted/asset-descriptions.md(規範庫存)中選擇每個視覺畫格的 asset_candidates — 不要瀏覽原始的 capture/assets/。除非該庫存遺失或無法使用,否則不要要求使用者選擇資產。使用來自分鏡和腳本參考的確切必填欄位。

起草後,執行審查循環的計劃通過 — ../hyperframes/references/review-loop.md § 1:將計劃作為提案呈現,並詢問兩個問題 — 批准或更改,以及先做草圖(推薦)或跳過。反饋以聊天回覆的形式送達;循環直到獲得批准。這是一個檢查點閘道(簡報合約 § 1):在自主模式中…

[因原文截斷,後續內容無法提供完整翻譯]

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

DansiDanutz/Video-Editor

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

DansiDanutz/Video-Editor

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

DansiDanutz/Video-Editor

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

DansiDanutz/Video-Editor

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

DansiDanutz/Video-Editor

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

DansiDanutz/Video-Editor

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

DansiDanutz/Video-Editor

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

DansiDanutz/Video-Editor

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DansiDanutz/Video-Editor

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

DansiDanutz/Video-Editor

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

DansiDanutz/Video-Editor

Divide a finished story/script into filmable scenes with per-scene image and animation prompts. Use when building a scene outline or shot list, deciding scene boundaries, durations, or what each visual must show.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

相關技能