Figma Version Historyのロゴ

Figma Version History

組織
southleft
figma-version-history

Figmaファイルのバージョン履歴の一覧表示、過去の任意のバージョンでのファイルのスナップショット作成、2つのバージョン間の差分確認(追加/削除/名前変更されたページと、コンポーネントごとの詳細な変更)を行います。ユーザーがFigmaの履歴を確認したい場合に使用します。起動するリクエストの例:「Figmaのバージョンを一覧表示」「このファイルにはどんなバージョンがある?」「バージョン履歴を表示」「バージョンXのこのファイルをスナップショット」「先週時点のファイルを取得」「Figmaの2つのバージョンを比較」「これらのバージョン間で何が変わった?」「バージョンAとBを比較」「このコンポーネントはリリース間で変更された?」。バージョン履歴はPlugin API、use_figma、ネイティブのFigma MCPからは取得できないため、Figma REST APIと個人用アクセストークンを使用します。文章形式のリリースノートを作成する場合はfigma-generate-changelogを、変更がどのバージョンで導入されたかを調べる場合はfigma-blame-nodeを使用してください。

Add to TypingMind

概要

公開者southleft
リポジトリfigma-console-mcp-skills
スキル名figma-version-history
スター
97
フォーク
4
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    southleftがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Figma Version History」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/southleft/figma-console-mcp-skills/tree/main/skills/figma-version-history
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/southleft/figma-console-mcp-skills.git /tmp/figma-console-mcp-skills
mkdir -p .claude/skills
cp -r /tmp/figma-console-mcp-skills/skills/figma-version-history .claude/skills/figma-version-history
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFigma Version Historyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFigma Version Historyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Figma Version Historyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

figma-version-history — list, snapshot & diff Figma versions

Version history lives only in Figma's REST API, so this skill calls REST directly with a personal access token (PAT). It does three things:

  1. List a file's version history (label, description, author, timestamp, version id).
  2. Snapshot the file (or just some nodes) as it existed at a given version_id.
  3. Diff two versions — a cheap page-structure diff always, plus optional deep per-component diffs at depth=2.

Setup — terminal + token required. This skill runs shell commands, so it works in Claude Code (including the "Code" tab inside Claude Desktop), Cursor, Codex, or Gemini CLI — it does not run in plain Claude Desktop or claude.ai chat (no shell). The Figma connector's OAuth login does not authorize these REST calls, so you must supply your own Figma personal access token: in Figma go to Settings → Security → Personal access tokens, generate one with scope File content: read (plus File versions: read), then set it in your shell: export FIGMA_TOKEN="figd_…". The script reads it from the environment at runtime — never put the token in a skill file.

Setup & skill boundaries

  • All requests go to https://api.figma.com with the header X-Figma-Token: $FIGMA_TOKEN.
  • Endpoint reference: references/endpoints.md.

Derive the file key

The file key is the path segment after /design/ or /file/ in a Figma URL:

bash
FILE_URL="https://www.figma.com/design/ABC123def456/My-File"
FILE_KEY=$(echo "$FILE_URL" | sed -E 's#.*/(design|file)/([A-Za-z0-9]+).*#\2#')
echo "$FILE_KEY"   # ABC123def456

Workflow

  1. List versions to find the version_ids you care about. Run scripts/list-versions.sh:

    bash
    ./scripts/list-versions.sh ABC123def456              # labeled versions only (default)
    ./scripts/list-versions.sh ABC123def456 --autosaves  # include unlabeled auto-saves

    It auto-paginates (newest-first) and prints version_id | created_at | author | label. By default it filters out unlabeled auto-saves; pass --autosaves to keep them.

  2. Snapshot a version with a one-line curl (omit &version= for current/HEAD). Save to disk so you can diff repeatedly without re-fetching — past versions are immutable:

    bash
    # Whole file at a past version (depth=1 keeps it small for orienting)
    curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
      "https://api.figma.com/v1/files/$FILE_KEY?version=4096761871&depth=1" \
      > /tmp/v-4096761871.json
    
    # Just specific nodes at that version (much smaller payload)
    curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
      "https://api.figma.com/v1/files/$FILE_KEY/nodes?ids=695:313&version=4096761871&depth=2"
    
    # Current / HEAD — omit the version param entirely
    curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
      "https://api.figma.com/v1/files/$FILE_KEY?depth=1"
  3. Diff two versions with scripts/diff-versions.mjs. It fetches both snapshots, computes a page-structure diff (cheap, 2 calls), and — if you pass --components — deep per-node diffs at depth 2 (added/removed children, name/description changes, componentPropertyDefinitions changes for COMPONENT_SETs, and boundVariables deltas):

    bash
    # Page-structure diff only (2 API calls)
    node scripts/diff-versions.mjs --file ABC123def456 --from 4096761871 --to current
    
    # Deep diff of specific component sets (2 calls per node), detailed verbosity
    node scripts/diff-versions.mjs --file ABC123def456 --from 4096761871 --to 4096800000 \
      --components 695:313,420:88 --mode detailed

    Use current (or omit --to) to diff against HEAD. --mode is summary (counts only), standard (names + counts, default), or detailed (full property/binding detail).

What the diff DOES and does NOT track

The diff is honest about its blind spots — don't read "no changes" as "nothing changed":

  • Tracks: page structure (added/removed/renamed pages); on scoped nodes — children added/removed, componentPropertyDefinitions (added/removed/type/default change), name & description changes, and variable binding references.
  • Does NOT track: instances of components placed elsewhere on the canvas (only the nodes you pass as --components), raw layout props (hug-vs-fill, unbound paddings/widths/cornerRadius), unbound fills/strokes/effects, variable VALUE changes (Figma REST never exposes these), and style content. For forensic per-edit history including raw property changes, the live Desktop Bridge plugin's figma_get_design_changes is the complementary tool.

Notes

  • Figma's version pagination is cursor-style: after=<version_id> returns versions older in time (the list is newest-first). list-versions.sh handles this for you.
  • Old version_ids can be pruned by Figma's plan-tier retention policy — a 404 on snapshot usually means the version aged out, not that your key is wrong. Re-list to get valid IDs.
  • 403 on these endpoints means your PAT is missing the File versions: Read scope — reissue it.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Figma Version History」では何ができますか?

Figmaファイルのバージョン履歴の一覧表示、過去の任意のバージョンでのファイルのスナップショット作成、2つのバージョン間の差分確認(追加/削除/名前変更されたページと、コンポーネントごとの詳細な変更)を行います。ユーザーがFigmaの履歴を確認したい場合に使用します。起動するリクエストの例:「Figmaのバージョンを一覧表示」「このファイルにはどんなバージョンがある?」「バージョン履歴を表示」「バージョンXのこのファイルをスナップショット」「先週時点のファイルを取得」「Figmaの2つのバージョンを比較」「これらのバージョン間で何が変わった?」「バージョンAとBを比較」「このコンポーネントはリリース間で変更された?」。バージョン履歴はPlugin API、use_figma、ネイティブのFigma MCPからは取得できないため、Figma REST APIと個人用アクセストークンを使用します。文章形式のリリースノートを作成する場合はfigma-generate-changelogを、変更がどのバージョンで導入されたかを調べる場合はfigma-blame-nodeを使用してください。

TypingMindでFigma Version Historyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Figma Version Historyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFigma Version Historyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/southleft/figma-console-mcp-skills/tree/main/skills/figma-version-historyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Figma Version Historyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Figma Version Historyで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFigma Version Historyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Figma Version History」は無料ですか?

はい。southleftがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇