Логотип Opendesigner Export

Opendesigner Export

Сообщество
ckryptickunal
opendesigner-export

Exports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma and Paper, and writes it into Figma or Paper through their MCP servers when connected.

Обзор

Издательckryptickunal
РепозиторийOpenDesigner
Название навыкаopendesigner-export
Звёзды
11
Форки
2
Встроенные файлы
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: ckryptickunal. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Opendesigner Export в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/ckryptickunal/OpenDesigner/tree/main/.agents/skills/opendesigner-export
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ckryptickunal/OpenDesigner.git /tmp/OpenDesigner
mkdir -p .claude/skills
cp -r /tmp/OpenDesigner/.agents/skills/opendesigner-export .claude/skills/opendesigner-export
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Opendesigner Export в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Opendesigner Export, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Opendesigner Export не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

OpenDesigner: export and round trip

Use this when the person wants their system in code, in Figma or in Paper. It works after an OpenDesigner interview or on any existing opendesigner/ folder.

The DTCG files in opendesigner/tokens/ are the source of truth. Every other format is generated from them. Never edit an export by hand: change the decision and regenerate.

The engine is scripts/engine.py in this skill when it was installed from a release zip. Otherwise it is the sibling opendesigner skill's scripts/engine.py. Run it from the project root.

1. Code exports (always available)

python3 <engine> build                      generate, validate, then every export, DESIGN.md and the preview
python3 <engine> export --format tailwind   one format only: css tailwind dtcg figma paper swift compose, or all
FormatOutput in opendesigner/Use it
(canonical)tokens/ (DTCG sets plus opendesigner.resolver.json for modes)Style Dictionary, Terrazzo, Tokens Studio, Penpot
dtcgbuild/dtcg/<name>.resolver.jsonA single resolver file for tools that take one entry point
cssbuild/css/tokens.css (custom properties, light and dark)Import once at the app root
tailwindbuild/tailwind/theme.css (Tailwind v4 @theme; it imports ../css/tokens.css itself)One line after Tailwind in the main CSS file (below)
swiftbuild/swift/DesignTokens.swift (Dynamic Type text styles; body 17 pt)Add to the iOS target
composebuild/compose/DesignTokens.ktAdd to the Android UI module
figmabuild/figma/variables.json and build/figma/import/<Collection>.<Mode>.tokens.jsonImport in Figma (below) when there is no MCP
paperbuild/paper/tokens.json, build/paper/tokens.light.css, tokens.dark.cssPaper tokens (below)

Tailwind v4 wiring. In the main CSS file, for example src/index.css:

css
@import "tailwindcss";
@import "../opendesigner/build/tailwind/theme.css";
  • Adjust the relative path to where the CSS file sits. theme.css brings in tokens.css, so light and dark, density and reduced motion work through CSS variables.
  • Utility classes follow the token roles, for example bg-action-primary, text-fg-primary, rounded-control and h-control-md. DESIGN.md lists the class for each role.
  • By default the export switches off Tailwind's own palette, radius, shadow and text sizes, so a stray bg-blue-600 or rounded-lg doesn't compile. To keep them, run engine.py set exports.tailwindReset false, then engine.py build.

Fonts per platform. If raw.fontLicence says the brand font's licence doesn't cover apps, the Swift and Compose files use the system font instead, and say so. Tell the person in one line before they ship an app build.

Ask before wiring an export into the person's code, such as their main CSS file, Tailwind config or build. For an engineer, name the exact files and lines, as above. Offer to append <opendesigner>/assets/output/AGENTS-snippet.md to their AGENTS.md, so later agents use the tokens.

2. Figma

Detect what is connected before promising anything:

  • Remote Figma MCP with use_figma (signed in, Full seat; canvas writes are in beta): it can create variables, styles and frames. If Figma's official skills are installed (figma-use, figma-generate-library), load them and follow their rules. They know the current API.
  • Figma desktop MCP only (get_variable_defs, get_design_context, get_screenshot): read-only. Use it to check, not to write.
  • Nothing connected: hand over build/figma/import/ (one DTCG file per collection and mode) for Figma's variables import, or build/figma/variables.json for Tokens Studio. Say that Figma imports DTCG only in part: one mode per file, sRGB, px, and no composite tokens.

Write flow with use_figma:

  1. Confirm the target file with the person and suggest working on a duplicate first.

  2. Create the five collections in build/figma/variables.json, in its order:

    • Primitives: ramps and raw sizes, no modes, hidden from publishing.
    • Color: color roles aliased to primitives, one mode per color scheme (Light and Dark).
    • Density: spacing and control sizes, one mode per density (spacious, comfortable, compact).
    • Motion: durations and easings, with Standard and Reduced modes.
    • Tokens: everything that does not change by mode (radius, weights, font families and the like).

    The Figma plan caps the modes per collection (exports.figmaPlan, set by Q-tool-03). The engine splits a collection that goes over the cap and warns. Check the plan before adding more themes.

  3. Create variables with explicit scopes (never "all scopes"), and set code syntax to the CSS variable name so developers see var(--...).

  4. Add text styles for the type scale and effect styles for the elevation levels.

  5. Build one specimen frame per foundation (palette, type, spacing, radius, elevation) and a component sheet, bound to the variables.

  6. Read back with get_variable_defs and compare against tokens/; report any mismatch.

  7. When the person or a designer edits in Figma, read the changes back. Apply them as decisions (engine.py set ... --why "changed in Figma by <name>"), never by editing token files.

3. Paper

Paper's MCP server runs inside Paper Desktop (local, 127.0.0.1:29979/mcp). If its tools are present:

  1. Load Paper's guide first (get_guide with topic paper-mcp-instructions). Then call get_basic_info to see the file.
  2. Write tokens from build/paper/tokens.json with create_tokens or set_tokens. Paper tokens are CSS variables without modes. Write the light values, and add the dark ones as a separate, clearly named set.
  3. Call get_font_family_info before any typography. Then write specimen artboards with write_html, one visual group per call: palette, type ladder, spacing ruler, radius, elevation, component sheet. The HTML in <opendesigner>/assets/templates/ (component sheet, palette) is a good start. Use the person's tokens, not sample data.
  4. Review each artboard with get_screenshot. Fix clipping by setting the artboard height to fit its content.
  5. Call finish_working_on_nodes when done.
  6. Designer comments (list_comment_threads) and selections (get_selection) come back as decisions through the engine, like Figma edits.

4. Before you hand over

  • Explain each export in one plain sentence, then give the path. For example: "This file gives your web app the colors as CSS variables."
  • engine.py validate passes, or each remaining warning has a written waiver.
  • The person knows the source of truth is the DTCG files in opendesigner/tokens/, and that exports are regenerated, not edited.
  • Record the export in the summary: formats, destinations (file names, Figma file, Paper file) and date.
  • If an export was missing, wrong or confusing, record it with engine.py feedback "..." --kind gap|bug|confusing|idea (see references/improve.md in the opendesigner skill). Nothing is posted without the person's OK.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Opendesigner Export?

Exports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma and Paper, and writes it into Figma or Paper through their MCP servers when connected.

Зачем использовать Opendesigner Export в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Opendesigner Export — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Opendesigner Export в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/ckryptickunal/OpenDesigner/tree/main/.agents/skills/opendesigner-export. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Opendesigner Export?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Opendesigner Export?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Opendesigner Export: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Opendesigner Export?

Да. Навык опубликован на GitHub автором ckryptickunal по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇