Communitygithub.com

Elis3omndz/Claude_Skills

一個以動畫為核心的短篇設計導向動態圖形製作技能——包含動態文字、統計數據計數、資料視覺化圖表、品牌片頭、字幕條、社群重疊層、地圖動畫、推文/新聞/標題動畫、網頁/UI動畫,以及將真實影像幾何融入圖表。通常少於10秒(最多約30秒),無旁白或真人主體;輸出MP4或透明疊加層。

Claude_Skills 是什麼?

此技能專注於建立簡短(通常在10秒內,最多約30秒)、設計導向且無旁白的動態圖形。它支援多種動畫類別,包括動態文字(kinetic-type)、統計資料計數(stat)、圖表(charts)、品牌片頭(logo-reveal)、字幕條與社群疊加層(lower-thirds)、地圖動畫(maps)、網頁/UI互動動畫(webpage)、新聞標題動畫(news)、推文動畫(tweet),以及資產融合(asset-fusion)。工作流程完全自主,從規劃、素材來源、設計、構建到驗證與渲染,皆由一系列定義明確的步驟和子代理驅動,並可與 HyperFrames 平台整合。此技能也內建從 Figma 導入素材的流程,確保品牌令牌與 SVG 的完整性。最終輸出為 MP4 或透明疊加層影片,適合社群媒體、簡報或品牌展示等用途。

相容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/Elis3omndz/Claude_Skills/tree/HEAD/.claude/skills/motion-graphics

在你喜歡的 AI 中提問

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

說明文件

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

首先,保持此技能更新 — 與使用者確認後再執行: 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)會直接路由到此處,無需詢問運行形狀問題;故事板和同伴會話對如此短的片段幫助不大。渲染仍由使用者控制:在檢查和驗證快照通過後,開啟 Studio 預覽並詢問來自 ../hyperframes/references/brief-contract.md 的標準「立即渲染,或進行哪些更改?」問題。當 BRIEF.md 存在時,請在導演提問前閱讀它。

一個短篇設計導向的動態圖形。素材優先:在設計鏡頭前決定素材策略並獲取真實素材,然後圍繞你擁有的素材設計鏡頭,接著透過重複使用目錄能力來構建。所有成品放置於 PROJECT_DIR = videos/<project-name>/(在步驟0建立);以下所有路徑均相對於此目錄。

階段執行主要成品詳細流程
initBashhyperframes.json步驟0
plan子代理 — 決定是否需要搜尋? + 分類 + 素材策略shot-plan.json(草稿:類別,asset_needs 查詢,簡報)agents/director.md(第一部分)
source ◇Bash — 媒體使用解析(如果 asset_needs 為空則跳過)assets/ + assets/index.mdphases/source/guide.md
design子代理 — 圍繞已解析素材進行鏡頭設計shot-plan.json(最終版:區塊 + 佈局 + 動畫 + 位置)agents/director.md(第二部分)
build子代理 — 重複使用優先的構建compositions/index.htmlagents/builder.md
verifyBash — lint,check,驗證快照;失敗時修復snapshots/contact-sheet.jpg步驟5
approve開啟預覽;詢問渲染或更改;等待回應明確的渲染批准步驟6
renderBash — hyperframes render(MP4,或 --format webm/mov 用於疊加層)renders/video.mp4 或透明疊加層步驟6

◇ source 僅在所選類別宣告素材時運行。純程式碼/文字類別(例如 kinetic-type,大多數 charts/stat)的 asset_needs: [] 為空,並直接從規劃跳到設計。

類別 — 根據搜尋決策拆分

plan 的第一個決策是:這是否需要搜尋? 這個分叉將類別分為兩組;然後選擇具體類別 — 對於搜尋驅動的,根據搜尋返回的內容類型。每個類別是一個 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。

可選金鑰(若未設定則使用本地備用) — 僅供透過媒體使用方式來源/生成素材的類別使用:

金鑰用途備用
GEMINI_API_KEY / GOOGLE_API_KEY圖片生成(媒體使用解析)跳過生成 / 僅搜尋
(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 root 執行 hyperframes init;永遠不要在 PROJECT_DIR 內嵌套另一個 hyperframes/;每個 Bash 命令(主代理 + 子代理)都應在 (cd "$PROJECT_DIR" && ...) 的子 shell 中執行 — 永遠不要裸 cd。

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

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

  1. 決定:這是否需要搜尋?(第一個分叉)
    • 否 → 選擇一個表單類別(kinetic-type / stat / charts / logo-reveal / lower-thirds / maps);內容由使用者提供;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:媒體使用,條件式)

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

優雅降級:如果某個搜尋/提供者不可用,該類別將回退為無素材(在 context.log 中註記)。

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

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

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

在建構者的分派上下文中包含共享的動畫原則。對於 charts 和 stat,也包含資料動畫。建構者在編寫時間軸前閱讀這些指南。

分派一個子代理。提示 = 完整的 agents/builder.md + 分派上下文(shot-plan.json,catalog-map.md,類別的 module.md,references/motion-vocabulary.md,references/builder-contract.md)。重複使用優先:npx hyperframes add <block> + 就地自訂;僅手寫填補缺口 + 資產融合功能。輸出 compositions/index.html,遵守 HF 合約(在 window.__timelines 上暫停的 GSAP 時間軸,class="clip" + 穩定的 ID,tl.seek(0),確定性)。

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

(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 --background)

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

(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(批准)
批准的渲染存在驗證輸出,然後報告

Individual skills in this repo

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

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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.

Elis3omndz/Claude_Skills

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.

相關技能