Communitygithub.com

vijayahnlu/reels

在 HyperFrames Studio 專案中與人協作時,用於判斷是否進行編輯、規劃新影片、以及遵循時間軸版面與安全區域的慣例。

reels 是什麼?

此技能定義了在 HyperFrames Studio 中協作的工作流程與專案組織慣例。它首先要求 AI 閱讀使用者的訊息並判斷是否要求變更:純粹的問題、未明確的構想,或「不要改變任何東西」這類訊息應以回答或計劃回應,而非執行編輯。 主要內容包含: 1. **時間軸佈局慣例**:強制將每個場景作為子合成處理、將所有字幕集中在一個軌道、每個軌道只放置一種元素類型(影片、圖形、字幕、音訊),並使用 `data-track-kind` 屬性進行標記。這確保時間軸簡潔且可編輯。 2. **安全區域**:規定所有可見內容必須位於動作安全框(90%)內,字幕與關鍵內容則位於標題安全框(80%)內。 3. **完整的工作流程**:針對新影片,定義了從簡報、方向、分鏡腳本、建置到審核評論的步驟,並明確指出應遵循哪些文件(例如 `intent-interview.md`、`pitch-round.md`、`storyboard-recipe.md`)。 4. **檢查工作**:要求執行 `hyperframes check` 並修復所有問題,然後在 Studio 中驗證時間軸佈局。 此技能適用於 HyperFrames Studio 此一特定平台。其核心在於建立明確的協作規則以避免誤解,並建立可預測的專案結構以確保可讀性與可編輯性。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/vijayahnlu/reels/tree/HEAD/.claude/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 中的方向;對於本片的一個想法,提供兩到三個選項。推薦其中一個。
  • 結尾寫明下一步驟以及兩個讓 AI 啟動的詞(例如:「說『開始』,我就會動工」)。

請將計劃保留在專案內,而非僅限於對話中 :下一則訊息可能開啟一個無法看到此對話的新 session。將計劃新增至 STORYBOARD.md,其方式如同 /hyperframes-creative references/storyboard-recipe.md § 4 記錄一輪修改意見;切勿覆寫已鎖定的影格。如果使用者要求你完全不要變更任何東西,則不要寫入任何東西:將計劃放在回覆中,並主動表示可以儲存它。

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

根目錄合成僅包含設定時間長度的主機、媒體和音訊。任何具有巢狀結構的場景(一個包含子元素的 div、一個附有副標題的標題、一個圖表)都應是其獨立的檔案,並透過 data-composition-src 載入,其接線方式請見 /hyperframes-core references/sub-compositions.md。

留在根目錄內的巢狀標記不會成為獨立的軌道。它會藏在一個不透明的軌道內,無法逐部分裁剪或移動。

請以「結構檢查器會拒絕任何違規」的心態來創作。

2. 一個字幕軌道

  • 所有字幕都位於一個軌道上:一個單一的子合成主機(一個 data-track-index),標記為 data-track-kind="captions",並依序包含每個字幕群組。
  • 切勿每個字幕群組一個軌道,也切勿將字幕混合到其他類型的軌道上。
  • 文字時機規則保持不變:請參閱 /embedded-captions 和 caption_* 的檢查規則。

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(若有的話)。
  • 結尾停留在命令列或網址列上, 並讓 Logo 落在仍在動態的素材中。
  • 在每個版本中說明執行時間。 超過目標執行時間是使用者的決定,而非你的。

檢查你的工作

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

Individual skills in this repo

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

vijayahnlu/reels

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.

vijayahnlu/reels

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

vijayahnlu/reels

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.

vijayahnlu/reels

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.

vijayahnlu/reels

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

vijayahnlu/reels

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.

vijayahnlu/reels

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

vijayahnlu/reels

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.

vijayahnlu/reels

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.

相關技能