Communitygithub.com

Alemoterani/auto-edit-hyperframes

用於在 HyperFrames Studio 中與他人協作:判斷他們的訊息是否要求修改(提問、模糊想法或「不要更改任何東西」應得到回答與計劃,而非編輯);建立新影片的計劃、分鏡及建置順序;以及如何安排時間軸以使其易於閱讀(一個字幕軌、每個軌道一種元素類型、每個場景一個子合成),並說明字幕與關鍵內容應放置的安全區域。

auto-edit-hyperframes 是什麼?

此技能定義了一套在 HyperFrames Studio 專案中與他人協作的明確協定。它首先要求 AI 判斷使用者的訊息是要求修改、提出問題,還是提供想法,並據此決定是否要修改檔案或僅提供回答與計劃。技能詳細說明了 HyperFrames 專案的時間軸建構慣例,包括:每個場景必須是獨立的子合成(sub-composition)、所有字幕集中在單一軌道(track)、每個軌道僅含一種元素類型(例如影片、圖形、字幕、音訊),以及內容應保持在動作安全框(action-safe box,90%)和標題安全框(title-safe box,80%)內。此外,對於建立新影片,它定義了從 Brief、Directions、Storyboard 到 Build 的標準流程,並特別針對產品發表影片給出使用真實素材、保持場景一致性、游標與滾動內容處理等指引。此技能支援所有 HyperFrames Studio 專案,並透過明確的檢查步驟確保專案符合規範。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/skills/hyperframes-studio

在你喜歡的 AI 中提問

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

說明文件

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

HyperFrames Studio 慣例

Studio 會為每個頂層元素繪製一個時間軸行。遵循以下規則的專案會以簡短、易讀的時間軸形式開啟;不遵循的專案則會開啟成一堆無法編輯的未標籤行。這些是關於要建立什麼的慣例。關於如何修改片段,請遵循 /hyperframes-core 的 references/creator-editing-recipes.md,切勿發明同一編輯操作的不同形式。

0. 先討論,再建置

在開啟檔案之前,請先閱讀訊息。判斷對方要求的是什麼:

對方行為你的回應
明確提出修改(即使是客氣的語氣,例如「讓標題更大一點」、「可以剪掉第三個場景嗎?」)執行修改。
對已完成的影片表達感受(「開場感覺很突兀」、「長度不夠」)找出原因,調整可量化的部分,說明該感受的含義以及你做了什麼改變,並根據 /hyperframes-creative references/storyboard-recipe.md § 4 記錄下來。
提出問題但未提及任何修改(「為什麼標題會跳動?」)回答問題。不修改任何內容。
說不要修改任何東西、稍等、「只是在想」、「我們聊聊」不修改任何檔案,即使是你注意到的錯誤也不要改。僅以文字形式提供建議。
對這個影片提出一個想法,但沒有具體的修改(「我希望結尾感覺更壯觀」)提出修改方案並將其加入計劃(見下方)。不修改任何合成檔案。
要求一個新影片規劃它(§ 5)。
批准一個計劃(「建置吧」、「開始」)建置被批准的內容。

既提出問題又要求修改的訊息,則同時給予回答和修改。只有當你無法判斷對方是否要求任何東西時,才將其視為對話:一個錯誤的回答只會浪費一次訊息;一次錯誤的建置則會浪費一次長時間執行和一輪回饋。

對話回覆應包含:

  • 首先用幾句簡單的話直接回答。
  • 只問那些答案會改變影片的問題,每個問題都要附上建議答案及其取捨(「30 秒適合動態消息;60 秒則為展示留下空間」)。
  • 當有一個想法需要成形時:對於新影片,依 /hyperframes references/pitch-round.md 的方向進行;對於關於本片的想法,則針對所指部分提供兩到三個選項,並推薦其中一個。
  • 最後說明下一步以及觸發下一步的關鍵字(例如「說『開始』,我就會動手」)。

將計劃保留在專案中,而不僅僅是對話記錄:下一則訊息可能來自一個看不到當前對話的新工作階段。依照 /hyperframes-creative references/storyboard-recipe.md § 4 記錄回合的方式,將計劃加入 STORYBOARD.md;切勿覆蓋已鎖定的畫格。如果對方要求你完全不要修改任何東西,則什麼也別寫:將計劃放在回覆中,並提議將其儲存。

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

根合成僅包含計時主機(timed hosts)、媒體和音訊。任何具有巢狀結構的場景(一個包含子元素的 div、一個帶副標題的標題、一個圖表)都應有自己的檔案,透過 data-composition-src 載入,並按照 /hyperframes-core references/sub-compositions.md 的說明進行連接。

留在根合成內的巢狀標記不會形成獨立的時間軸行。它會隱藏在一個無法逐段修剪或移動的單一不透明行中。

撰寫時,請假設存在一個「結構檢查工具」(structure lint),任何違規都會被拒絕。

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%)內。
  • 雙欄(Two-up)和 50/50 佈局應將每半邊的內容保持在標題安全框內。

5. 新影片:計劃、分鏡、建置

hyperframes-launches 的影片是依此順序製作的。每個步驟都有負責的檔案;請直接遵循,此處不再重述。

步驟負責檔案/說明
1. Brief/hyperframes references/intent-interview.md。在現有專案內,僅限於同一影片的後續工作(新版本或縮減版,工作流程與畫面比例相同)。問完必問題後,跳過 hyperframes init,切勿覆蓋 BRIEF.md 或 STORYBOARD.md,而是在每個檔案中新增一個帶有日期的章節,並在回覆中告知。如果工作流程或畫面比例不同,則應建立新專案,並在回覆中說明。
2. Directions/hyperframes references/pitch-round.md
3. Storyboard/hyperframes-creative references/storyboard-recipe.md
4. Build由 Brief 路由到的工作流程(/hyperframes § 2)及其自身的參考資料
5. Notes/hyperframes references/review-loop.md

以下是發表用影片額外增加的要點(針對產品發表的補充)。當工作流程選擇的故事弧(arc)有不同規定時,以故事弧為準。

  • 使用發表產品的真實素材。 除非工作流程本身能自動捕獲(例如從 URL 擷取網站),否則請在 Brief 階段要求提供螢幕錄製,並在取得前用帶標籤的佔位符保留其位置。切勿近似模擬發表產品的 UI。作為上下文展示的第三方工具(如聊天應用、編輯器)則應根據截圖忠實重建。
  • 同一個世界。 相同的視窗或畫布應在不同節拍(beats)之間連續呈現。檢查每個剪輯點:任何持續存在的元素都不應跳動。
  • 游標與滾動內容。 游標或視窗本身滾動出去的內容,應透過視窗或畫面邊緣離開,而不是在原地淡出。元素和文字的切換應遵循工作流程的 cut-catalog.md(如果有的話)。
  • 以命令或網址作為結尾, 且 Logo 應落在仍在移動的素材上。
  • 在每個版本都標明執行時間。 超過目標長度是對方的決定,不是你的。

檢查你的工作

執行 hyperframes check(它會執行 lint)並修正所有發現的問題。然後在 Studio 中開啟專案,確認時間軸顯示了一個基礎行、每個場景主機各一行、一個字幕行以及音訊行。

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Alemoterani/auto-edit-hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Alemoterani/auto-edit-hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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`.

Alemoterani/auto-edit-hyperframes

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, clean, 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.

相關技能