Communitygithub.com

laviedezidane/hyperframes-skill

用於在 Studio 中與他人協作 HyperFrames 專案時使用:首先判斷對方訊息是否要求任何變更(問題、模糊想法和「不要更改任何內容」會得到回答和計劃,而非編輯);對於新影片,遵循 HyperFrames 發行影片的計劃、分鏡和建置順序;以及如何安排時間軸以使其易於閱讀(一個字幕軌道、每種元素一個軌道、每個場景一個子合成),以及字幕和關鍵內容可能放置的位置(安全區域)。請勿用於如何執行單一編輯(分割、修剪、重新設定時間、音量、複製、交換):那是 `/hyperframes-core` 中的 `creator-editing-recipes.md`。

hyperframes-skill 是什麼?

此技能定義了在 Studio 中組織 HyperFrames 專案的慣例,以確保時間軸保持簡短且可編輯。它涵蓋了與協作者互動的關鍵規則:分析訊息以決定是否應進行編輯、回答問題或僅僅記下想法,並將計劃保存在專案的 STORYBOARD.md 檔案中,而不是僅儲存在聊天記錄中。技能強制執行結構化時間軸佈局,其中每個場景都是一個獨立的子合成檔案,所有字幕都集中在一個專用軌道上,並且每種視覺元素類型(影片、圖形、字幕、音訊)都擁有自己的軌道。它還為所有內容定義了「安全區域」(行動安全框 90%,標題安全框 80%),以確保在預覽中正確定位,特別是在雙欄佈局中。對於新影片,它規定了標準工作流程:簡報、方向、分鏡、建置和審查,並針對包含真實產品畫面、一致世界觀和適當遊標行為的產品發行提供了特定準則。最後,它指示使用 `hyperframes check` 命令來驗證專案是否符合這些慣例。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/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. 每個場景都是一個子合成

根合成僅包含計時的主機、媒體和音訊。任何具有嵌套結構的場景(包含子元素的 div、帶有副標題的標題、圖表)都應是使用 data-composition-src 載入的獨立檔案,接線方式請參閱 /hyperframes-core 的 references/sub-compositions.md。

留在根內部的嵌套標記不會成為獨立的一列。它會隱藏在一個不透明的列中,無法逐部分修剪或移動。

請以結構化檢查工具會拒絕任何違規的方式進行創作。

2. 一個字幕軌道

  • 所有字幕都位於一個軌道上:一個標記為 data-track-kind="captions" 的單一子合成主機(一個 data-track-index),按順序容納所有字幕組。
  • 絕不能每個字幕組一個列,也絕不能將字幕與其他種類混合在同一個軌道上。
  • 文字時間規則保持不變:請參閱 /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 佈局應將每半邊的內容保持在標題安全框內。

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

hyperframes-launches 影片是按此順序製作的。每個步驟都有所有者;請遵循它,不要在此處重述。

步驟所有者
1. 簡報/hyperframes 的 references/intent-interview.md。在現有專案中,只有同一部影片的後續內容(新版本或精簡版,相同工作流程和長寬比)會保留。詢問其必答問題,跳過 hyperframes init,切勿覆寫 BRIEF.md 或 STORYBOARD.md,為每個檔案新增一個新的日期章節,並在回覆中說明。具有不同工作流程或長寬比的影片則啟動一個新專案,並在回覆中說明。
2. 方向/hyperframes 的 references/pitch-round.md
3. 分鏡/hyperframes-creative 的 references/storyboard-recipe.md
4. 建置簡報所引導的工作流程(/hyperframes § 2)及其自己的參考文件
5. 評論/hyperframes 的 references/review-loop.md

以下是發行影片為產品發行所增加的內容。如果工作流程選擇的架構另有規定,則以該架構為準。

  • 所發行產品的真實畫面。 在簡報中要求提供螢幕錄影,除非工作流程本身會捕捉它(例如從 URL 擷取網站),並在收到前用標籤化的佔位符保留其位置。切勿近似模擬所發行產品的 UI。作為上下文顯示的第三方工具(如聊天應用程式、編輯器)則從錄製畫面忠實重建。
  • 同一個世界。 同一個視窗或畫布在不同場景間持續存在。仔細檢查每個剪輯點:任何持續存在的元素都不得跳動。
  • 遊標和滾動內容。 遊標,或視窗本身滾出的內容,應從視窗或影格邊緣離開,而不是在畫面中間淡出。元素和文字的切換應遵循工作流程的 cut-catalog.md(如果有的話)。
  • 在命令或網址處結束, 標誌出現在仍在移動的畫面中。
  • 在所有版本中標明執行時間。 超過目標時間由對方決定,而非你。

檢查你的工作

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

Individual skills in this repo

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Agent Media OS for 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. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.

laviedezidane/hyperframes-skill

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

相關技能