Communitygithub.com

DansiDanutz/Video-Editor

創作或編輯自訂的 HyperFrames 合成作品,當沒有專門工作流程或 BRIEF.md 設定 `flow: companion` 時使用。適用於較長或多場景片段、品牌與精華短片、蒙太奇、靜態循環、靜態標題卡、素材混搭及自由形式建構。

Video-Editor 是什麼?

此技能提供了一個全面的影片編輯與合成工作流程,專為 HyperFrames 生態系統設計。它能處理從較長的多場景片段到品牌短片、蒙太奇、靜態循環和素材混搭等各種任務。該技能並非取代專門的工作流程,而是在沒有其他工作流程適用,或當 BRIEF.md 明確將其設為輔助 (`flow: companion`) 時作為後備方案。其工作流程包含幾個關鍵階段:套用跨領域來源轉接器(例如媒體與 Figma)、從專案狀態恢復、解釋執行情境、載入必要知識,以及最終執行合成。對於輔助流程,該技能會以「導演」而非「承包商」的角色介入,提供天花板級的處理方案——包含故事弧線、設計規格、場景動作處理、轉場和音訊設計——同時始終服務於簡報的核心訊息。它與其他 HyperFrames 技能(如 `/hyperframes-core`、`/hyperframes-creative` 和 `/media-use`)深度整合,並要求遵循嚴格的參考文件,以確保決定性、品牌一致性和高品質輸出。

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

在你喜歡的 AI 中提問

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

說明文件

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

一般影片

在依賴此工作流程之前,請執行:

npx hyperframes skills update general-video

成功且無任何操作表示該技能已是最新版本。若更新失敗,則應顯示失敗訊息,而非依賴記憶中的版本繼續執行。

1. 套用跨領域來源轉接器

  • 媒體: 對於任何音訊、圖片、圖示、標誌、語音、調色、LUT、處理/特效、字幕或媒體操作需求,請載入 /media-use 並遵循 ../media-use/references/resolve.md(解析、採用、重用)與 ../media-use/references/setup-providers.md(提供者、驗證)。模糊的素材反饋和具名樣式,在編輯前需使用 ../media-use/references/media-treatments.md;請勿以 CSS/SVG/透明度來即興創作支援的媒體效果。在執行第一個經過驗證的提供者操作前,請先執行 npx hyperframes auth status 並逐字回報其輸出。若顯示已登出,則套用 ../hyperframes/references/brief-contract.md 中的閘道:協作模式等待登入或明確的離線選擇;自主模式則陳述狀態並透過可用的離線提供者繼續執行。當沒有離線提供者能滿足必要功能時,應顯示為阻礙因素。僅限於本地採用則不需要驗證閘道。
  • Figma: 如果任何輸入是 figma.com URL,請先執行 /figma。從其匯出的資源、令牌、元件或分鏡框架開始建構。請勿使用原始的 Figma 連接器呼叫,因為它們會跳過 SVG 消毒、媒體來源追溯與品牌令牌綁定。

這些轉接器不會變更 /hyperframes 所選取的工作流程。

2. 從專案狀態開始

套用第一個符合的列;不要評估較低優先級的狀態列:

狀態動作
特定編輯執行該編輯,保留現有的專案決策,然後重新執行受影響的檢查。不要重新開啟探索階段。
BRIEF.md 存在讀取它。如果 workflow 指定了另一個工作流程且 flow 不是 companion,則移交。不要詢問任何簡報相關問題。
無簡報,但存在 hyperframes.json 或 STORYBOARD.md從檔案和記錄的偏好設定中恢復。僅根據已知事實回填 BRIEF.md。
全新創作執行 /hyperframes 及其意圖層。僅在 workflow: general-video 或 flow: companion 時回到此處。

對於新專案,根據簡報選擇一個 kebab-case 目錄名稱,並在撰寫簡報前先進行初始化:

npx hyperframes init "videos/<project>" --non-interactive --example=blank --skill=general-video

然後使用 ../hyperframes/references/brief-format.md 在專案根目錄撰寫 BRIEF.md。在現有專案中,根目錄是包含 hyperframes.json 的目錄。僅使用 node <MEDIA_DIR>/scripts/prefs.mjs record --hyperframes <PROJECT_ROOT> 記錄由簡報格式指定的、已確認的偏好設定支援的欄位;切勿記錄推斷出的預設值。此處 <MEDIA_DIR> 是已安裝的 /media-use 技能目錄,<PROJECT_ROOT> 是包含 hyperframes.json 的目錄。如果意圖層採用了一個配方,請立即使用 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes <PROJECT_ROOT> --name <name> 套用,並且不再詢問。

3. 解讀執行形狀

僅使用 ../hyperframes/references/brief-contract.md 中的規範術語:

欄位含義效果
flow由誰驅動automation:選擇並執行路徑。companion:在對話中共同創作。
storyboard在建構前規劃、草擬和審查yes:執行計劃和草稿審查(storyboard.html)。no:不經規劃直接建構。
衍生 mode檢查點閘道如何運作遵循簡報合約。切勿要求使用者指定模式名稱。

請勿為這些狀態發明同義詞。持續的「直接建構」訊號由意圖層處理,並以 flow: automation、storyboard: no 的形式到達。

  • 對於 flow: automation,選擇路徑並在第一次進度更新中用一行說明。
  • 對於特定編輯,執行編輯,不要發明新的路徑。

若要對現有素材進行硬切、修剪、拼接或重新排序,請將相同的影片來源複製到多個剪輯元素中。在每個副本上,使用 data-media-start 加上 data-duration 設定來源範圍,然後使用 data-start 設定作者指定的位置/順序。獨立創作的音訊則在匹配的 <audio> 元素上遵循相同的剪輯範圍和時間。/hyperframes-core 負責此類時間編輯;僅在使用 /hyperframes-keyframes 進行視覺屬性動畫時(如縮放、推進、平移、裁切、遮罩或內部包裝器上的 clip-path)才使用它。從 ../hyperframes-core/references/creator-editing-recipes.md 複製完整的合約。

輔助流程

當 flow: companion 時:

  • 讀取 BRIEF.md,並將已接受的 ## 素材 和 ## 自訂 與專案成品進行核對。完成仍待處理的已接受工作;跳過已完成的工作;不要將已接受的功能當作新功能再次提供。
  • 以導演而非承包商的身份到來。 選擇協作模式的使用者追求的是參與感和品質;誠實的回應是你能設計出的最佳版本,而非最能為自己辯護的最小版本。第一個計劃就是天花板處理方案:故事弧線(借用最接近的類型鏡頭——選單 § 類型鏡頭)、設計規格、每個場景依名稱引用的動作處理(§ 5 的計劃規範)、轉場、音訊識別——音樂和聲音標記,或有意識的沉默——使用者提供的素材放置,以及設計好的開場和收尾。用一句話說明每個層級添加了什麼;在提到時標記出成本較高的層級(算圖時間、登入、計費)。使用者只需修剪處理方案,絕不該需要逐項批准來拼湊一個方案。
  • 天花板屬於概念,而非工具箱。 每個層級都必須服務於簡報的訊息——一個會以相同方式裝飾任何影片的處理方案只是裝飾。工藝應達到天花板;內容絕不能超出要求(§ 6)。
  • 在檢查點之間,../hyperframes/references/capability-menu.md 有兩種運作方式。作為觸發列表:當使用者提及某個功能的輸入,或建構過程達到該需求時,提供相關功能。作為每次迭代的升級通道:計劃、草稿或建構檢查點可能會攜帶一兩個針對使用者正在查看的素材的追蹤提案(「場景 3 的靜態畫面需要計數處理」)。在提供之前先閱讀它;切勿傾倒整個目錄。
  • 在使用者接受某項功能後,立即產生其成品並在匹配的 BRIEF.md 主體部分記錄該決策。僅在使用者明確更改時,才重寫 frontmatter 欄位並記錄已確認的偏好設定。
  • 保持相同的分鏡腳本、驗證、最終預覽和算圖批准閘道。協作模式改變的是誰來掌舵,而非品質要求。

4. 在每個階段前載入所需知識

當條件匹配時,這些讀取是強制性的:

條件在行動前讀取
任何合成 HTML 或場景佈局/hyperframes-core;使用 references/determinism-rules.md 獲取其佈局合約
任何非平凡的創作或視覺處理/hyperframes-creative → references/house-style.md 和 references/video-composition.md
任何動態、動畫或場景轉場/hyperframes-animation;遵循其路由到匹配的規則、轉接器、藍圖或轉場參考
storyboard: yes../hyperframes/references/storyboard-format.md 和 ../hyperframes/references/review-loop.md
任何媒體素材或操作,包括旁白、背景音樂、音效、字幕、調色或轉換/media-use;對於框架播放和放置,也請閱讀 /hyperframes-core → references/variables-and-media.md
多場景組合../hyperframes/references/production-loop.md
flow: companion,在第一個計劃之前/hyperframes-creative → references/story-spine.md 和 references/house-style.md;最接近的類型鏡頭和完整的 ../hyperframes/references/capability-menu.md——天花板處理方案是從這些中設計出來的,而非回憶起來的
輔助功能提案、捕捉、節拍網格、生成式影片、地圖、發布或跨工作流程功能../hyperframes/references/capability-menu.md
存在設計規格,在最終批准之前/hyperframes-creative → references/design-adherence.md

請勿以記憶取代這些讀取。只有當匹配的參考文件被實際載入時,漸進式揭露才能節省上下文。

5. 執行合成

使用以下依賴順序。僅在缺少輸入時跳過某個階段。

  1. 計劃。 說明觀眾的觀看弧線、結構、節奏和持續時間驅動因素。對於簡短的單一場景,使用一個檔案;對於三個或更多硬場景切換或任何重複使用的場景,使用子合成。閱讀 /hyperframes-creative → references/story-spine.md 了解敘述弧線,references/beat-direction.md 了解節奏,以及 /hyperframes-core → references/composition-patterns.md 了解結構。對於開放式多場景簡報,透過 /hyperframes-creative → references/prompt-expansion.md 擴展提示。多場景計劃會引用每個場景的形狀:一個來自 /hyperframes-animation → blueprints-index.md 的藍圖 ID(當有合適的藍圖時),或當沒有藍圖時,則引用它所組成的具名規則(來自 rules-index.md)——動作名稱必須來自這些索引,而非自行發明。故事的真實性決定哪些場景存在;引用則裝飾它們。在你計劃自行建構任何具名外觀之前,先搜尋最新的目錄:對於簡報中提到的每個外觀、效果、處理或轉場——「CRT 掃描線」、「故障效果」、「底片顆粒」、「閃爍掃過」、「五彩紙屑爆發」——請執行 npx hyperframes catalog --query "<外觀的英文描述>" --json 並在計劃命名如何建構該外觀之前閱讀前幾個結果。此搜尋不需安裝任何東西:不需要專案、不需要先前的 add、不需要帳號。它可以從任何目錄搜尋整個託管註冊表(約 400 個區塊和組件),因此也適用於使用者在建構過程中提出的外觀。計劃中提到的區塊將在階段 3 安裝;僅在搜尋後完全找不到合適的結果時,才手動創作一個外觀。多場景計劃也會被記錄為分派成品:每個場景在 STORYBOARD.md 中的一個 ## 場景 N 區塊——包含 status: outline、宣告的 src:、藍圖/規則引用以及節拍文字——即使在 storyboard: no 時也是如此。該區塊是分派單位;分鏡腳本頁面只是審查表面。
  2. 在要求時審查計劃。 對於 storyboard: yes,對這些區塊執行共用的審查循環。對於 storyboard: no,在不暫停計劃或使用草稿頁面的情況下繼續。當發生計劃暫停時,請勿繼續。
  3. 遞交並撰寫腳本。 …
  4. 建構。 …
  5. 驗證。 …
  6. 最終預覽。 …
  7. 算圖。 …

Individual skills in this repo

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

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

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

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.

相關技能