Логотип 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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: albertzhangz10. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Figma Design System To Design Md у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

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. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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

Увімкніть навичку Figma Design System To Design Md в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Figma Design System To Design Md, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Figma Design System To Design Md не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл 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.

Поширені запитання

Що робить навичка ШІ Figma Design System To Design Md?

Дизайн-система Figma у design.md — витягніть дизайн-систему з Figma та структуруйте її у design.md. Використовуйте, коли користувач каже «створи design.md», «витягни дизайн-систему», «токени дизайну в Markdown», «створи документацію дизайну з Figma», «дизайн-система Figma у design.md» або хоче задокументувати свою дизайн-систему на основі файлів токенів і Figma.

Навіщо використовувати Figma Design System To Design Md у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Figma Design System To Design Md — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Figma Design System To Design Md у TypingMind?

Відкрийте в 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?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Figma Design System To Design Md?

Зі скількома забажаєте. У TypingMind ви можете використовувати Figma Design System To Design Md із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Figma Design System To Design Md?

Так. На GitHub цю навичку публікує albertzhangz10 за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇