extract-design-system

Solid

Extract design primitives from a public website and generate starter token files for your project.

Web & Frontend 146 stars 16 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
72
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
95
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Extract Design System Use this skill when the user wants to reverse-engineer a public website's design primitives into project-local starter token files. ## Before You Start Ask for: - the target public website URL - whether the user wants extraction only or starter files too Set expectations: - this v1 extracts tokens and starter assets, not a full component library - results are useful for initialization, not pixel-perfect reproduction - do not overwrite an existing design system or app styling without confirmation ## Workflow 1. Confirm the target URL is public and reachable. 2. Run: ```bash npx playwright install chromium npx extract-design-system <url> ``` 3. Review `.extract-design-system/normalized.json` and summarize: - likely primary/secondary/accent colors - detected fonts - spacing, radius, and shadow scales if present 4. If the user wants extraction artifacts only, use: ```bash npx extract-design-system <url> --extract-only ``` 5. If the user already has `.extract-design-system/normalized.json` and only wants to regenerate starter token files, run: ```bash npx extract-design-system init ``` 6. Explain the generated outputs: - `.extract-design-system/raw.json` - `.extract-design-system/normalized.json` - `design-system/tokens.json` - `design-system/tokens.css` 7. Ask before modifying any existing app code, styles, or config files. ## Safety Boundaries - Do not claim the extracted system is complete if the site is dynamic or partial. - Do not i...

Details

Author
arvindrk
Repository
arvindrk/extract-design-system
Created
4 months ago
Last Updated
1 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

design-system-extraction

Extracts the complete design system of an existing site (color tokens, type scale, spacing, breakpoints, radius, components, states, motion) by running scripts in the Chrome console, validates every contrast pair against WCAG, and turns it into an implementation guide ready for a coding-agent session. Use whenever the user mentions copying, cloning, replicating, taking inspiration from or matching a site visual language, asks what fonts or colors a page uses, talks about reverse-engineering a UI or a design system, or simply pastes a URL as a design reference. Works the same for prompts in Portuguese, como extrair o design system, copiar o estilo desse site, que fontes e cores esse site usa, quero um site parecido com X, engenharia reversa de UI. Do not wait for the words extract or extracao, they almost never appear.

0 Updated 2 days ago
maiconlara
Web & Frontend Solid

extract-design

Extract a complete design system — colors, typography, spacing, components, shadows, and W3C design tokens — from any live website using Dembrandt. Runs a headless browser against the URL and returns real computed values from the DOM. Use when you need a site's actual design tokens, want to reverse-engineer a visual design, or need to seed a design system from an existing product.

31 Updated yesterday
dembrandt
Web & Frontend Listed

design-system-extractor

Extract and reconcile an existing product design system from authorized screenshots, design files, tokens, stylesheets, components, and shipped flows, preserving provenance, confidence, states, responsive rules, accessibility, exceptions, and migration impact. Use when the deliverable is an evidence-backed as-is system map or consolidation plan. Do not use to invent a greenfield visual direction, critique one flow, implement a supplied design, or imitate a third-party product.

1 Updated today
SylphxAI