Логотип Figma To Swiftui

Figma To Swiftui

Сообщество
daetojemax
figma-to-swiftui

Implement or update iOS SwiftUI UI from Figma designs; also use for implementation plans, token mapping, or asset export for that UI.

Обзор

Издательdaetojemax
Репозиторийfigma-to-swiftui-skill
Название навыкаfigma-to-swiftui
Звёзды
27
Форки
3
Файлы в комплекте
11
Ссылки
  • Инструкции в формате Markdown

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

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

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

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

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

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

    Издатель навыка на GitHub — daetojemax. Перед установкой изучите исходные материалы.

Установка

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

1

Установка в TypingMind

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

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/daetojemax/figma-to-swiftui-skill/tree/master
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/daetojemax/figma-to-swiftui-skill.git \
  .claude/skills/figma-to-swiftui
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Figma to SwiftUI

Deliver native SwiftUI that matches the requested Figma design and fits the existing app. Treat generated web code as design evidence, not as code to port. Preserve the project's architecture, component APIs, and behavior outside the requested change.

Choose the scope

Use the user's request and any brief to establish the target screens, actions, states, and supported devices. A brief defines behavior and scope; Figma defines visuals within that scope. Read source-document.md when a brief needs reconciliation with the design.

  • Implement a screen or component: gather the relevant design evidence and project context, then implement through completion.
  • Update existing UI: inspect the affected view and dependencies; use adaptation-workflow.md to preserve behavior while closing the visual differences.
  • Plan, map tokens, or export assets: deliver that artifact without automatically implementing screens or changing shared design systems.

Resolve routine choices from the codebase and design. Ask when an unresolved choice materially changes scope, behavior, or the target design; continue independent work while it is clarified. A plan or difference checklist is working context, not a mandatory approval gate.

Gather the evidence needed

Use available Figma tools according to their current schemas. Do not assume every server exposes the same tools or parameters.

  • For /design/ or legacy /file/ links, extract the file key and normalize node-id=3166-70147 to 3166:70147. Desktop selection can supply the target when supported. For prototype or board links, resolve the underlying design frame if possible; otherwise request a design link.
  • For a clear screen/component, obtain design context and a visual reference. Reuse supplied or already fetched evidence when it is sufficient and current.
  • For a root, page, or ambiguous flow, use metadata to locate the relevant frames before fetching detailed context. See screen-discovery.md.
  • Split oversized or truncated context into meaningful child nodes rather than repeating the same failed request. See fetch-strategy.md for tool selection and cache scope.
  • Inspect existing components, tokens, assets, deployment target, and relevant dependencies. Read Code Connect mappings when available and useful; verify the mapped SwiftUI component fits the requested variant.

If Figma access fails, use figma-mcp-setup.md. Continue work supported by available evidence and identify what remains blocked rather than inventing missing design details.

Preserve the design and platform behavior

  • Use exact design values where available and account for differences in native rendering. Prefer project tokens and components that express the same intent; do not silently replace a requested visual change with a mismatched token or alter a shared token globally.
  • Use real Figma assets for authored icons, logos, and illustrations. Do not substitute SF Symbols, text, or approximate drawings without user direction. Structural geometry can be SwiftUI; data-driven images use the app's image pipeline.
  • Let iOS render system chrome such as the keyboard, status bar, and home indicator. Preserve native navigation, control semantics, safe areas, and accessibility where they meet the design.
  • Follow relevant project conventions for image loading, localization, state, and animation. When no convention exists, choose a suitable native implementation within scope; adding a library is not a prerequisite.

Load only the references needed for the current work:

NeedReference
Exported artwork, PNG validation, asset catalog scale and tintasset-handling.md
Figma variables, semantic tokens, typography metricsdesign-token-mapping.md
Auto Layout, sizing, effects, transitionslayout-translation.md
Multiple device frames or adaptive container layoutsresponsive-layout.md
Component states, sizes, styles, optional contentcomponent-variants.md
Exact value extraction or visual mismatch diagnosisvisual-fidelity.md

Finish the requested work

For implementation, complete the requested UI, assets, and behavior, including specified loading, error, empty, and disabled states. Continue through relevant local checks and fix issues introduced by the change. Choose verification proportionate to the work: a build for code changes when available, and a rendered comparison for visual changes when a preview or simulator is available. Respect an explicit request to skip a check; do not make choosing a validation method a routine question.

Use the same screen state, appearance, and device/container size for visual comparison. Stop iterating when the requested behavior works and observed material discrepancies are resolved. State what was checked and any remaining limitations; code inspection alone does not establish visual fidelity.

Register or update Code Connect mappings only when that external change is part of the user's request or existing authorization. An implementation task does not by itself require publishing mappings.

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

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

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

Что делает навык ИИ Figma To Swiftui?

Implement or update iOS SwiftUI UI from Figma designs; also use for implementation plans, token mapping, or asset export for that UI.

Зачем использовать Figma To Swiftui в TypingMind?

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

Как установить Figma To Swiftui в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/daetojemax/figma-to-swiftui-skill/tree/master. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Figma To Swiftui?

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

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

С любым количеством. В TypingMind вы можете использовать Figma To Swiftui с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Figma To Swiftui?

Навык опубликован на GitHub. Издатель — daetojemax. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

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

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

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

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

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

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