Logo van Ui Style Extractor

Ui Style Extractor

Community
ivansong1981
ui-style-extractor

Extract visual design systems from existing websites into reusable markdown style guides, optional website demos, and optional app UI style guides. Use when analyzing a live site, screenshots, or harvested CSS to document colors, typography, spacing, layout, components, motion, and design rules, or when generating new website or app UI that should match a reference site's visual language without copying its content.

Overzicht

Uitgeverivansong1981
Repositoryui-style-extractor
Skillnaamui-style-extractor
Sterren
6
Forks
1
Meegeleverde bestanden
Alleen instructies
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.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ivansong1981 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Ui Style Extractor 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/ivansong1981/ui-style-extractor/tree/main/.claude/skills/ui-style-extractor
  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/ivansong1981/ui-style-extractor.git /tmp/ui-style-extractor
mkdir -p .claude/skills
cp -r /tmp/ui-style-extractor/.claude/skills/ui-style-extractor .claude/skills/ui-style-extractor
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Ui Style Extractor 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 Ui Style Extractor automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Ui Style Extractor 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.

UI Style Extractor

Extract a site's visual language into a reusable Markdown guide, then use that guide to build original pages that still feel native to the source system.

Workflow

  1. Decide the output first.
    • Produce only a website style guide when the user wants documentation or prompt context.
    • Produce a website style guide plus demo page when the user wants website validation.
    • Produce a website style guide plus app UI style guide when the user wants the visual system translated into product UI.
    • Produce all three only when the user explicitly wants both website and app outputs.
  2. Build the evidence set before writing.
    • Prefer production CSS, design tokens, computed styles, and real DOM structure over screenshot-only guesses.
    • Inspect at least the homepage and one secondary page unless the user gives a tighter scope.
    • Use screenshots to capture composition, density, rhythm, imagery treatment, and overall mood.
  3. Duplicate the blank template and fill it section by section.
    • Use exact values where possible.
    • If a section is unsupported by evidence, write Not observed or Not present instead of inventing details.
  4. Distill repeated patterns into system rules.
    • Promote only repeated values into palette, spacing, radius, shadow, or motion tokens.
    • Keep one-off values in component notes unless they clearly define the brand language.
  5. Generate derivative outputs only after the website guide is stable.
    • Change the copy, product, and brand-specific content.
    • Preserve the design grammar: typography hierarchy, spacing rhythm, component treatment, and motion behavior.
    • For app guides, inherit the token layer first, then mark shell, workflow, and state patterns as adapted or inferred where necessary.
  6. Validate against the reference.
    • Compare screenshots side by side.
    • Tighten the guide if the generated page drifts from the source.

Extraction Rules

  • Prefer exact CSS values over visual estimation.
  • Treat screenshots as supporting evidence, not the primary source of tokens.
  • Record which pages were analyzed near the top of the guide.
  • Separate global rules from component-local exceptions.
  • Call out uncertainty explicitly when the source is ambiguous.
  • If the site has multiple modes or contrasting sections, document each mode rather than averaging them together.
  • Keep the final "Summary of Key Design Rules" strict enough that another model can follow it without re-reading the entire guide.

Demo Rules

  • Build original content in the extracted style; do not reproduce the reference site's copy wholesale.
  • Reuse the extracted tokens faithfully before adding custom flourishes.
  • Match the site's density and alignment logic, not just its colors and fonts.
  • Include only enough interactivity to demonstrate the system.
  • If fidelity depends on animation, gradients, or texture, implement them rather than omitting them.

App Guide Rules

  • Treat app UI guides as a derived artifact unless real product UI was also analyzed.
  • Explicitly separate inherited website tokens from adapted or inferred app patterns.
  • Define the product assumption near the top: dashboard, admin panel, consumer utility, and so on.
  • Keep app shells, data views, and forms consistent with the source system instead of defaulting to a generic SaaS aesthetic.
  • If the source is mostly marketing UI, reduce decorative gradients and oversized hero spacing in app contexts.

Output Conventions

  • Prefer <site>/<site>-ui-style.md for guide files when working in a multi-example repo.
  • Prefer <site>/demo.html for validation pages.
  • Prefer <site>/<site>-app-ui-style.md for app adaptation guides.
  • Keep reference captures close to the example, such as ref-viewport.png or ref-fullpage.png.
  • Keep guides in Markdown and keep component examples copyable.

Shared Resources

  • Use ../../../ui-style-extractor/assets/style-guide-template.md as the blank extraction template.
  • Use ../../../ui-style-extractor/assets/app-ui-style-template.md as the blank app adaptation template.
  • Read ../../../ui-style-extractor/references/extraction-workflow.md when you need the detailed page-selection and evidence-gathering workflow.
  • Read ../../../ui-style-extractor/references/app-adaptation-workflow.md when translating a website system into an app UI guide.
  • Read ../../../ui-style-extractor/references/quality-bar.md when deciding whether a guide or demo is complete enough to ship.

Install Note

  • This wrapper exists so Claude Code can discover the shared skill when this repository is open as a project.
  • For installation into another project or into ~/.claude/skills/, copy the canonical ui-style-extractor/ folder from this repository into that skills/ directory.

Veelgestelde vragen

Wat doet de AI-skill Ui Style Extractor?

Extract visual design systems from existing websites into reusable markdown style guides, optional website demos, and optional app UI style guides. Use when analyzing a live site, screenshots, or harvested CSS to document colors, typography, spacing, layout, components, motion, and design rules, or when generating new website or app UI that should match a reference site's visual language without copying its content.

Waarom Ui Style Extractor gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Ui Style Extractor 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 Ui Style Extractor in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ivansong1981/ui-style-extractor/tree/main/.claude/skills/ui-style-extractor. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Ui Style Extractor 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 Ui Style Extractor gebruiken?

Zoveel als je wilt. Je kunt Ui Style Extractor 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 Ui Style Extractor gratis?

Ja. Deze skill is door ivansong1981 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 👇