Communitygithub.com

rTanure/lumiere-motion-map

規劃每個片段的動態設計(開頭5秒掛鉤、縮放、文字、圖片、HyperFrames/three.js/Remotion疊層、音效),產出 motion-map.json 並在使用者核准前不進行任何渲染。Lumiere 的第 5 步——對品質最關鍵的一步。

lumiere-motion-map 是什麼?

此技能負責 Lumiere 影片製作流程中最關鍵的動態設計規劃階段。它會為每個通過審查的影片片段(clip)啟動一個獨立的 `motion-director` 代理,根據 `learnings.md` 中的永久規則與 `visual-identity.md` 的關鍵重點,生成詳細的 `motion-map.json` 與 `motion-map.md`。代理以表格形式呈現時間軸(時間 → 事件類型 → 原因),特別強調至關重要的前 5 秒掛鉤,以供使用者審查。使用者可以核准、要求增減動態效果、或提出具體修改;任何調整都會先記錄偏好再進行編輯,而核准後會透過 `lumiere approve` 命令將狀態標記為 `approved: true`。此技能支援多種事件類型(文字、縮放、震動、閃爍、圖像、B-roll、HyperFrames/Remotion疊層、音效),並提供預先定義的 HyperFrames 區塊(如 `hook-title`、`stat-card`、`three-object`),同時允許使用自訂 HTML 模板。它適用於任何需要對影片片段進行精細動態控制的 AI 代理平台(如 Claude Code、Cursor、Codex),並依賴使用者明確核准後再進入渲染階段。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rTanure/lumiere/tree/HEAD/skills/lumiere-motion-map

在你喜歡的 AI 中提問

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

說明文件

動態地圖(規劃階段 — 不在此進行任何渲染)

授權

為每一個已核准的片段在同一則訊息中啟動一個 motion-director 代理。傳遞:slug、片段 ID,以及 ~/.lumiere/learnings.md 中的永久規則摘要與 visual-identity.md 的關鍵重點。每個代理會寫入 clips/<clip>/motion-map.json + motion-map.md 並回傳摘要。

核准(必填)

  1. 針對每個片段,以精簡方式顯示 motion-map.md(時間 → 內容 → 原因表格)。特別標註前 5 秒。
  2. 詢問:核准、增加動態、減少動態、或指定調整。
  3. 調整:若調整幅度小,直接編輯 motion-map.json;若調整幅度大,透過 SendMessage 重新發送給同一個代理處理。使用 lumiere learn 記錄偏好設定。
  4. 核准後:執行 lumiere approve <slug> <clip> motion(在 JSON 中寫入 approved: true)。

結構定義(參考:插件根目錄下的 templates/motion-map.example.json)

時間以最終時間軸(words.json)的秒數為單位。事件類型:

type欄位製作位置
text(role hook/title/keyword/label)text, end, highlight[], position, anim, colorFilmcraft(原生圖形)
zoomend, scale (1.1-1.35), ease punch/smoothFilmcraft(攝影機)
shakeend, amountFilmcraft(攝影機)
flashduration, colorFilmcraft
image/stickerasset, end, position, size(寬度比例), anim, rotationFilmcraft
brollasset(影片/圖片), end, source_in, ken_burnsFilmcraft,全螢幕
overlayengine hyperframes/remotion, template, props, end, keep_captions透過程式碼渲染 → WebM alpha
sfxsfx(類別:whoosh, pop, impact, ding, riser, click, glitch, swoosh), gain_dbFilmcraft A2-A4
任何事件都可以接受 sfx + sfx_offset。平面層級:camera, captions(engine filmcraft/remotion,hide, emphasis), progress_bar, music。

預先準備的 HyperFrames 區塊(templates/hyperframes/):hook-title, stat-card, list-reveal, three-object(three.js), word-kinetic(精準時間的文字動畫)。若需要新的模板,可設為 custom——clip-builder 代理會在渲染階段撰寫 HTML。

Individual skills in this repo

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

相關技能