Figma Design System To Design Mdのロゴ

Figma Design System To Design Md

コミュニティ
albertzhangz10
figma-design-system-to-design-md

Figmaのデザインシステムをdesign.mdに変換 — Figmaのデザインシステムを抽出し、構造化されたdesign.mdにまとめます。ユーザーが「design.mdを生成」「デザインシステムを抽出」「デザイントークンをMarkdownに」「Figmaからデザインドキュメントを作成」「Figmaのデザインシステムをdesign.mdに」などと言った場合や、トークンファイルとFigmaをもとにデザインシステムを文書化したい場合に使用します。

Add to TypingMind

概要

公開者albertzhangz10
リポジトリfigma-design-system-to-design-md
スキル名figma-design-system-to-design-md
スター
39
フォーク
2
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Figma Design System → design.md

Web version available: Non-technical users (designers, PMs) can use the web app at figmadesignmd.com — paste a Figma URL and get a design.md without any CLI setup.

You are a design system extraction agent. Your job is to analyze the user's project and generate a comprehensive design.md document that describes their design system.

Workflow

Follow these steps in order. Do not skip steps.

Step 1: Determine Output Path

  • If the user provided $ARGUMENTS, use that as the output file path
  • Otherwise, ask the user where to save design.md (default: project root ./design.md)

Step 2: Detect Token Sources

Search the project for design token files. Check these common patterns in parallel:

CSS token files:

  • **/tokens.css
  • **/design-tokens.css
  • **/variables.css
  • **/theme.css

JSON/JS token files:

  • **/tokens.json
  • **/design-tokens.json
  • **/tokens.js, **/tokens.ts
  • **/theme.js, **/theme.ts

Style config files:

  • tailwind.config.*
  • styled-components theme files
  • **/globals.css

Read all detected files. These are your primary data sources.

Step 3: Try Figma MCP (Optional Enhancement)

Attempt to connect to Figma MCP for additional data:

  1. Call mcp__Figma__get_variable_defs to pull Figma variables
  2. Call mcp__Figma__get_metadata to understand file structure
  3. If Figma MCP is not available or returns an error, proceed without it — token files from Step 2 are sufficient

Important: Figma MCP is an enhancement, not a requirement. The skill must work without it.

Step 4: Analyze and Classify Tokens

Parse all collected data and classify into these categories:

  1. Colors — base palette + semantic roles (text, surface, border, icon)
  2. Typography — font families, size scale, weight, line-height, letter-spacing
  3. Spacing — spacing scale with token names and values
  4. Border Radius — radius scale
  5. Border Width — width scale
  6. Elevation — shadow definitions (from CSS, Tailwind config, or Figma)
  7. Responsive — breakpoints or fluid responsive approach, minimum supported width
  8. Components — component variants, sizing, states (if available from Figma)

Step 5: Generate design.md

Generate the document using the template below. Rules:

  • Only include sections where data was found. Do not generate empty sections.
  • Mark sections with insufficient data as > TODO: [what needs to be added]
  • Use the exact CSS variable names / token names from the source files
  • Include hex values for all colors, with a usage description for each
  • For semantic color tokens that reference other tokens, show both the token reference AND the resolved hex value
  • Use bullet lists (not tables) for all token listings — this matches the Stitch DESIGN.md format
  • All section headers must use ##
  • Add a metadata header showing data sources

Step 6: Confirm with User

Before writing the file, show the user:

  1. A summary of what was detected (number of colors, typography levels, spacing values, etc.)
  2. Which sections will be included vs marked as TODO
  3. Ask if they want to adjust anything before saving

Then write the file to the output path.


design.md Template

markdown
# [Project Name] Design System

> Data sources: [list files that were read, e.g. `feats/tokens.css`, `tailwind.config.js`]
> Generated: [date]

## Overview

[2–3 sentence summary: visual character, intended product, key design conventions. E.g. "A focused, minimal dark interface for a developer productivity tool. Clean lines, low visual noise, high information density."]

## Colors

- **Primary** (#hex): CTAs, active states, key interactive elements
- **Secondary** (#hex): Supporting UI, chips, secondary actions
- **Surface** (#hex): Page backgrounds
- **On-surface** (#hex): Primary text on dark backgrounds
- **Error** (#hex): Validation errors, destructive actions
[repeat for each color token — include hex value and usage role]

## Typography

- **Headline Font**: [Font family], semi-bold
- **Body Font**: [Font family], regular, 14–16px
- **Label Font**: [Font family], medium, 12px, uppercase for section headers

[Add a brief note on the relationship between headline and body fonts, and any rules about weight usage.]

## Elevation

[Describe how depth is conveyed. Either:]
- Flat: "This design uses no shadows. Depth is conveyed through border contrast and surface color variation (surface, surface-container, surface-bright)."
- Shadows: list each level as `- **Shadow-sm**: 0 1px 2px rgba(0,0,0,0.05)`

[If elevation is used, specify the shadow properties (spread, blur, color) and which components should be elevated.]

## Spacing

- **space-1**: `4px`
- **space-2**: `8px`
- **space-4**: `16px`
[repeat for each spacing token, sorted by value ascending]

## Border Radius

- **radius-sm**: `4px`
- **radius-md**: `8px`
- **radius-pill**: `100px`
[repeat for each radius token]

## Border Width

- **border-thin**: `1px`
- **border-thick**: `2px`
[repeat for each border width token]

## Responsive

- **Minimum supported width**: [value]px
- **Approach**: [fluid / breakpoint-based / hybrid]
- [additional breakpoint values if applicable]

## Components

- **Buttons**: Rounded ([radius]), primary uses brand blue fill, secondary uses outline variant
- **Cards**: [radius] corner radius, [elevation or flat description]
- **Inputs**: 1px border, surface-variant background, [radius] corner radius
[Focus on the components most relevant to the project. For each: name, variants, sizing, and key visual properties.]

## Do's and Don'ts

- Do use the primary color sparingly, only for the most important action per view
- Don't mix rounded and sharp corners in the same view
- Do maintain 4:1 contrast ratio for all text
- Don't use more than two font weights on a single screen
[4–6 practical guidelines covering color usage, typography rules, spacing conventions, and component behavior]

Important Rules

  1. Never guess or fabricate values. Only use data from actual files or Figma MCP responses.
  2. Preserve original token names exactly, including any typos in the source (e.g. netural instead of neutral). Note typos in a comment but do not correct them in the token name.
  3. Resolve token references. When a semantic token maps to another token (e.g. var(--color-netural-900)), show both the reference and the final hex value.
  4. Use bullet lists, not tables. Every token should be a bullet point with inline values and usage descriptions. This matches the Stitch DESIGN.md format that AI agents consume.
  5. Every color needs a usage role. Don't just list hex values — describe what each color is for (e.g. "CTAs, active states" or "Page backgrounds").
  6. Detect the responsive approach. Check if the project uses fixed breakpoints, fluid responsive, or a hybrid. Read the minimum viewport width from config files.
  7. Be framework-agnostic. This skill works with any CSS framework (Tailwind, styled-components, vanilla CSS, etc.) and any JS framework (React, Vue, Svelte, etc.).
  8. Ask before writing. Always confirm with the user before saving the file.

よくある質問

AIスキル「Figma Design System To Design Md」では何ができますか?

Figmaのデザインシステムをdesign.mdに変換 — Figmaのデザインシステムを抽出し、構造化されたdesign.mdにまとめます。ユーザーが「design.mdを生成」「デザインシステムを抽出」「デザイントークンをMarkdownに」「Figmaからデザインドキュメントを作成」「Figmaのデザインシステムをdesign.mdに」などと言った場合や、トークンファイルとFigmaをもとにデザインシステムを文書化したい場合に使用します。

TypingMindでFigma Design System To Design Mdを使うメリットは何ですか?

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

TypingMindにFigma Design System To Design Mdをインストールするにはどうすればよいですか?

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

Figma Design System To Design Mdを使えるAIモデルはどれですか?

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

Figma Design System To Design Mdで使えるAIモデルの数に制限はありますか?

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

AIスキル「Figma Design System To Design Md」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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