Communitygithub.com

laviedezidane/hyperframes-skill

在沒有特化工作流程可用時,或當 BRIEF.md 設定 flow: companion 時,撰寫或編輯自訂的 HyperFrames 合成。適用於較長或多場景的作品、品牌與精華片段、蒙太奇、靜態循環、靜態標題卡、素材混剪及自由創作。短篇無旁白、以動畫為主(含動態標題)的單元請改用 motion-graphics。在開始使用此技能前,請先透過 hyperframes 進行全新創作。

hyperframes-skill 是什麼?

此技能 (general-video) 是 HyperFrames 生態系中用於一般影片創作與編輯的核心工作流程。它處理從簡報解讀、素材適配、專案初始化,到合成執行的完整生命週期。支援自動化(無需干預)與協作(與使用者共同創作)兩種模式,並透過嚴格的知識讀取門檻與檢查點機制確保品質。技能強制在每個階段前載入對應的規範文件(如 hyperframes-core, hyperframes-creative, hyperframes-animation 的參考資料),以維持輸出的確定性與風格一致性。它還整合了媒體素材(/media-use)與 Figma 設計(/figma)的適配器,並透過 `npx hyperframes catalog` 搜尋預製區塊來避免重複造輪。最終產出為合規的合成 HTML,並透過 Brief Contract 與檢查點循環進行驗證與渲染審批。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/skills/general-video

在你喜歡的 AI 中提問

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

說明文件

外掛安裝: 在執行設定或新鮮度指令前,若此技能位於 HyperFrames 外掛內部,請遵循外掛執行規則。獨立安裝則保留下方的更新說明。

一般影片

在工作流程剛讀取過 npx hyperframes usage --json 的前提下,於開頭執行該指令,然後在草稿完成後、渲染前等里程碑再次檢查。檢視可用視窗與重設時間。若使用量未知,請如實告知而不猜測配額;與使用者共同決定範圍與工作流程選擇。

在依賴此工作流程前,請執行:

npx hyperframes skills update general-video

若成功執行無操作(no-op),表示技能已為最新。若更新失敗,請直接顯示錯誤,而非依賴記憶繼續作業。

1. 套用跨領域來源適配器

  • 媒體: 對於任何音訊、圖片、圖示、標誌、語音、調色、LUT、處理/效果、字幕或媒體操作需求,請載入 /media-use 並遵循 ../media-use/references/resolve.md(解析、採用、重複使用)與 ../media-use/references/setup-providers.md(提供者、認證)。對於模糊的片段反饋與命名風格,請在編輯前使用 ../media-use/references/media-treatments.md;請勿以 CSS/SVG/透明度即興創作支援的媒體效果。在首次已認證的提供者操作前,請執行 npx hyperframes auth status 並逐字傳達其輸出。若為登出狀態,請套用 ../hyperframes/references/brief-contract.md 中的閘道:協作模式下等待登入或明確的離線選擇;自動化模式下則陳述狀態並透過可用的離線提供者繼續。若無離線提供者能滿足必要能力,請標示為阻礙。僅本機採用不需要認證閘道。
  • Figma: 若任何輸入為 figma.com 網址,請先執行 /figma。從其匯出的資產、權杖、元件或分鏡框架進行建構。請勿使用原始 Figma 連接器呼叫,因為它們會跳過 SVG 淨化、媒體溯源與品牌權杖綁定。

這些適配器不會改變 /hyperframes 所選的工作流程。

2. 從專案狀態開始

套用第一個符合的列;請勿評估較低層級的狀態列:

狀態動作
特定編輯進行編輯,保留現有專案決策,然後重新執行受影響的檢查。請勿重新開始探索。
BRIEF.md 已存在讀取它。若 workflow 指定了其他工作流程且 flow 不是 companion,則移交。不詢問任何簡報問題。
無簡報,但 hyperframes.json 或 STORYBOARD.md 存在從檔案與記錄的偏好設定恢復。僅根據已知事實回填 BRIEF.md。
全新創作執行 /hyperframes 及其意圖層。僅在 workflow: general-video 或 flow: companion 時返回此處。

對於新專案,請從簡報中選擇一個 kebab-case 目錄名稱,並在撰寫簡報前進行搭建:

npx hyperframes init "videos/<project>" --non-interactive --example=blank --skill=general-video

然後使用 ../hyperframes/references/brief-format.md 在專案根目錄下撰寫 BRIEF.md。在現有專案中,根目錄為包含 hyperframes.json 的目錄。僅記錄簡報格式所指定、並已確認的偏好支援欄位,使用 node <MEDIA_DIR>/scripts/prefs.mjs record --hyperframes <PROJECT_ROOT>;切勿記錄推斷的預設值。此處 <MEDIA_DIR> 為已安裝的 /media-use 技能目錄,<PROJECT_ROOT> 為包含 hyperframes.json 的目錄。若意圖層已採用某個配方,請立即以 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes <PROJECT_ROOT> --name <name> 套用它,且不再詢問。

3. 解讀運行形態

僅使用 ../hyperframes/references/brief-contract.md 中的規範術語:

欄位意義效果
flow誰驅動automation:選擇並執行路徑。companion:在對話中共同創作。
storyboard在建立前進行規劃、草稿與審查yes:執行規劃與草稿審查(storyboard.html)。no:直接建立。
衍生 mode檢查點閘門的行為方式遵循簡報合約。切勿要求使用者命名模式。

請勿為這些狀態發明同義詞。持續的「直接開始建立」訊號由意圖層處理,並以 flow: automation、storyboard: no 的形式到達。

  • 對於 flow: automation,請選擇路徑並在第一次進度更新中以一行文字陳述。
  • 對於特定編輯,請進行編輯,無需發明新路徑。

對於現有素材的硬切、修剪、拼接或重新排序,請將相同的影片來源複製到多個片段元素。在每個副本上,使用 data-media-start 加 data-duration 設定來源範圍,然後使用 data-start 設定已授權的放置/順序。每個影片片段保留其聲音:聲音保留在片段上(data-has-audio="true"),因此剪輯影片也會剪輯其聲音。/hyperframes-core 擁有此時間編輯;僅在內部包裝器上使用 /hyperframes-keyframes 進行視覺屬性動畫,例如縮放、衝擊、平移、裁切、遮罩或 clip-path。從 ../hyperframes-core/references/creator-editing-recipes.md 複製完整的合約。

協作流程

當 flow: companion 時:

  • 讀取 BRIEF.md 並將已接受的 ## Assets 與 ## Customizations 與專案成品進行比對。完成已接受但仍待完成的工作;保留已完成的工作;不要將已接受的能力再次提出,彷彿是新的。
  • 以導演而非承包商的角色到場。 選擇協作的使用者選擇了參與與品質;誠實的回答是你所能設計的最佳版本,而非你所能辯護的最小版本。第一個計畫是天花板處理:故事弧線(借鑑最近的類型鏡頭——選單 § 類型鏡頭)、設計規格、每個場景的動態處理(以 § 5 的計畫紀律命名)、轉場、音訊識別——音樂與聲音標記,或刻意的靜默——使用者的素材擺放,以及精心設計的開場與結尾。以一行說明每一層貢獻了什麼;標示出昂貴的層(渲染時間、登入、計費)。使用者會修剪處理方案;他們絕不應該逐一批准地拼湊出一個方案。
  • 天花板屬於概念,而非工具箱。 每一層都必須服務簡報的訊息——任何影片都能套用相同處理方式的方案只是裝飾。工藝力求觸及天花板;內容絕不超出所要求的範圍(§ 6)。
  • 在檢查點之間,../hyperframes/references/capability-menu.md 有兩種運作方式。作為觸發清單:當使用者提及某項能力的輸入,或建構進行到需要該能力時,提供相關的能力。作為每次通過的升級通道:計畫、草稿或建構檢查點可以攜帶一兩個追蹤的提案,指向使用者正在查看的材料(「場景 3 的統計資料想要計數處理」)。在提供之前先讀取它;切勿傾倒完整目錄。
  • 使用者接受某項能力後,立即產生其成品,並將決策記錄在相應的 BRIEF.md 正文區段中。僅當使用者明確變更時,才重寫 frontmatter 欄位並記錄已確認的偏好。
  • 保持相同的分鏡、驗證、最終預覽與渲染審核閘門。協作改變的是誰來掌控,而非品質需要什麼。

4. 在每個階段前載入所需知識

當其條件符合時,這些讀取是強制性的:

條件在執行前讀取
任何合成 HTML 或場景佈局/hyperframes-core;使用 references/determinism-rules.md 取得其佈局合約
任何非平凡的創作或視覺處理/hyperframes-creative → references/house-style.md 與 references/video-composition.md
任何動態、動畫或場景轉場/hyperframes-animation;遵循其路由至相符的規則、適配器、藍圖或轉場參考資料
storyboard: yes../hyperframes/references/storyboard-format.md 與 ../hyperframes/references/review-loop.md
任何媒體資產或操作,包括旁白、背景音樂、音效、字幕、調色或轉換/media-use(主機應用程式本身的音樂與音效工具優先使用);若涉及框架播放與放置,也請讀取 /hyperframes-core → references/variables-and-media.md
多場景組裝../hyperframes/references/production-loop.md
flow: companion,在首次計畫之前/hyperframes-creative → references/story-spine.md 與 references/house-style.md;最近的類型鏡頭與完整的 ../hyperframes/references/capability-menu.md——天花板處理由此設計,而非回想
協作能力提案、擷取、節拍網格、生成式影片、地圖、發佈或跨工作流程能力../hyperframes/references/capability-menu.md
設計規格已存在,在最終核准之前/hyperframes-creative → references/design-adherence.md

請勿以記憶取代這些讀取。僅在實際載入相符參考資料時,漸進式揭露才能節省上下文。

5. 執行合成

使用此依賴順序。僅在其輸入缺失時跳過某個階段。

  1. 計畫。 陳述觀眾弧線、結構、節奏與持續時間驅動因素。短篇單場景使用一個檔案;三個以上硬場景切換或任何重複場景使用子合成。閱讀 /hyperframes-creative → references/story-spine.md 以了解敘事弧線,references/beat-direction.md 以了解節奏,以及 /hyperframes-core → references/composition-patterns.md 以了解結構。對於開放式多場景簡報,透過 /hyperframes-creative → references/prompt-expansion.md 擴展提示。多場景計畫引用每個場景的形狀:若適用則從 /hyperframes-animation → blueprints-index.md 取得藍圖 ID,若不適用則引用其從 rules-index.md 組合而成的命名規則——動態名稱來自這些索引,絕不發明。故事真實性決定哪些場景存在;引用則為它們打扮。在計畫自行建立任何命名外觀之前,請先搜尋即時目錄:對於簡報中命名的每個外觀、效果、處理或轉場——例如「CRT 掃描線」、「故障」、「底片顆粒」、「閃耀掃掠」、「五彩紙屑爆裂」——請執行 npx hyperframes catalog --query "<外觀的平實英文描述>" --json,並在計畫命名該外觀如何建構之前閱讀頂部結果。此搜尋無需安裝任何東西:無需專案、無需先前的 add、無需帳戶。它會從任何目錄對整個託管註冊表(約 400 個區塊與元件)進行排名,因此也適用於使用者在建構過程中提出的外觀。計畫命名的區塊將在第 3 階段安裝;僅在搜尋後完全找不到合適內容時,才手動製作外觀。多場景計畫也記錄為分派成品:在 STORYBOARD.md 中每個場景一個 ## Frame N 區塊——status: outline、宣告的 src:、藍圖/規則引用

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

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

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.

相關技能