Figma Ai Bridgeのロゴ

Figma Ai Bridge

コミュニティ
Kacep91
figma-ai-bridge

Use when Codex needs to work with this repository's local Figma AI Bridge workflow: start or check the localhost bridge, guide Figma Desktop development plugin capture, locate/validate/summarize generated bundles, create Codex visual-brief or enrichment tasks, or implement UI from a captured bundle. Use for requests mentioning Figma AI Bridge bundles, AI Bridge Batch Capture, ./figma-ai-bridge, prompt.md/page-map.md, visual briefs, Codex enrichment, or no-token/no-REST Figma-to-code automation.

概要

公開者Kacep91
リポジトリfigma-ai-bridge
スキル名figma-ai-bridge
スター
17
フォーク
1
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Figma AI Bridge

Use this skill for the local workflow:

text
Figma Desktop plugin -> localhost bridge -> lean handoff bundle -> Codex implementation

Do not use Figma REST API, Dev Mode MCP, access tokens, or Figma mutation.

Preflight

From the repo root:

bash
./figma-ai-bridge doctor
./figma-ai-bridge status

If the bridge is stopped or stale:

bash
./figma-ai-bridge restart

Health endpoint:

bash
curl http://localhost:4778/health

Capture Boundary

Fully automatic capture from Figma requires the Figma Desktop plugin UI. Codex can automate post-capture work once a bundle exists.

For plugin setup and user-facing troubleshooting, read references/figma-plugin-setup.md.

Bundle Workflow

Prefer commands over manual JSON inspection:

bash
./figma-ai-bridge summary latest
./figma-ai-bridge validate latest

For a specific bundle:

bash
./figma-ai-bridge summary out/figma-bundle_YYYY-MM-DD_HH-mm-ss
./figma-ai-bridge validate out/figma-bundle_YYYY-MM-DD_HH-mm-ss

Read references/bundle-contract.md before judging missing or extra generated files.

Post-Capture Automation

Default automation is Codex-first and batches 3 captures per task section:

bash
./figma-ai-bridge auto latest

This validates the bundle and writes portable Codex task files:

  • codex-visual-brief-task.md
  • codex-enrichment-task.md

Manual alternatives:

bash
./figma-ai-bridge brief latest
./figma-ai-bridge codex latest --batch-size 3
./figma-ai-bridge enrich latest --batch-size 3

./figma-ai-bridge brief latest creates a Codex task by default. Generated public artifacts use English headings by default. External vision providers are opt-in:

bash
./figma-ai-bridge brief latest --provider omp --command 'omp -p --model gpt-5.1 {image_refs} {prompt}'

Read references/automation.md when the user asks for end-to-end automatic operation.

Implementation Reading Order

  1. prompt.md
  2. page-map.md
  3. links-report.md if present
  4. ./figma-ai-bridge summary <bundle>
  5. Each relevant capture's visual-brief.md if present
  6. Each relevant capture's preview.png
  7. Each relevant capture's implementation.md
  8. Each relevant capture's ai-notes.md if present
  9. texts.json only for exact strings omitted from the higher-signal files
  10. design-context.json only for exact geometry, colors, typography, autolayout, effects, and hierarchy

Do not load manifest.json, every texts.json, or full design-context.json files by default. Work only with captures relevant to the requested implementation.

Enrichment Rules

  • Use preview.png once to write visual-brief.md; do not try to replace image inspection with JSON-only analysis when visual fidelity matters.
  • Write generated public artifacts in English by default unless the user explicitly asks for another language.
  • Use existing visual-brief.md and implementation.md first. Inspect preview.png again only when the brief is missing or ambiguous; open texts.json and design-context.json selectively.
  • Keep assumptions explicit. Do not invent business logic.
  • After enrichment, index/visual-briefs.md should link every generated visual-brief.md and ai-notes.md.
  • Index-level reports should be concrete, not placeholders:
    • index/ai-summary.md
    • index/screen-inventory.md
    • index/component-candidates.md
    • index/implementation-risks.md

Failure Modes

  • Bridge unavailable: run ./figma-ai-bridge restart, then ./figma-ai-bridge status.
  • Stale bridge warning: restart before capture; otherwise Figma may use old generator code.
  • No latest bundle: ask the user to run the Figma Desktop plugin or provide a bundle path.
  • Validation errors: fix generator bugs before trusting the bundle for implementation.
  • Cross-file links unresolved: the target file must be open in Figma Desktop; this workflow intentionally avoids Figma REST API.

同梱ファイル

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

よくある質問

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

Use when Codex needs to work with this repository's local Figma AI Bridge workflow: start or check the localhost bridge, guide Figma Desktop development plugin capture, locate/validate/summarize generated bundles, create Codex visual-brief or enrichment tasks, or implement UI from a captured bundle. Use for requests mentioning Figma AI Bridge bundles, AI Bridge Batch Capture, ./figma-ai-bridge, prompt.md/page-map.md, visual briefs, Codex enrichment, or no-token/no-REST Figma-to-code automation.

TypingMindでFigma Ai Bridgeを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Figma Ai Bridge」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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