Figma Blame Nodeのロゴ

Figma Blame Node

組織
southleft
figma-blame-node

特定の変更(コンポーネントプロパティまたは子ノード)が導入されたFigmaのバージョンを、バージョン履歴の二分探索で特定します(N回ではなく約log2(N)回のAPI呼び出しで済みます)。「誰がいつ追加したか」に答えます。Figmaデザインのgit blameのような変更者特定をしたい場合に使います。たとえば、「このコンポーネントプロパティはいつ追加された?」「このバリアントが導入されたのはどのバージョン?」「このノードを追加したのは誰?」「このFigma要素のblameを確認して」「これがいつ作られたか調べて」「Figmaのgit blame」「このプロパティが初めて登場したのはいつ?」といった依頼に対応します。バージョン履歴はPlugin API / use_figma / ネイティブFigma MCPからは取得できないため、Figma REST APIと個人用アクセストークンを使います。2つのバージョン間の差分全体を確認する場合はfigma-version-historyを、文章形式のリリースノートを作成する場合はfigma-generate-changelogを使ってください。

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Figma Blame Node」を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-blame-node
  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-blame-node .claude/skills/figma-blame-node
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

figma-blame-node — binary-search which version introduced a change

Like git blame, but for Figma. Given a node and a target (a componentPropertyDefinitions key or a descendant child node id), this localizes the version that first introduced the target and returns that version's label, author handle, and timestamp.

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.

Why binary search

A naive walk would fetch the node at every version — N API calls for N versions. Existence of a target is monotonic (added once, then present in every newer version up to HEAD), so we binary search: probe the midpoint, check whether the target exists there, then narrow to the older or newer half. That's ~log2(N) calls — e.g. ~8 probes across 200 versions instead of 200. This is the rate-limit-friendly approach: Figma REST is throttled per token, and old snapshots are immutable, so fewer probes is strictly better.

Setup & skill boundaries

  • All requests use X-Figma-Token: $FIGMA_TOKEN against https://api.figma.com.

Derive the file key

bash
FILE_KEY=$(echo "$FILE_URL" | sed -E 's#.*/(design|file)/([A-Za-z0-9]+).*#\2#')

Workflow

  1. Identify the node and the target. node_id is typically a COMPONENT_SET. The target is exactly one of:

    • --property '<key>' — a componentPropertyDefinitions key like Disabled#1:2, or
    • --child '<node_id>' — a descendant node id that should appear under node_id.

    List versions first if you want to bound the search or sanity-check IDs:

    bash
    ../figma-version-history/scripts/list-versions.sh ABC123def456 --autosaves
  2. Run the blame search with scripts/blame-node.mjs:

    bash
    # When was a component property first added?
    node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --property 'Disabled#1:2'
    
    # When was a child node first added under a component set?
    node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --child 695:340
    
    # Bound the lookback and start from a specific version instead of HEAD
    node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --property 'Size#9:0' \
      --start 4096800000 --max 100 --no-autosaves

    It prints JSON: the introducing version (version_id, label, user_handle, created_at), an attribution_certainty, and a probes_made count so you can see how few calls it took.

Reading the result

attribution_certainty tells you how much to trust the answer:

  • exact — a real, attributable version introduced the target.
  • system_attributed — the introducing version was a system autosave (user = "Figma"). Re-run with --no-autosaves to snap to the nearest labeled version that contains the change.
  • exists_at_lookback_horizon — the target also exists at the oldest version we scanned, so the true introduction is older than the search range. Increase --max.
  • metadata_unavailable — introduced at --start itself but author metadata wasn't found within the versions-list lookback. The introduction is real; the user just isn't attributable from REST.

Notes & caveats

  • Monotonicity assumption: binary search assumes the target was added once and never removed. If it was added, removed, then re-added, the reported introduction point may be the later re-add.
  • --start must contain the target. You're asking "when was this introduced", so the search requires the target to exist at the starting version (default HEAD/current). To track something that was removed, pick a --start where it still existed.
  • Autosaves are included by default for finer attribution (most autosaves carry the real human user). Use --no-autosaves for human-labeled attribution only.
  • A 404 mid-search usually means a probed version_id was pruned by retention — re-run; the search tolerates and skips missing nodes.

同梱ファイル

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

よくある質問

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

特定の変更(コンポーネントプロパティまたは子ノード)が導入されたFigmaのバージョンを、バージョン履歴の二分探索で特定します(N回ではなく約log2(N)回のAPI呼び出しで済みます)。「誰がいつ追加したか」に答えます。Figmaデザインのgit blameのような変更者特定をしたい場合に使います。たとえば、「このコンポーネントプロパティはいつ追加された?」「このバリアントが導入されたのはどのバージョン?」「このノードを追加したのは誰?」「このFigma要素のblameを確認して」「これがいつ作られたか調べて」「Figmaのgit blame」「このプロパティが初めて登場したのはいつ?」といった依頼に対応します。バージョン履歴はPlugin API / use_figma / ネイティブFigma MCPからは取得できないため、Figma REST APIと個人用アクセストークンを使います。2つのバージョン間の差分全体を確認する場合はfigma-version-historyを、文章形式のリリースノートを作成する場合はfigma-generate-changelogを使ってください。

TypingMindでFigma Blame Nodeを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Figma Blame Node」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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