Communitygithub.com

motion-bento

用於 Instagram Reels 和輪播的 Remotion 動態風格「Bento」(方塊網格功能展示板):淺色背景、不同尺寸的圓角方塊緊密排列在網格中,每個方塊陳列一項事實(大數字、圖示、3D 物件、簡短標籤),一個主打方塊使用品牌色;方塊依序彈跳出現,數字向上計數。適用於產品功能展示、隨箱內容、儀表板和成果展示。觸發關鍵詞:bento 網格、功能網格動畫、app 功能 Reel、儀表板 Reel。

motion-bento 是什麼?

這個技能提供了一個基於 Remotion 的「Bento」動畫風格,專為 Instagram Reels、TikTok 和 Shorts 等短影音平台設計。其主要用途是以視覺上吸引人的方塊網格(bento grid)來展示產品功能、隨箱內容、儀表板或成果,每個方塊只呈現一項核心資訊(如大數字、圖示或 3D 物件),並透過依序彈跳和數字動畫來吸引觀眾目光。 技能支援使用者在 `claude-motion-skills` 專案中套用範本,並必須自訂品牌色票。它嚴格規定了設計框架:淺色背景、圓角方塊、軟陰影,以及最多 6 個方塊的 2-3 列網格,其中一個主打方塊會使用品牌色並帶有微弱的呼吸動畫。此外,它還整合了 Google Flow 工作流程來生成 3D 物件資產,並強調資產不重複使用,以避免觀眾感到厭煩。 整體工作流程包含品質檢查清單,例如 TypeScript 編譯、lint 檢查、關鍵影格截圖、完整影片渲染、響度標準化(-14 LUFS),以及確保文字保持在 Reels 安全區內。此技能適合需要快速產出高品質、視覺一致且具品牌辨識度的短影音內容的開發者或內容創作者。

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

在你喜歡的 AI 中提問

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

說明文件

Bento — 適用於 Reels / TikTok / Shorts 的動態風格 (Remotion)

即時示範程式碼:在 claude-motion-skills 中的 starter/src/styles/Bento.tsx。 請自行帶入品牌色票(starter/src/lib/tokens.ts)。如果你的專案有自己的風格指南(例如 STUDIO.md),則以此指南為準,優先於本技能。

影格配方

  • 背景 #EEF4F0;方塊圓角 34,間距 18,軟陰影。4-6 個方塊排列成 2-3 列;最大的方塊 = 主要事實(使用品牌色或強調色)。
  • 每個方塊只放「一件」東西:58 px 的圖示 + 34-44 px 的標籤,或一個大型等寬數字(BigNum),或一個從角落探出的 3D 物件。
  • 標題使用 grotesk 字重 900 約 104 px + 一個在強調色區塊上的襯線斜體單詞。右側方塊的文字需保持在 x <= 910 以內。

動畫

BentoTilespring d14 s160,縮放 0.6->1,4-6 影格交錯;第一個方塊 at<0(第 0 影格即為完整狀態)
BigNum0->N 單調遞增,22 影格
主打方塊±1 % 「呼吸」效果 (sin,14 影格)
  • 鉤子技巧:在第 0 影格顯示虛線的空方塊插槽 — 預告網格將會被填滿。
  • 旁白的每個句子點亮一個方塊。僅顯示產品真正具備的功能。

資產 — Google Flow (規則)

此風格: 每個 Bento 使用 1-2 個新的小型 3D 物件(從方塊中探出頭來)。

  1. 生成: flow.google.com -> 專案 -> 切換到 Image 模式(不要用 Video — Veo 會消耗點數),Nano Banana,1:1,x2。
  2. 提示詞範本:「[物體] 的 3D 渲染... 使用 [品牌主色] 搭配 [強調色] 點綴,柔和接觸陰影,居中且有充足的留白空間,孤立在純色無縫的非常淺色 [背景色] 背景上,柔和棚拍燈光。極簡高級 3D 圖示風格。無文字、無數字、無字母、無人臉、無標誌。」網點變體:「[物體] 的黑白網點照片剪影,拼貼貼紙風格,帶有粗厚的白色紙張邊框... 無文字。」
  3. 檢查 兩種變體的全尺寸圖 — 拒絕任何包含文字、人臉、多餘的手或形狀破損的圖片。
  4. 下載 2K 版本到 public/ 目錄。測量渲染圖的背景色(邊界的中位數色值),並將其用作場景背景色,使物體能融入其中。需要去背的透明背景圖?使用 starter/cutout.py in.jpg out.png [tol] [noshadow](不適用於玻璃/透明物體)。
  5. 不重複使用資產: 在一個影片中使用過的資產(3D 物件、圖片、音樂曲目)不會在下一部影片中重複使用 — 觀眾會對千篇一律感到厭煩。請在你的專案中維護一份資產清單(ASSETS.md),在每個 episode 前檢查,並在每次渲染後追加記錄。例外情況:標誌、字體、品牌色票、音效、圖示。

品質檢查清單

  • tsc + lint -> 關鍵影格截圖 -> 渲染 -> 整部影片的連環圖(ffmpeg -vf "select='gte(n,12)*not(mod(n-12,25))',scale=216:-1,tile=7x4")-> 響度 -14 LUFS(雙遍 loudnorm)。
  • 第 0 影格應為完整的封面(沒有空白的第一影格);沒有任何畫面凍結超過 2 秒;無重疊文字。
  • 可讀文字需保持在 Reels 安全區域內 y 285–1248, x 80–910 (1080x1920) — 底部 35% 和右側 170 px 會被 UI 遮蓋。
  • 使用的字型必須包含你語言的字符(例如烏茲別克語 ʻ U+02BB / ʼ U+02BC:Inter、Inter Tight、IBM Plex、Big Shoulders、Playfair Display 都有;Bricolage、Syne、Manrope、Instrument Serif 沒有)。不要使用字符輸入箭頭 / 不等於 / 序號符號 — 請使用 SVG 圖示。
  • 旁白:錄製一次 TTS,然後僅在靜音段落縮短長時間的停頓(使用 silencedetect)。字幕為可選 — 當畫面上的大字已經說明了該句台詞時,可以省略字幕。

Individual skills in this repo

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

motion-aura-type

Remotion motion style "Aura Type" (soft gradient aura + minimal kinetic typography): white ground, 2–3 huge blurred colour blobs drifting slowly, words resolving one by one from blur to sharp, one serif-italic word in colour. For hooks, quotes, relatable one-liners, statements. Triggers: "aura gradient", "blur text animation", "kinetic typography", "quote reel", "minimal text reel".

motion-captions

Animated captions / subtitles for Instagram Reels, TikTok and YouTube Shorts in Remotion: 6 trending styles — Bold Pop (Hormozi-style uppercase, stroke, keyword colour, word pop), Karaoke (active word grows), Editorial Mix (small words + one giant serif quote), Serif Mix, Box Line (plate + highlighted word), Minimal (lowercase fade). Covers word timing (Whisper word timestamps or silence-based estimation for low-resource languages), pagination, safe zone and when NOT to caption. Triggers: "captions", "subtitles", "animated captions", "karaoke captions", "hormozi captions", "word by word subtitles".

motion-data-bars

Remotion motion style "Data Bars" (editorial finance infographic) for Instagram Reels and carousels: cream ground, numbers as the hero, tall bars growing on springs, monotone percentage counters, one highlighted "answer" bar, grotesk headline with one serif-italic word, "sample numbers" tag. For data stories, breakdowns, comparisons, salary/tax/finance explainers. Triggers: "infographic reel", "bar chart animation", "data visualization video", "finance reel".

motion-glass-object

Remotion motion style "Glass & Object" for Instagram Reels, TikTok and YouTube Shorts: one glossy/puffy 3D object hero (Google Flow / Nano Banana), light studio ground, frosted glass cards, floating pill tags, lime highlight box, spreadsheet-cell selection signature, spring animations. Use for product, fintech and SaaS reels, explainers and hooks. Triggers: "glass object", "3D object reel", "fintech reel", "glassmorphism motion", "puffy 3D".

motion-newsflash

Remotion motion style "News Flash" (newspaper headline + hand-drawn annotations) for Instagram Reels: newsprint ground, masthead rule, huge condensed headline, yellow brush highlight that paints in, red marker circle and arrow that draw on, faint text columns, source on screen. For tax news, law changes, deadlines, announcements. Triggers: "newspaper style", "news reel", "breaking news animation", "deadline reminder", "hand drawn annotation".

motion-swiss-grid

Remotion motion style "Swiss Grid" (International Typographic Style revival): paper ground, visible column grid that draws in, big circle + square primitives in brand colours, one giant grotesk word, narrow mono text columns, numbers as graphic elements. For series covers, rules, checklists, step-by-step reels. Triggers: "swiss design", "grid poster", "bauhaus motion", "minimal poster animation", "series cover".

相關技能