Logo di Figma To Swiftui

Figma To Swiftui

Community
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.

Panoramica

Pubblicato dadaetojemax
Repositoryfigma-to-swiftui-skill
Nome della skillfigma-to-swiftui
Stelle
27
Fork
3
File inclusi
11
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 11

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da daetojemax su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Figma To Swiftui in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/daetojemax/figma-to-swiftui-skill/tree/master
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/daetojemax/figma-to-swiftui-skill.git \
  .claude/skills/figma-to-swiftui
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Figma To Swiftui in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Figma To Swiftui non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Figma To Swiftui non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Figma To Swiftui su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Figma To Swiftui è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Figma To Swiftui in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/daetojemax/figma-to-swiftui-skill/tree/master. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Figma To Swiftui?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Figma To Swiftui?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Figma To Swiftui: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Figma To Swiftui è gratuita?

È pubblicata su GitHub da daetojemax. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇