Logo von Figma To Weaverse

Figma To Weaverse

Organisation
Weaverse
figma-to-weaverse

Use when recreating a Figma design as Hydrogen + Weaverse pages in this repo — turning a Figma file, frame, or flow into reusable Weaverse sections. Triggers on a figma.com URL, "build this design", "implement this Figma", or "create the storefront from the design". The Figma counterpart of cloning-websites-to-weaverse.

Übersicht

HerausgeberWeaverse
Repositoryshopify-hydrogen-skills
Skill-Namefigma-to-weaverse
Sterne
87
Forks
26
Mitgelieferte Dateien
1
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 1

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von Weaverse auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Figma To Weaverse in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Weaverse/shopify-hydrogen-skills/tree/main/skills/figma-to-weaverse
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Weaverse/shopify-hydrogen-skills.git /tmp/shopify-hydrogen-skills
mkdir -p .claude/skills
cp -r /tmp/shopify-hydrogen-skills/skills/figma-to-weaverse .claude/skills/figma-to-weaverse
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Figma To Weaverse in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Figma To Weaverse automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Figma To Weaverse nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Figma to Weaverse

Turn a Figma design into maintainable Weaverse pages. This is the Figma input adapter — the sibling of cloning-websites-to-weaverse, but the source is a Figma file instead of a live URL. Both adapters converge on the same downstream skill, generating-weaverse-project-json.

Figma file / frame ─→ figma-to-weaverse ─→ generating-weaverse-project-json ─→ import / content API
   (Figma MCP)        (tokens + manifest + preview)        (project JSON)

The two adapters share the same downstream rules. Section matching, deep schema verification, the content manifest, the clone preview route, and the brand-guideline conflict rule are identical to cloning-websites-to-weaverse — read that skill for the full matching logic. This skill only replaces the extraction layer (Figma MCP instead of Firecrawl) and adds Figma-specific gotchas.

When to Use

  • A figma.com URL (file, frame, or selection) is the source of a page or storefront
  • "Implement this design in Weaverse", "build the homepage from Figma"
  • Multi-frame flows that map to multiple Weaverse pages

Do not use it for live-website cloning (use cloning-websites-to-weaverse) or tiny copy edits.

Required Inputs

  • Figma file/frame/node URL (or current selection)
  • .guides/brand-guideline.md
  • sections.md
  • app/weaverse/components.ts

Required Outputs

Same three deliverables as the website cloning skill:

  1. Content manifest — per-section table of real asset URLs (from Figma asset export), text, links, Shopify refs, media types.
  2. Clone preview route — a single app/routes/clone-preview.$page.tsx rendering the full design as React + Tailwind, section-marked, brand-adjusted. User must approve this before section decomposition.
  3. Design spec — section mapping, schema boundaries, interaction model, token mapping.

Extraction with Figma MCP (MCP-first)

Use the Figma MCP tools. They return structured design data — more precise than scraped HTML for tokens and layout, but weaker on real interaction (a static design has no runtime behavior).

Before any use_figma write call, load the figma-use skill. For reads below, no write is needed.

  1. Map the structure — get_metadata on the file/frame to get the node tree. Top-level frames/sections become your section-splitting boundaries (the Figma equivalent of HTML section markers).
  2. Extract design tokens — get_variable_defs for colors, typography, spacing, radius. These map directly into project.config.theme in the JSON generator (colors → colorPrimary/colorText/…, type scale → bodyBaseSize/h1BaseSize/…). This is the biggest advantage over web scraping — tokens are explicit, not inferred.
  3. Read layout + content per frame — get_design_context on each section frame for layout structure, auto-layout direction, text content, and component usage. Auto-layout (horizontal/vertical, wrap, spacing) tells you composition (side-by-side vs stacked vs grid).
  4. Export assets — download_assets (or get_screenshot of leaf image nodes) to get real image/icon URLs. These populate the content manifest's image columns. There is no "video src" to extract like in HTML — flag motion/video intent from frame names or prototype notes instead.
  5. Visual reference — get_screenshot of each frame for the approval checkpoint and for verifying the clone preview matches.
  6. Design system reuse — search_design_system / get_libraries when the file uses a component library, to understand reusable component intent.

Plugin fallback

If the MCP can't reach the file or can't export a specific asset (e.g. a flattened group, an unusual export setting), fall back to a Figma agent plugin export and read its output file. MCP is the primary path; use the plugin only to fill a concrete gap, and note in the manifest which assets came from the fallback.

Workflow

  1. Read .guides/brand-guideline.md first. Brand guideline beats the design on visual conflicts.
  2. Ensure sections.md exists and is current before section matching.
  3. Extract the design with Figma MCP (steps 1–6 above). Save raw context/exports under .figma/<file>-<frame>.json (mirrors the cloning skill's .firecrawl/).
  4. Map tokens — turn get_variable_defs output into a theme token table for project.config.theme.
  5. Build the content manifest — required deliverable, same columns and rules as the cloning skill. Asset URLs come from download_assets, not from guessing.
  6. Generate the clone preview route at app/routes/clone-preview.$page.tsx — React + Tailwind, real assets, brand-adjusted tokens, {/* === BLOCK NAME === */} markers per frame.
  7. User approval checkpoint — STOP and wait. Present the preview URL + a summary (frame/section count, brand overrides, gaps). Do not proceed until the user explicitly approves. Iterate the preview on feedback.
  8. Decompose & match — split into section-sized blocks (one per top-level frame, usually). Classify media type, composition, layout mechanism, interaction. Then match against sections.md using the layout matching priority and deep structural verification defined in cloning-websites-to-weaverse (composition → layout → interaction → content model; then read the candidate section's source to verify aspect ratios, responsive images, split ratios, child types, animation, overlays). Classify as REUSE_EXISTING, ADAPT_EXISTING, or CREATE_NEW_REUSABLE_SECTION.
  9. Implement with clean schema boundaries: shared tokens → app/styles/app.css; sitewide controls → app/weaverse/schema.server.ts; section-local → section schema. Register new sections in app/weaverse/components.ts.
  10. Hand off the design spec + content manifest + token table to generating-weaverse-project-json.
  11. Verify desktop and mobile, then delete the temporary preview route once the Weaverse page matches the approved preview.

Figma-specific differences from website cloning

AspectWebsite (Firecrawl)Figma (MCP)
Design tokensinferred from CSS/computed stylesexplicit via get_variable_defs — map directly to theme
Section boundariesHTML section markers, slider/grid classestop-level frames / auto-layout containers from get_metadata
Compositionread from HTML positioningread from auto-layout direction/wrap/spacing
Assetsimage/video URLs in HTMLdownload_assets exports; no real video src
Interactionreal runtime behavior in HTMLnone at runtime — infer from frame names, prototype links, designer notes; do not invent interactions the design doesn't imply
Responsive variants<picture> / breakpoint classesseparate desktop/mobile frames if the designer made them; otherwise one frame

Red Flags

  • Skipping the approval checkpoint — same rule as website cloning: the user must approve the clone preview before section decomposition.
  • Inventing interactions — a static Figma frame has no carousel autoplay or scroll behavior unless the prototype or notes say so. Don't classify a frame as a slider just because it shows multiple cards. Confirm from prototype links or frame naming.
  • Ignoring Figma variables — get_variable_defs is the cleanest token source you'll ever get. Hardcoding colors/sizes when variables exist throws away the main Figma advantage.
  • Guessing asset URLs — export real assets with download_assets; mark MISSING — [describe] in the manifest when an export fails, don't substitute a placeholder.
  • One giant bespoke section per frame — decompose into reusable sections; reuse the registry first.
  • Re-deriving the matching rules — the section-matching priority and deep schema verification live in cloning-websites-to-weaverse. Follow them; don't reinvent a looser version.
  • Treating mobile/desktop frames as two pages — they're responsive variants of the same section; map to imageMobile/imageDesktop or breakpoint logic, not separate pages.
  • Leaving the preview route in the repo — delete it after the Weaverse page is verified.

Related skills

  • cloning-websites-to-weaverse — the website input adapter; owns the shared section-matching, manifest, and preview rules this skill reuses.
  • generating-weaverse-project-json — downstream; turns this skill's spec + manifest + token table into import-ready JSON.
  • weaverse-content-api — push or update content into the live project after import.
  • figma-use / figma-generate-design — Figma MCP plugin skills; load figma-use before any use_figma write call.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Figma To Weaverse?

Use when recreating a Figma design as Hydrogen + Weaverse pages in this repo — turning a Figma file, frame, or flow into reusable Weaverse sections. Triggers on a figma.com URL, "build this design", "implement this Figma", or "create the storefront from the design". The Figma counterpart of cloning-websites-to-weaverse.

Warum Figma To Weaverse in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Figma To Weaverse besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Figma To Weaverse in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Weaverse/shopify-hydrogen-skills/tree/main/skills/figma-to-weaverse ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Figma To Weaverse nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Figma To Weaverse verwenden?

So viele Sie möchten. In TypingMind können Sie Figma To Weaverse mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Figma To Weaverse kostenlos?

Der Skill wird von Weaverse auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇