Communitygithub.com

Drama2557/4RealDigital-Video-Studio

設計主導的短動態圖形 — 動態本身即為訊息,包括動態文字、數據計數、圖表/數據視覺化、標誌揭示/品牌鎖定、下三分之一/標註/社交疊加、動畫地圖(高亮區域、連接地點、縮放到位置)、動畫推文/新聞文章/頭條、網頁/UI動畫(滾動、游標、標註),或將真實圖像幾何融入圖表。通常少於10秒(最長約30秒),無旁白或真人主體;輸出為 MP4 或透明疊加。更長/有旁白/多場景 → /general-video。不確定 → /hyperframes。

4RealDigital-Video-Studio 是什麼?

這是一個專為創建短篇、設計主導且無旁白動態圖形的 AI 助理技能。其核心理念是「動態即訊息」,專注於在 10 秒內(最多 30 秒)以純視覺方式傳達訊息。技能涵蓋多種分類,例如動態文字、數據計數、圖表動畫、標誌揭示、下三分之一標題、地圖動畫、社交媒體貼文動畫以及網頁/UI 互動動畫。它採用資產優先的工作流程:在建構動畫之前,先決定資產策略並取得實際素材(可能透過搜尋),然後圍繞這些資產設計鏡頭,最後以重複使用目錄中現有區塊的方式進行組合。此技能支援 macOS Apple Silicon 和 Linux x64 系統,需要 Node.js、FFmpeg 和 npx hyperframes 工具。工作流程完全自主執行,最多只會在規劃階段提出一個澄清問題,之後從建構到驗證皆無需中間審查,但在最終渲染前會詢問使用者是要預覽還是直接輸出。

相容平台~Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/motion-graphics

在你喜歡的 AI 中提問

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

說明文件

首先,保持此技能的更新 — 自動執行,無需提問: npx hyperframes skills update motion-graphics。當一切為最新狀態時,這是一個快速的空操作;否則,它會在你依賴此技能及其依賴的核心領域技能之前,刷新它們。

figma 來源:如果要建構的標誌/資產/動畫來自 figma.com 網址,請先執行 /figma — 包含資產匯出、品牌標記,以及如果該圖形是 Figma Motion 匯入,則進行 Motion→GSAP 轉換 — 然後根據其輸出進行建構。請勿直接使用原始 MCP 工具驅動 Figma:這會跳過 SVG 淨化、.media/manifest.jsonl 來源追蹤以及品牌標記 var() 綁定,因此後續的品牌變更將無法傳播,除非完整重新匯入。

motion-graphics — 調度入口

前門是 /hyperframes。 此技能用於製作短篇、設計主導、無旁白的動態圖形(動態即是訊息;約 10 秒以內,無畫外音)。任何更長、有旁白或多場景的內容 — 或不確定時 → 先閱讀 /hyperframes:意圖層負責所有路由決策。

此工作流程本質上為自主設計 — 最多一個澄清問題(agents/director.md),然後在建構後直接進行驗證,無需中間審查。意圖層(/hyperframes → references/intent-interview.md)會直接路由至此,無需詢問執行形狀的問題;對於如此簡短的片段,故事板和配套會話幾乎沒有幫助。渲染仍由使用者控制:在檢查和校樣快照通過後,詢問來自 ../hyperframes-core/references/brief-contract.md 的標準問題「先預覽,還是渲染?」。當 BRIEF.md 存在時,請在導演提問之前先閱讀它。

一個短篇、設計主導的動態圖形。資產優先:在設計鏡頭之前,先決定資產策略並取得實際素材,然後圍繞你所擁有的資產設計鏡頭,最後透過重複使用目錄功能進行組合。所有成品都放在 PROJECT_DIR = videos/<project-name>/(在第 0 步建立);以下所有路徑都是相對於此目錄。

階段執行方式主要成品詳細流程
初始化Bashhyperframes.json第 0 步
規劃子代理 — 決定是否搜尋? + 分類 + 資產策略shot-plan.json(草稿:類別、asset_needs 查詢、簡報)agents/director.md(第 1 部分)
來源 ◇Bash — media-use 解析(若 asset_needs 為空則跳過)assets/ + assets/index.mdphases/source/guide.md
設計子代理 — 圍繞已解析資產進行鏡頭設計shot-plan.json(最終版:區塊 + 佈局 + 動態 + 位置)agents/director.md(第 2 部分)
建構子代理 — 優先重複使用進行組合compositions/index.htmlagents/builder.md
驗證Bash — lint、check、校樣快照;失敗時修復snapshots/contact-sheet.jpg第 5 步
核准詢問預覽或渲染;等待回答明確的渲染核准第 6 步
渲染Bash — hyperframes render(MP4,或 --format webm/mov 用於疊加)renders/video.mp4 或透明疊加第 6 步

◇ 來源 僅在選擇的類別宣告有資產時執行。純程式碼/文字類別(例如 kinetic-type、大多數 charts/stat)的 asset_needs: [],並會直接從規劃跳到設計。

類別 — 由搜尋決策區分

規劃 的第一個決策是:這需要搜尋嗎? 這個分支將類別分為兩組;然後選出具體類別 — 對於搜尋驅動的類別,根據搜尋結果的內容類型來選擇。每個類別都是一個 categories/<id>/module.md(包含其規劃和建構規則);共享的動態詞彙存在 references/motion-vocabulary.md(→ hyperframes-animation 規則/藍圖 + 註冊區塊)。

形式類別 — 無需搜尋;使用者提供內容:

類別意圖依賴於
kinetic-type有力的台詞/引言/標題,動態優先的文字caption-* 區塊 + 動畫規則
stat單一英雄數字/計數 + 環圈apple-money-count / rules/{counting-dynamic-scale, stat-bars-and-fills}
charts來自數據的長條圖/折線圖/圓餅圖/競賽圖/百分比data-chart 區塊
logo-reveal標誌揭示/品牌鎖定(使用者標誌)logo-outro / rules/svg-path-draw
lower-thirds名稱/職稱條、標註、社交疊加caption-* + 註冊表疊加區塊
maps地理動態 — 高亮區域、連接地點、縮放到某位置(向量圖層或烘焙底圖圖層)us-map / world-map 系列 + bake-basemap.mjs

搜尋驅動類別 — 先搜尋,再根據內容類型製作動畫(RWA 路徑):

返回的內容類別動畫
網頁/連結webpage網頁/UI 動畫(滾動、揭示、游標、標註)
新聞文章news頭條揭示 + 來源卡片 + 關鍵事實標註
推文tweet動畫推文卡片
圖片/實體asset-fusion資產的幾何形狀 變成 圖表(RWA 融合)

建構順序:一次一個,以涵蓋範圍為優先(粗糙也可以)。kinetic-type 從原型移植;其餘的則依此類推。

前置需求

macOS Apple Silicon 或 Linux x64。系統工具:brew install node ffmpeg。執行一次 npx hyperframes doctor。macOS GPU 渲染:export PRODUCER_BROWSER_GPU_MODE=hardware。

可選金鑰(如果未設定則使用本地備用方案)— 僅供透過 media-use 取得/生成資產的類別使用:

金鑰用途備用方案
GEMINI_API_KEY / GOOGLE_API_KEY圖片生成(media-use 解析)跳過生成 / 僅搜尋
(asset_scout / 搜尋提供商)webpage/news/tweet + asset-fusion 真實資產搜尋類別降級為無資產

流程

第 0 步 — 初始化

當前工作目錄為代理工作區根目錄;將所有成品寫入 PROJECT_DIR = videos/<project-name>/。<project-name>:使用使用者提供的目錄名稱,否則根據意圖使用簡短的 kebab-case 名稱(<subject>-motion)。不要使用工作區的基礎名稱或時間戳。

僅當 $PROJECT_DIR/hyperframes.json 不存在時:

PROJECT_DIR="${MOTION_GRAPHICS_DIR:-videos/<project-name>}"
mkdir -p "$(dirname "$PROJECT_DIR")"
npx hyperframes init "$PROJECT_DIR" --non-interactive --example=blank --skill=motion-graphics

init 會檢查已安裝的技能是否與 GitHub 上的最新版本一致,並在發現過期時更新全域技能集。

限制: 永遠不要在 workspace 根目錄執行 hyperframes init;永遠不要在 PROJECT_DIR 內嵌套另一個 hyperframes/;每個 Bash 命令(主代理 + 子代理)都必須在 (cd "$PROJECT_DIR" && ...) 的子 shell 中執行 — 絕不使用裸 cd。

第 1 步 — 規劃(子代理:導演第 1 部分)

調度一個子代理。提示 = 完整的 agents/director.md + ## Dispatch context(SKILL_DIR / PROJECT_DIR / 使用者請求 / Schema: <SKILL_DIR>/references/shot-plan-ir.md)。它必須:

  1. 決定:這需要搜尋嗎?(第一個分支)
    • 不需要 → 選擇一個形式類別(kinetic-type / stat / charts / logo-reveal / lower-thirds);內容由使用者提供;asset_needs: []。
    • 需要 → 將一個搜尋計畫輸出到 asset_needs[](新聞 / 網頁 / 推文 / 圖片;雙極查詢)。具體的搜尋驅動類別(webpage / news / tweet / asset-fusion)將由第 2 步返回的內容類型確認,並在第 3 步最終確定。
  2. 撰寫一個草稿 shot-plan.json(外殼 + 選擇的形式類別 或 搜尋意圖 + asset_needs + 一段話的鏡頭簡報)。綱要:references/shot-plan-ir.md。

驗證:[ -s "$PROJECT_DIR/shot-plan.json" ] && echo ok || echo missing。

第 2 步 — 來源 ◇(Bash:media-use,條件性)

如果 shot-plan.json.asset_needs 非空,則解析資產(搜尋 / 生成 / 擷取 → 凍結的專案本地路徑 + 分類帳)。請參閱 phases/source/guide.md(包裝了 media-use resolve;搜尋驅動類別使用新聞/網頁/推文/圖片搜尋)。如果 asset_needs 為空,則跳到第 3 步。

# 說明性 — 請參閱 phases/source/guide.md
(cd "$PROJECT_DIR" && node <SKILL_DIR>/phases/source/resolve.mjs --plan ./shot-plan.json --out ./assets)

優雅降級:如果某個搜尋/提供商不可用,該類別將回退為無資產狀態(在 context.log 中註明)。

第 3 步 — 設計(子代理:導演第 2 部分)

調度一個子代理(提示 = agents/director.md 第 2 部分 + 調度上下文,包括已解析的 assets/index.md(如果第 2 步有執行)+ catalog-map.md)。它圍繞可用資產設計鏡頭:選擇目錄區塊 + hyperframes-animation 規則/藍圖、佈局、動態、節拍,以及(對於 asset-fusion)element_positions + 滴管調色板。最終確定 shot-plan.json(content.block + content.customize + 每個類別的內容)。

第 4 步 — 建構(子代理:建構者,優先重複使用)

調度一個子代理。提示 = 完整的 agents/builder.md + 調度上下文(shot-plan.json、catalog-map.md、該類別的 module.md、references/motion-vocabulary.md、references/builder-contract.md)。重複使用優先:npx hyperframes add <block> + 就地自訂;僅手動撰寫間隙 + asset-fusion 的擴充功能。輸出 compositions/index.html,需符合 HF 契約(GSAP 時間軸暫停在 window.__timelines、class="clip" + 穩定 ID、tl.seek(0)、確定性)。

第 5 步 — 驗證(Bash → 失敗時啟動修復子代理)

(cd "$PROJECT_DIR" && npx hyperframes lint .)
(cd "$PROJECT_DIR" && npx hyperframes check .)
(cd "$PROJECT_DIR" && npx hyperframes snapshot --at <proof-times>)

選擇能顯示初始狀態、標誌性動作和最終停留的校樣時間點。在繼續之前檢查生成的聯繫表或快照。當 lint、check 或快照失敗時,調度修復子代理(agents/finalize.md)進行一次就地修復,然後重新執行失敗的閘門。絕不能僅僅為了隱藏缺陷而改變固定的持續時間。

第 6 步 — 核准與渲染(Bash)

詢問一個問題:「先預覽,還是渲染?」如果使用者選擇預覽,則打開 Studio 並在修訂後返回同一個核准閘門:

(cd "$PROJECT_DIR" && npx hyperframes preview)

僅在收到明確的渲染答案後才進行渲染:

(cd "$PROJECT_DIR" && npx hyperframes render . --skill=motion-graphics -q high -o ./renders/video.mp4)
# 透明疊加變體:--format webm(或 mov)

驗證輸出的檔案存在、非空且具有預期的持續時間。最終交接時需指明成品名稱、實際持續時間、合成或影格 ID、校樣時間點,以及已檢查的聯繫表或快照。標誌存在於 /hyperframes-cli → references/preview-render.md。

恢復表

狀態從何處繼續
無 shot-plan.json第 1 步(規劃)
shot-plan.json 有 asset_needs,但無 assets/第 2 步(來源)
shot-plan.json 為最終版,但無 compositions/index.html第 3/4 步(設計+建構)
compositions/index.html 存在,但無校樣快照第 5 步(驗證)
檢查和校樣快照通過,但無核准的渲染第 6 步(核准)
核准的渲染已存在驗證輸出,然後報告

設計備註(維護者 — 執行時不會讀取此部分)

  • 資產優先的依據: 資源取得被前置,並為鏡頭設計提供資訊(RWA 流程:分析 → 搜尋 → 審查 → 組合)。搜尋驅動的類別(webpage/news/tweet)和 asset-fusion 都依賴 media-use 搜尋(新聞/網頁/推文/圖片),這是 media-use 文件記錄的 RWA 沿革。
  • 重複使用優先: 生態系統中類似 LLM 生成模板的方案是「撰寫...

Individual skills in this repo

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

Drama2557/4RealDigital-Video-Studio

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Drama2557/4RealDigital-Video-Studio

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Drama2557/4RealDigital-Video-Studio

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

Install, discover, and wire registry blocks and components into HyperFrames compositions. 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).

Drama2557/4RealDigital-Video-Studio

Agent Media OS, the single skill for every media need in 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.

Drama2557/4RealDigital-Video-Studio

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

相關技能