Communitygithub.com

animated-chart

コードでループするアニメーションチャートを作成します。LinkedInやニュースレター向けに、バーがラインに変わる、数字がカウントアップする、Before/Afterなどを表示。すべての値は指定通りに保持されます。

animated-chart とは?

このスキルは、コードベースでアニメーションチャートを作成するための包括的なガイドです。主にLinkedInやニュースレターで使用するループ動画やGIFを生成する際に役立ちます。ユーザーは数値データを提供するだけで、Claude Codeが最初から最後までを自動生成します。プロセスは3つのプロンプトに分かれており、「ビルド」「見直し」「エクスポート」のステップを踏みます。対応プラットフォームはブラウザで開けるHTMLファイルとして出力されるため、汎用性が高いです。また、ブランドカラーやフォントの設定ファイル(brand.md, MOTION.md)が存在すればそれを読み込み、なければユーザーに尋ねることで、常にブランドに沿ったデザインが保たれます。数値は一切丸めたり変更せず、サンプルデータの場合は「Illustrative data」のラベルが自動付与されます。アニメーションは8秒のループで、開始→変化→停止→戻るの4状態を滑らかに遷移させ、最終フレームと最初のフレームが完全に一致することで、違和感のないループを実現します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/charlie947/motion-graphics-skills/tree/main/skills/animated-chart

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

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

ドキュメント

コードで作るアニメーションチャート

白紙から始める3つのプロンプト: 作る、見直す、書き出す。

始める前に: brand.md と MOTION.md が存在すれば読んでください。ない場合は、まず brand-intake を実行するか、16進カラーコード、フォント、ロゴファイルを尋ねてください。これらなしに「ブランドに沿った結果」と呼ばないでください。

ステップ1: 数値を聞いて、待つ

タイトル、ラベル、正確な数値、そしてそれらが実際の結果なのかサンプルデータなのか。サンプルデータの場合は、すべてのフレームに「Illustrative data」ラベルを表示します。数値を丸めたり、再フォーマットしたり、値を追加したりしないでください。

プロンプト1: 作る

LinkedIn投稿用のアニメーショングラフィックを1つ作成してください。ブラウザで開ける単一のHTMLファイルとして作ってください。

タイトル: "[タイトル]"。[サンプルデータの場合: "Illustrative data" を表示し続ける。]
値: [ラベル1: 値1]、[ラベル2: 値2]、...

モーションは4つの状態を持ちます:
1. 開始: [最初の見た目]。
2. 変化: [動く1つのもの]。フェードアウトして別のものに置き換わることはありません。
3. 停止: 完成したチャート。[ハイライトする値] にラベルを付ける。
4. 戻る: 開始位置にイージングで戻り、ループにジャンプが生じないようにする。

タイミング: 合計8秒。変化に約2秒、停止に4秒、戻りに1.5秒。

見た目: 背景 [BG]、テキスト [TEXT]、アクセント [ACCENT]、[フォント]。外部フォントや画像は使用禁止。グラデーション、グロー、バウンドは禁止。

サイズ: 1080 x 1350 ピクセル。

作成ルール:
- すべてのフレームを時間のみから計算してください。`window.seek(seconds)` を追加してください。
- タイトル、ラベル、軸は決して動きません。チャートだけが変化します。
- 最後のフレームは最初のフレームと完全に一致しなければなりません。

作成後、0、1、2、4、7秒のスクリーンショットを撮ってください。テキストの重なりや途切れがないか確認し、見つけた問題を修正して、何を変更したか教えてください。

プロンプト2: 見直す

撮影した5フレームとループの境界を検査してください。値が変わっていないか、ラベルが読めるか、重なりがないか、各要素が表示されるべきときにのみ表示されているかを確認してください。実際に観察した問題だけを報告してください。見つけた問題は修正し、以前のバージョンは保持して、同じフレームを再度撮影してください。問題が見つからなければ、その旨を伝え、修正を捏造しないでください。

プロンプト3: 書き出す

これを投稿可能な動画とGIFに変換してください。このコンピュータに既にあるツールを使用してください。インストールされていないものが必要な場合は、インストールする前に止まって何が必要か教えてください。MP4(1080 x 1350、8秒)と、無限ループするGIFを出力してください。その後、完成したGIFから3フレームを表示して、正しくできているか確認できるようにしてください。

Individual skills in this repo

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

apple-launch-film

Rebuild an Apple-style Mac launch film entirely in code with Claude Code. A thin menu bar, the black notch growing into widgets one scene at a time, full-screen gradient wallpapers and one short caption per scene. No screen recording, no After Effects. Use when someone says

brand-intake

The setup step every other skill in this pack reads. A short interview plus 3 to 5 reference frames becomes two files in your project, brand.md (who you are, what you sell, your assets) and MOTION.md (your colours, type, timing and motion rules), plus a rule in CLAUDE.md so Claude reads them before it animates anything. Use at the start of any motion project, or when someone says

launch-video

Make a 30-45 second product launch video in code with Claude Code, the kind SaaS companies post on launch day. One sentence split across scenes, real product screens with slow camera moves, a typed prompt, a proof beat and a clear call to action. Use when someone says

loop-cover

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says

milestone-reveal

Make a 12-second looping milestone clip in code with Claude Code. Thousands of tiny points drift like a night sky, pull together into your real number (followers, subscribers, revenue, customers), a line draws underneath and the label settles in. Premium, not a party. Use when someone says

model-showdown

Give the same motion brief to three AI models, keep each first try, render all three the same way and stack them into one comparison video with model names and logos. Makes a 16:9 side-by-side for a newsletter and a 1080 x 1920 stacked reel for Instagram and TikTok. Use when someone says

motion-brief-writer

Turns a rough idea for an animated graphic into a precise build brief for Claude Code, in your own brand. Asks for anything essential first (exact numbers, size, length, brand), keeps real results apart from sample data, and never invents a figure. Use when someone says

motion-effects

Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says

motion-prompt-writer

Write a complete 8-part Claude Motion prompt (The bar, Format, The one rule, Look, Motion, Never, Before you finish, The scene) for one short looping motion graphic, in your own brand. Takes your brand (a website screenshot, a logo, hex codes, or nothing for the Apple-style default) and one moment you want to show, in plain words. Use when someone says

newsletter-promo

Turn a newsletter edition into a 12-20 second promo clip for LinkedIn, Instagram or X that drives people to read and subscribe. Hook question, three proof frames from the edition, then the newsletter name and where to read it. Use when someone says

reel-export

Turn any horizontal or square motion video into a 1080 x 1920 Instagram Reel or TikTok that uploads cleanly. Headline and logos inside the safe zone, H.264, yuv420p, limited colour range, bt709, a silent audio track when there is no sound, and an ffprobe check before upload. Use when someone says

reference-to-motion

Turn references you admire into a scene-by-scene Claude Motion prompt for your own topic and brand. Takes a video for the moves (screenshots, frames or a contact sheet of a reel or ad) and, optionally, a look reference for the style (a website, a brand, a moodboard). Use when someone says

title-sequence-3d

Make a cinematic 3D title sequence (8-15 seconds) in code with Claude Code and Three.js. A camera moves through a lit scene, such as a rainy street at night with brand names as neon signs, then a big question or title lands. Use when someone wants a scroll-stopping opener, a film-style intro,

vox-explainer

Make a short Vox-style documentary explainer (30-60 seconds) entirely in code with Claude Code. Torn paper, halftone texture, bold condensed type, motion on twos. Use when someone says

関連スキル