Communitygithub.com

データバー — Reels / TikTok / Shorts 向けモーションスタイル(Remotion)

クリーム色の背景に数値を主役とした、バネのように伸びる背の高いバーグラフと単調なパーセンテージカウンターを備えた、金融・データ説明に最適なエディトリアルスタイルのインフォグラフィック動画を生成します。

TikTok / Shorts 向けモーションスタイル(Remotion) とは?

このスキルは、Instagram Reels、TikTok、Shorts向けの「データバー」モーションスタイルをRemotionで実装するためのものです。金融、データ分析、説明系のショート動画に特化しており、クリーム色の背景に、バネの動きで出現する背の高いバー、単調なカウントアップ、一つのハイライトされた「答え」のバー、グロテスク書体の見出しとセリフイタリックの単語、そして「サンプル数値」タグを特徴とします。コードベースで完結し、ブランドカラーをトークンで指定可能。外部アセット(3Dオブジェクトなど)はGoogle Flowで生成し、透明カットアウトが必要な場合は専用スクリプトで処理します。品質管理にはTypeScriptチェック、キーフレーム静止画、レンダリング、動画全体のコンタクトシート生成、ラウドネス測定が含まれ、iOSのSafe Zoneを考慮したレイアウト設計がされています。フォント選定も地域言語のグリフ対応を確認するなど細かく、重複アセットの再利用を防ぐアセット台帳管理も推奨されています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bahodirbuxorov/claude-motion-skills/tree/HEAD/skills/motion-data-bars

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

TikTok / Shorts 向けモーションスタイル(Remotion) は何をしますか?

ライブデモコード: starter/src/styles/DataBars.tsx(claude-motion-skills内) ブランドトークンは各自で用意(starter/src/lib/tokens.ts)。プロジェクトに独自のスタイルガイド(例:STUDIO.md)がある場合は、それを優先する。

フレームのレシピ

  • 背景色 クリーム #F5F1E8、インク色 #16201D。バーはブランドカラーの3段階の濃淡で塗り分け、1本の「答え」バーをアクセントカラー(ライム)にする。
  • 見出しはグロテスク書体 太字 約100 px、2行。質問のキーワードとなる単語をセリフイタリックでアクセントボックス上に配置。見出しとグラフの間は80 px以上の余白を確保。
  • 各バーの上部に数値(モノ 40 px)、下部にラベル(28 px)、ベースラインは3 px。バーの本数は3~6本。

モーション(BarChart)

バースプリング d15 s110、5フレームずつずらして出現。フレーム0で既に25 %の高さを持っている
数値25 %→100 %まで22フレームかけて単調にカウントアップ
答えバー最後に成長。スプレッドシートのセル風の枠か、上部に矢印を追加
  • 完成したグラフは最低2.5秒(読み取り時間)保持し、ゆっくりとズームインする。
  • 数値は合計が合うこと。出典または「サンプル数値」タグを表示すること。

アセット — Google Flow(ルール)

このスタイル: 任意 — カバー用にグラフの横に小さな3Dオブジェクト(コイン、財布)を1つ配置してもよい。グラフ自体はコードで生成。

  1. 生成: flow.google.com → プロジェクト → Imageモードに切り替え(動画モード不可 — Veoはクレジット消費)、Nano Banana、1:1、2倍。
  2. プロンプトテンプレート: 「[オブジェクト] の3Dレンダリング ... [ブランドプライマリカラー] に [アクセントカラー] のアクセント、柔らかい接影、中央配置で十分な空白、無地のシームレスな非常に明るい [背景色] の背景、柔らかいスタジオ照明。ミニマルでプレミアムな3Dアイコンスタイル。テキスト、数字、文字、顔、ロゴは一切なし。」ハーフトーンバリエーション: 「[オブジェクト] の白黒ハーフトーン写真切り抜き、コラージュステッカースタイルで太くきれいな白い紙の枠線... テキストはなし。」
  3. 両方のバリエーションをフルサイズで確認 — テキスト、顔、余分な手、壊れた形状があるものは却下。
  4. 2Kでダウンロードし、public/ に保存。レンダリングの背景色(境界の中央値)を計測し、シーンの背景色として使用してオブジェクトがなじむようにする。透明切り抜きが必要な場合: starter/cutout.py in.jpg out.png [tol] [noshadow](ガラス/透明オブジェクトには非対応)。
  5. アセットの再利用禁止: 一度の動画で使用したアセット(3Dオブジェクト、画像、音楽トラック)は次の動画で再利用しない — 視聴者は同じものに飽きる。プロジェクトにアセット台帳(ASSETS.md)を保持し、各エピソード前に確認し、レンダリング後に追記する。例外: ロゴ、フォント、カラートークン、効果音、アイコン。

品質チェックリスト

  • tsc + lint → キーフレーム静止画 → レンダリング → 動画全体のコンタクトシート(ffmpeg -vf "select='gte(n,12)*not(mod(n-12,25))',scale=216:-1,tile=7x4")→ ラウドネス -14 LUFS(2パス 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-bento

Remotion motion style "Bento" (bento-grid feature board) for Instagram Reels and carousels: light ground, rounded tiles of different sizes in a tight grid, one fact per tile (big number, icon, 3D object, short label), one hero tile in brand colour; tiles pop in on a stagger, numbers count up. For product features, "what''s inside", dashboards, results. Triggers: "bento grid", "feature grid animation", "app features reel", "dashboard 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-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".

関連スキル