Communitygithub.com

DansiDanutz/Video-Editor

用於建構或編輯 HyperFrames 專案,使其在 Studio 中開啟時時間軸整潔易讀(一個字幕軌道、每種元素一個軌道、每個場景為一個子合成),並標示字幕與關鍵內容的安全區域。不適用於個別編輯操作(分割、裁剪、調整速度、音量、複製、交換),相關內容請參考 `/hyperframes-core` 中的 `creator-editing-recipes.md`。

Video-Editor 是什麼?

此技能專為 HyperFrames 專案設計,確保在 Studio 中開啟時時間軸具備良好的可讀性與可編輯性。它定義了四項核心結構慣例:每個場景都必須是獨立的子合成,以保持根合成的簡潔;所有字幕集中在同一個字幕軌道中,不分散於多個軌道或與其他元素混合;每個軌道只包含一種元素類型(影片、圖形、字幕或音訊),方便使用者選取、靜音或拖曳整組元素;安全區域(動作安全框與標題安全框)僅顯示於預覽窗格中,不新增至 HTML 合成內容中。此技能支援 HyperFrames 的 lint 檢查與 Studio 預覽,適合開發者在建構包含多層結構的影片專案時使用。遵循這些慣例可避免時間軸變成難以編輯的混亂無標籤行群。

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

在你喜歡的 AI 中提問

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

說明文件

插件安裝: 在執行 setup 或 freshness 指令前,若此技能位於 HyperFrames 插件內,請先遵循插件執行規則。獨立安裝則保留下方更新說明。

HyperFrames Studio 慣例

Studio 為每個頂層元素繪製一個時間軸行。遵循以下規則的專案開啟後會是簡短、可讀的時間軸;未遵循的則會開啟為一堵無法編輯的無標籤行牆。這些是建構時應遵循的慣例。如需變更片段,請參考 /hyperframes-core 中的 references/creator-editing-recipes.md,切勿自行發明不同形式的相同編輯方式。

1. 每個場景都是一個子合成

根合成僅包含定時主體、媒體與音訊。任何具有巢狀結構的場景(包含子元素的 div、含副標題的標題、圖表)都應作為單獨檔案,透過 data-composition-src 載入,並按照 references/sub-compositions.md 進行接線。

留在根合成內的巢狀標記不會自成一行,而是隱藏在一個無法逐部分修剪或移動的不透明行中。

請像有結構檢查工具會拒絕任何違規般進行撰寫。

2. 一個字幕軌道

  • 所有字幕位於同一個軌道上:一個子合成主體(一個 data-track-index),標記為 data-track-kind="captions",依序承載每個字幕群組。
  • 絕對不要每個字幕群組一行,也不要將字幕與其他元素混合在同一個軌道上。
  • 字詞時間規則不變:請參閱 /embedded-captions 及 caption_* lint 規則。

3. 每個軌道一種元素類型

依類型分組,使每一行都是使用者可以選取、靜音或作為一組拖曳的單一項目。

類型data-track-kind
基礎影片 / A-Rollvideo(來自標籤)
場景、覆疊、圖形graphics
字幕captions
音訊(旁白、音樂、音效)audio(來自標籤)

將 data-track-kind 放在子合成主體上。影片與音訊類型來自標籤,因此 <video> 和 <audio> 無需額外屬性。為每種類型指定各自的 data-track-index;該數字僅供顯示,不影響渲染圖層順序。圖層疊放請使用 CSS。

4. 安全區域

任何尺規或安全框疊加層都位於預覽窗格中,絕不在合成內部,因此請勿在 HTML 中加入引導元素。寬畫面與直立畫面兩種構圖都使用相同的兩個安全框,即 Premiere 的預設值。預覽切換會在其每個邊的中點處畫出刻度標記。來源:packages/studio/src/utils/previewSafeMargins.ts 中的 ACTION_SAFE_PERCENT 與 TITLE_SAFE_PERCENT。

安全框佔畫格比例每個邊內縮比例
動作安全框90%5%
標題安全框80%10%
  • 安全邊距:所有可見內容保持在動作安全框(90%)內,字幕與關鍵內容保持在標題安全框(80%)內。
  • 雙欄與 50/50 版面中,每個半邊的內容保持在標題安全框內。

檢查成果

執行 hyperframes lint 並修正所有發現的項目。然後在 Studio 中開啟專案,確認時間軸顯示一個基礎行、每個場景主體一行、一個字幕行以及音訊行。

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

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.

相關技能