Communitygithub.com

HyperFrames 入口技能

任何製作、建立、編輯、動畫化或渲染影片、動畫、動態圖形的強制入口點。也用於檢查、診斷、驗證、預覽、發佈或批次渲染現有的 HyperFrames 專案。

HyperFrames 入口技能 是什麼?

此技能作為所有 HyperFrames 相關工作的強制入口點,從影片製作到專案管理。對於使用 HyperFrames 框架的任何 AI 代理(如 Claude Code、Cursor 或 Codex)至關重要。它處理意圖收集、工作流程路由、狀態恢復和領域技能載入。它支援多種輸入類型:網站 URL、GitHub PR、Figma 設計、文字簡報、現有素材或音樂。此技能包含一個優先級路由表,根據請求的交付物(例如,促銷影片 vs. 解釋器 vs. 投影片)將請求映射到特定的工作流程。它詳細說明了如何從專案狀態開始、處理全新創作、安裝必要的工作流程技能以及按需求載入領域專長(如核心動畫、關鍵影格、音訊或 Figma 整合)。該文件強調專案特定 CLI 版本管理,以實現可重現的渲染,並提供明確的指令來檢查和升級專案的固定 `hyperframes` 版本。它也涵蓋了常見的歧義解決方案,例如區分簡短動態圖形和完整的自訂影片。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/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@<版本>,以使渲染保持可重現;該固定版本永遠不會自行升級,且使用較舊 CLI 的固定執行不會列印關於此的警告。當恢復一個其腳本帶有固定版本的專案時,在第一次影響渲染的命令之前探查一次:

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

該探查是唯讀的,並報告固定版本與最新版本的比較;請保留明確的 .——在較舊的 CLI 版本上,一個裸的 --project 後跟另一個旗標會將該旗標消耗為其目錄值。當它報告專案落後時——或任何 CLI 輸出已顯示(來自固定腳本的 stderr 通知 此專案固定 hyperframes@…(最新 …),或 --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 拉取請求或程式碼變更/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 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

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

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.

相關技能