Logo van Ai To Figma

Ai To Figma

Community
Niall-Young
ai-to-figma

Plan web or iOS mobile interfaces from screenshots, Figma frame references, or a product brief; generate and explicitly approve full-screen visual previews for adaptation and independent design; rebuild approved directions as capture-safe static HTML with official assets; and push editable layers into Figma Design with Figma MCP code-to-canvas. Use when a user asks to design, recreate, reference, or independently plan a screen and deliver it directly to Figma.

Overzicht

UitgeverNiall-Young
RepositoryAItoFigma
Skillnaamai-to-figma
Sterren
52
Forks
6
Meegeleverde bestanden
34
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 34

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Niall-Young op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Ai To Figma in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Niall-Young/AItoFigma/tree/main/skills/ai-to-figma
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Niall-Young/AItoFigma.git /tmp/AItoFigma
mkdir -p .claude/skills
cp -r /tmp/AItoFigma/skills/ai-to-figma .claude/skills/ai-to-figma
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Ai To Figma in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Ai To Figma automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Ai To Figma niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

AI to Figma

Turn a design brief or visual reference into an approved visual direction, rebuild it as validated static HTML, then capture that HTML into an editable Figma Design file.

Core contract

  1. Resolve the brief, reference role, delivery target, fidelity mode, and device before creating the task workspace. Open the delivery-target chooser only for missing target fields. In Codex, insert it with the native ::codex-inline-vis directive; do not substitute a visualize content reference or modal form.
  2. Scaffold design.md with the resolved mode and without creating index.html. For adaptation and independent planning, establish the visual direction, generate a full-screen preview, iterate without a fixed limit, and stop until the user explicitly approves one version.
  3. After explicit approval, persist the selected file under previews/ and run scripts/record-preview-approval.mjs. Reconstruction skips only this full-screen preview gate, not generation of separate final assets.
  4. Resolve the local-font Typography Plan, inventory every non-text final visual in the Visual Asset Plan, classify its complexity as structural, flat, or rich, and show both complete decision tables to the user. Never abbreviate away composition, identity, complexity, method, or status. The approved full-screen preview is a reference, not a final asset.
  5. Resolve every typography and visual-asset row to ready, validate all required gates, then create index.html with scripts/init-html.mjs. Stop on any blocked item.
  6. Rebuild the approved direction with static HTML, inline CSS, separate final assets, and only small amounts of native JavaScript. Mark each planned visual with its data-visual-id; never embed the full-screen preview or introduce React or a remote runtime.
  7. Validate the rendered page and its visual-plan mappings locally before requesting a Figma capture.
  8. Use Figma MCP generate_figma_design as the delivery path and open only the root-scoped captureUrl emitted by scripts/serve-preview.mjs. Do not silently fall back to use_figma, clipboard HTML, SVG import, or a flat screenshot.
  9. Treat every capture ID as single-use. Permit one diagnosed retry with a new capture ID, then stop and report the failure.

Input roles

  • Brief: required product/content intent unless the user explicitly requests a literal reconstruction.
  • Reference: optional screenshot, local image, or node-specific Figma URL used for reconstruction or visual-language extraction.
  • Target: optional prompt input, but required before work begins. Use an explicitly designated Figma Design URL, or resolve the current Figma identity and plan for a new Design file through the delivery-target gate.
  • Device: web or mobile. Infer it only when the prompt or reference makes the class unambiguous.

If one Figma URL could be either a reference or a target, ask which role it has. Never guess.

Interpret “recreate”, “restore”, “1:1”, or equivalent language as reconstruction. Interpret “inspired by”, “reference”, or equivalent language as visual-language adaptation. Otherwise plan the interface from the brief.

Required references

Hard prohibitions

  • Do not crop a UI reference screenshot into final asset files.
  • Do not generate, invent, or approximately redraw an existing brand or product logo.
  • Do not regenerate an identity-critical product, person, package, or mascot and present it as the original.
  • Do not use an unvalidated transparent asset.
  • Do not generate a keyed background or run local background removal for a GPT Image 2 asset; request native transparency and validate the final alpha output.
  • Do not reduce a compositionally dominant hero illustration to generic CSS merely because its silhouette is abstract or geometrically reproducible.
  • Do not implement a rich visual with HTML/CSS, inline SVG, MingCute, or device-native structure. Use a file-backed original or image generation.
  • Do not substitute SVG or CSS when an image-generation row cannot be resolved. Invoke the runtime image-generation capability or mark the row blocked.
  • Do not create index.html before the Visual Asset Plan passes or continue while any visual is planned, resolving, or blocked.
  • Do not create index.html before the Typography Plan passes, use a remote or downloaded font, or leave a requested display font unresolved.
  • Do not create index.html for adaptation or independent planning before an explicitly approved preview is recorded and its hash validates.
  • Do not use the approved full-screen preview in HTML, the Visual Asset Plan, or Figma output; rebuild it as editable structure and separate assets.
  • Do not generate or distort an identity-critical logo, person, product, package, mascot, or character in a direction preview. Leave a neutral placeholder or use an authorized original without alteration.
  • Do not bake required shadows, backgrounds, UI text, or controls into generated subject images.
  • Do not mix MingCute with another generic icon family, use an icon font, retain an icon placeholder, or load icons at page runtime.
  • Do not send unreviewed HTML to Figma.
  • Do not capture body, html, or the browser viewport; capture only [data-figma-capture-root] through the URL emitted by scripts/serve-preview.mjs.
  • Do not claim delivery until the captured node or page has been reread and visually verified.
  • Do not create .ai-to-figma/<slug>/ while the delivery target is unresolved or an account switch is pending.

Bundled helpers

Resolve the directory containing this SKILL.md as AI_TO_FIGMA_SKILL_DIR. Use the bundled scripts from that directory instead of recreating their mechanics; keep generated task files in the user's current project:

bash
AI_TO_FIGMA_SKILL_DIR="/absolute/path/to/ai-to-figma"
npm install --omit=dev --prefix "$AI_TO_FIGMA_SKILL_DIR"
node "$AI_TO_FIGMA_SKILL_DIR/scripts/render-target-chooser.mjs" --input /thread-visuals/target-state.json --output /thread-visuals/figma-target-chooser.html
node "$AI_TO_FIGMA_SKILL_DIR/scripts/scaffold.mjs" --device web --mode adaptation --slug landing-page
node "$AI_TO_FIGMA_SKILL_DIR/scripts/record-preview-approval.mjs" --dir .ai-to-figma/landing-page --file previews/approved-v3.png
node "$AI_TO_FIGMA_SKILL_DIR/scripts/list-local-fonts.mjs" --query "PingFang"
node "$AI_TO_FIGMA_SKILL_DIR/scripts/validate-design.mjs" --file .ai-to-figma/landing-page/design.md
node "$AI_TO_FIGMA_SKILL_DIR/scripts/init-html.mjs" --dir .ai-to-figma/landing-page
node "$AI_TO_FIGMA_SKILL_DIR/scripts/inline-mingcute-icon.mjs" --file .ai-to-figma/landing-page/index.html --name home-1 --style regular --visual-id home-icon
node "$AI_TO_FIGMA_SKILL_DIR/scripts/validate-html.mjs" --file .ai-to-figma/landing-page/index.html --device web --design .ai-to-figma/landing-page/design.md
node "$AI_TO_FIGMA_SKILL_DIR/scripts/serve-preview.mjs" --dir .ai-to-figma/landing-page --port 4173
node "$AI_TO_FIGMA_SKILL_DIR/scripts/serve-preview.mjs" --dir .ai-to-figma/landing-page --port 4173 --inject-file /task-temp/capture-snippet.html --capture-id <capture-id> --capture-endpoint <capture-endpoint> --capture-delay 1000
python3 "$AI_TO_FIGMA_SKILL_DIR/scripts/validate-alpha.py" --input subject-transparent.png --preview-dir alpha-previews
# Legacy compatibility for a user-provided or first-party flat-background asset only:
python3 "$AI_TO_FIGMA_SKILL_DIR/scripts/remove-solid-background.py" --input legacy-source.png --out subject-transparent.png --key black --mode light-on-black
python3 "$AI_TO_FIGMA_SKILL_DIR/scripts/validate-alpha.py" --input subject-transparent.png --preview-dir alpha-previews --source-key black

The generated task directory, approved preview and approval record when required, Figma URL, verification result, asset provenance, and remaining limitations are required final outputs.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Ai To Figma?

Plan web or iOS mobile interfaces from screenshots, Figma frame references, or a product brief; generate and explicitly approve full-screen visual previews for adaptation and independent design; rebuild approved directions as capture-safe static HTML with official assets; and push editable layers into Figma Design with Figma MCP code-to-canvas. Use when a user asks to design, recreate, reference, or independently plan a screen and deliver it directly to Figma.

Waarom Ai To Figma gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Ai To Figma bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Ai To Figma in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Niall-Young/AItoFigma/tree/main/skills/ai-to-figma. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Ai To Figma gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Ai To Figma gebruiken?

Zoveel als je wilt. Je kunt Ai To Figma gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Ai To Figma gratis?

Ja. Deze skill is door Niall-Young op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇