Build Figma Libraryのロゴ

Build Figma Library

組織
superhero-tech
build-figma-library

Build or extend a Figma token and component library from product documentation, code, or an existing UI. Prepare it for another agent by checking component properties, composition examples, and handoff, including publishing when reuse spans files. Use for reconstructing design systems and making libraries reusable; screen-only design and documentation of existing components have separate workflows.

概要

公開者superhero-tech
リポジトリsuperhero-skills
スキル名build-figma-library
スター
223
フォーク
13
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Build a Figma Library

Turn product sources into native Variables, styles, and components, then verify that another agent can use them to build a view. A component board or a token count alone does not establish library readiness.

Working with Figma skills

This skill defines the outcome and handoff criteria. Delegate execution mechanics to the current skills in the installed Figma plugin:

  • Load figma-generate-library and figma-use before building the library; follow their API, session, asset discovery, and ID tracking rules.
  • Add figma-generate-design when composing a complete view from instances. Load figma-create-new-file before creating a new file.
  • Use figma-design-to-code to implement a view in code, and figma-code-connect for actual mappings to code components.
  • Locate skills in the current available-skills catalog. Do not hardcode versioned plugin cache paths or copy the plugin's API instructions here.
  • If a required skill or access is missing, explain the limitation and complete the independent work. Do not replace library assets with raster images.

1. Define the task contract

Use the current conversation and available sources to establish:

  • the sources and their precedence, the destination file, and the product scope;
  • whether the task covers foundations, a pilot, a full library, or an update;
  • whether the library will be used in the same file or across files;
  • the consumer: an agent designing in Figma, implementing code, or both.

Do not expand a listing into the entire product or a token-only request into a full library. An unspecified usage mode does not justify claiming readiness across files: build the agreed local scope and explicitly identify the unverified handoff stage. Ask only about decisions that block the outcome; continue the remaining work.

Before making changes, state a concise scope and acceptance criteria. Inspect existing assets and preserve compatible IDs, conventions, and dependencies.

2. Inspect sources and build foundations

Read the source and token contract.

Collect confirmed values, layout rules, families, dependencies, and actual state combinations. Distinguish observed information, new Figma mappings, recommendations, and gaps. Then build the required Variables, aliases, modes, text styles, and effect styles. Bind them to components and verify alias resolution and code mappings.

Do not turn every literal into a global token. Do not add themes or states merely because they are common. Preserve source exceptions unless changing them is part of the task.

3. Build components that are easy to use

Work in dependency order. Validate a representative family first, then extend the verified model to the remaining scope.

  • Use Auto Layout, shared styles, and variable bindings.
  • Variants describe visual, structural, or state differences; TEXT, Boolean, and Instance swap properties handle content and optional elements.
  • Expose properties of frequently changed nested elements. A search component exposing only Viewport is insufficient if changing its query, location, or state requires searching through layers.
  • Check defaults and override preservation when switching variants. Resizing an instance does not establish automatic breakpoint switching.
  • Document each component's purpose, variant selection, and a link to the relevant documentation section. CSS provenance alone does not explain usage.

4. Show how to compose views

For a full library or a library intended for building views, include a complete representative view made from instances in the relevant responsive layouts. Reuse an existing example if it serves this purpose.

Show composition rules: container, margins, grid, section spacing, content order, and optional-element behavior. Label your own proposals separately. A board of independent cards and controls does not replace a full-page example.

For foundations only or a single family, provide an example appropriate to that scope; do not add unrequested screens.

5. Validate and hand off the system

Read the acceptance and handoff criteria. Perform the structural, visual, and usage checks relevant to the scope.

The guide in the file must let another agent select components, tokens, variants, and layout without access to this conversation. Record concrete asset links and IDs, along with open decisions; working state in /tmp is not consumer documentation.

When the scope includes use across files, include publishing components, styles, variable collections, and their dependencies, followed by a test in the consuming file. Publish within the task's authorization, your permissions, and the existing audience. Do not broaden access in the process.

If the consumer is a coding agent, also provide the repository and actual code mappings. Do not equate a Figma library with an implementation component package.

6. Finish with evidence

Provide links to the library, guide, and example, along with coverage, validation results, and remaining decisions. Distinguish:

  • ready locally;
  • published, but not yet verified in a consuming file;
  • verified across files;
  • handed off for code implementation, only to the extent actually verified.

Do not claim full readiness while a required stage remains incomplete. Identify the specific gap without blocking independent parts of the task.

Reusable prompt

The updated prompt can start a task or share the workflow with someone who prefers a full instruction. It does not need to be read on every invocation of this skill.

同梱ファイル

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

よくある質問

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

Build or extend a Figma token and component library from product documentation, code, or an existing UI. Prepare it for another agent by checking component properties, composition examples, and handoff, including publishing when reuse spans files. Use for reconstructing design systems and making libraries reusable; screen-only design and documentation of existing components have separate workflows.

TypingMindでBuild Figma Libraryを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Build Figma Library」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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