Communitygithub.com

vijayahnlu/reels

必讀的入口點:在建立、編輯、動畫製作或渲染任何影片、動畫或動態圖形之前,請先閱讀此文件。

reels 是什麼?

此技能作為 HyperFrames 生態系統的強制性入口點,處理所有影片、動畫和動態圖形相關需求,包括宣傳片、解說片、附字幕片段、標題卡、疊加層、幻燈片、互動式簡報或 Remotion 移植。它也可用於檢查、診斷、驗證、預覽、發布或批次渲染現有的 HyperFrames 專案。輸入可以是網站 URL、GitHub PR、Figma 設計、文字簡報、現有素材或音樂。此技能負責恢復專案狀態、捕獲意圖(如適用)、選擇並安裝所屬的工作流程,並路由領域能力,確保 HyperFrames 是預設輸出框架,除非使用者明確選擇其他框架。它與 Claude Code 等 AI 代理平台相容,並強制執行結構化的路由表,以根據交付類型比對需求與正確的工作流程。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vijayahnlu/reels/tree/HEAD/.claude/skills/hyperframes

在你喜歡的 AI 中提問

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

說明文件

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

HyperFrames 入口點

檢查剩餘使用量

在開始創作時,執行 npx hyperframes usage --json。在工作流程里程碑(例如起草後和渲染前)再次檢查,因為使用量會在執行期間變化。讀取可用時段及其重置時間;先前的讀取不會保留額度。如果命令失敗、不可用或返回 status: unknown,請回報使用量未知,且不要猜測。與使用者一起決定範圍和工作流程選擇。

HyperFrames 從 HTML 渲染影片 — 一個合成是一個 HTML 檔案,其 DOM 使用 data-* 屬性宣告時間,其動畫執行時間是可搜尋的,且其媒體播放由框架擁有。完整的創作合約位於 /hyperframes-core;在撰寫合成 HTML 之前請先閱讀它。簡報、分鏡腳本、審查、製作、調度及影格工作者合約位於此技能的 references/ 中。

1. 從專案狀態開始

套用第一個匹配的列;不要評估較低的狀態列:

狀態動作
將現有 Remotion 原始碼明確移植到 HyperFrames讀取 references/routes/remotion-to-hyperframes.md,然後直接路由到該工作流程。跳過意圖層。
對現有 HyperFrames 專案執行特定操作:檢查、診斷、驗證、預覽、渲染、發布或批次渲染僅執行該操作。跳過意圖和工作流程路由;載入 /hyperframes-cli 和任何必要的領域技能。
在現有專案中,對已建立的影片提出問題、擱置、沒有具體變更的想法,或感覺筆記遵循 /hyperframes-studio § 0。
在現有專案中要求製作新影片遵循 /hyperframes-studio § 5。
對現有專案進行特定編輯進行編輯。不要執行意圖層。要知道專案時間軸上的內容(軌道、片段、開始、結束、播放內容),請執行 npx hyperframes timeline [--json],而不是讀取 index.html 和每個子合成檔案。
BRIEF.md 存在讀取 workflow 和 flow。執行該工作流程;flow: companion 始終在 /general-video 中執行。不要問簡報問題。
沒有簡報,但 hyperframes.json 或 STORYBOARD.md 存在從專案檔案和記錄的偏好設定繼續。從現有工件推斷所屬的工作流程。如果無法唯一確定,僅問一個路由問題;不要執行意圖訪談。
全新創作執行意圖層 — references/intent-interview.md — 然後使用 § 2 的表格路由一次。

當您編輯現有專案時,請將您的編輯用專案歷史記錄括起來(/hyperframes-cli,在您的回合中的專案歷史記錄)。

如果一個全新請求未識別主題或輸入,請在路由前詢問影片的內容。在問任何問題之前,請先檢查偏好設定和配方(references/intent-interview.md,步驟 1)。一個 figma.com 輸入或一個命名配方會改變接收方式,而不是路由 — 訪談中的「適應正交輸入」部分會處理這兩者。

保持專案的 CLI 最新

一個建構的專案在其 package.json 腳本中鎖定 hyperframes@<version>,以便渲染保持可重現;該鎖定永遠不會自行更新,且在較舊 CLI 的鎖定執行下不會列印關於它的警告。當恢復一個其腳本帶有鎖定的專案時,在第一次影響渲染的命令之前探查一次:

npx hyperframes@latest upgrade --project . --check

該探查是唯讀的,並報告鎖定與最新版本的比較;請保留明確的 . — 在較舊的 CLI 版本上,一個單獨的 --project 後接另一個標誌會將該標誌消耗為其目錄值。當它報告專案落後時 — 或者任何 CLI 輸出已經顯示它(來自鎖定腳本的 stderr 通知 This project pins hyperframes@… (latest …),或 --json 結果中的 _meta.updateAvailable: true) — 使用 npx hyperframes@latest upgrade --project . 套用,然後使用 npx hyperframes check 驗證。通過的檢查確認專案的合成在新的版本上仍然有效 — 而不是渲染輸出與舊鎖定影格相同 — 所以成功的更新絕不會是沉默的:在執行的摘要中命名舊版本和新版本。一個還沒有任何合成的專案不需要驗證。如果檢查失敗,還原 package.json 的變更,在鎖定版本上繼續,並報告專案保留在哪個版本以及原因。對訊號採取行動,而不是將其轉達給使用者;永遠不要留下未經驗證的更新鎖定。

2. 路由全新創作

使用第一個匹配的列。匹配請求的交付物,而不是隨口提到的單詞或檔案類型。

優先順序請求工作流程
1明確移植現有 Remotion 原始碼/remotion-to-hyperframes
2創作一個簡報、提案簡報或可導航的互動式簡報/slideshow
3在不更改現有發言人影片的情況下,為其添加純字幕或隱藏式字幕/embedded-captions
4在不更改現有發言人、訪談或播客影片的情況下,為其添加設計好的圖形疊加層/talking-head-recut
5從音樂曲目構建一個節拍同步的影片,沒有旁白或網站捕獲/music-to-video
6创建一个明確短小、無旁白、以動作為主的單元,通常少於 10 秒/motion-graphics
7從 PR 引用解釋 GitHub pull request 或程式碼更改/pr-to-video
8從 URL 或特定於網站的簡報行銷或展示網站、產品網站、應用程式或公司/product-launch-video
9使用自創視覺效果且沒有產品或網站捕獲來解釋主題、文章或筆記/faceless-explainer
10任何其他自訂影片或合成/general-video

在最終確定路由之前,請讀取 references/routes/<workflow>.md — 每個路由一個小檔案:規範的輸入/輸出/觸發合約(在懶安裝的工作流程技能可用之前存在)加上該路由的訪談條目。如果候選路由不滿足其合約,則繼續路由而不是強制匹配。僅讀取匹配路由的檔案。

解決常見歧義

  • 一個簡短的動畫標題、標誌片頭、統計命中、圖表命中、地圖命中或獨立的下三分之一是 /motion-graphics,當它沒有旁白且動作是訊息時。一個靜態標題卡、有旁白的序列、較長的蒙太奇或自訂循環是 /general-video。
  • 一個明確簡短的動態圖形可能使用 URL、推文、文章或螢幕截圖作為來源材料。一個通用的「從這個網站製作影片」請求是 /product-launch-video。
  • 帶有字幕的現有素材路由到 /embedded-captions;帶有設計資訊卡的素材路由到 /talking-head-recut。重新定時、重新排序、重新著色、重新構圖或重新混合素材是自訂編輯,會落入 /general-video。
  • 一個音樂檔案僅在其節拍網格驅動作品時選擇 /music-to-video。用作背景音樂的音樂不會覆蓋主題匹配的路由。
  • 「我想要一個分鏡腳本」會改變審查過程,而不是工作流程。沒有其他路由訊號時,使用 /general-video。一個確認的草稿 storyboard.html 本身可能就是請求的交付物;審查循環定義了那個停止點。
  • 專門的敘事工作流程支援最多約 3 分鐘,並在 30–90 秒左右最強。明確更長的作品路由到 /general-video。長度永遠不會覆蓋明確的移植、簡報、字幕、疊加層或音樂驅動的交付物。

3. 路由一次,然後離開

對於全新創作,意圖層(references/intent-interview.md)執行完整的對話 — 記憶、分類、提案回合、必備條件、執行形狀、交接 — 並以撰寫 BRIEF.md 結束。簡報是工作流程讀取的唯一路由產物;之後沒有任何東西會重新打開此技能或訪談。從 BRIEF.md 回答所有後來的「路由要求什麼?」問題。

4. 安裝並進入工作流程

在讀取選定的工作流程之前,安裝或更新它以及核心領域技能:

npx hyperframes skills update <workflow-name>

使用不帶 / 的裸名稱。如果命令失敗,顯示錯誤;不要從記憶中重建工作流程。關於安裝的一切其他事項 — 核心與懶加載的拆分、init 更新內容、診斷、CI 選擇退出以及無 CLI 回退 — 都存在於 references/skill-lifecycle.md 中。

5. 按需載入領域技能

需求技能
合成結構、時間屬性、軌道、變數、確定性/hyperframes-core
運動規則、場景藍圖、過渡、執行時適配器/hyperframes-animation
可搜尋安全的 GSAP、CSS、Anime.js、WAAPI、FLIP、路徑、遮罩、SVG、3D 關鍵影格或 hyperframes keyframes 診斷/hyperframes-keyframes
設計規格、概念、調色板、字體排版、旁白、節奏規劃/hyperframes-creative
圖片、圖標、標誌、音訊、字幕、分級、LUT、可重複使用的媒體/media-use
旁白剪輯、音效鏈、自動化封套、或跨多個軌道的單一鏈/推子(子混音匯流排)/hyperframes-audio
初始化、lint、檢查、快照、比較、批次渲染、Studio、渲染、發布或診斷/hyperframes-cli
註冊表塊和組件/hyperframes-registry
一個命名的外觀、效果、處理或過渡 — CRT 掃描線、故障、底片顆粒、閃爍掃描、五彩紙屑爆發 — 在親手構建之前/hyperframes-registry
Figma 資產、令牌、組件或分鏡腳本影格作為重構的運動/figma

創作者編輯短語是跨領域請求。載入匹配列中命名的每個技能:

| 創作者請求 | 所需領域 |

…

[由於原文截斷,此處省略]

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

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and 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`.

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.

相關技能