yrzhe/claude-skills/design-distiller
Claude Code and agent skill by yrzhe/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Scrape any website's design system into a structured Design MD + decomposed design tokens. Supports Browser Use Cloud, Playwright, Chrome headless, source code analysis. Maintains a Reference Pool of full Design MDs and a Digest Pool of cross-site design tokens for mix-and-match composition.
Install
npx vskill@latest install yrzhe/claude-skills/design-distillerSKILL.md
Design Distiller
Give any website URL, extract the complete design system into a Design MD + composable design tokens.
Triggers
/design-distiller- "scrape this website's design" / "extract design system"
- "design scrape" / "make a Design MD"
- "analyze this site's design"
Core Concepts
Design MD
A pure Markdown design system document that AI agents can read directly to generate matching UI. Format follows awesome-design-md.
Reference Pool
references/{slug}/ — One folder per website, containing the full Design MD + screenshot assets. This is the raw material library.
Digest Pool
digests/ — Cross-site design tokens decomposed by dimension (typography, colors, spacing, components, etc.). Each entry is tagged with its source website. Used for mix-and-match composition when building new sites.
Output Structure
Pre-loaded References
The Reference Pool ships with 55 pre-loaded brands imported from awesome-design-md and the nothing-design skill. These text-only imports differ from freshly scraped references:
- No `screenshots/` — visual data was not captured during batch import. Screenshots are generated only when running the full 4-phase pipeline on a new URL.
- No `meta.json` — metadata is generated only by the pipeline's Generate phase. Pre-loaded references have their metadata embedded in the Digest Pool cross-references instead.
- Nothing uses an extended format —
references/nothing/contains multi-file documentation (DESIGN.md + tokens.md + components.md + platform-mapping.md) from a standalone design system skill. It does not follow the standard 9-module format because its craft rules and composition philosophy cannot be reduced to that template.
All other references follow the standard 9-module Design MD format.
Workflow — 4 Phase Pipeline
Phase 1: Scrape
-> prompts/scraper.md
Goal: Extract design information from the target website using all available tools.
Tool Priority
| Priority | Method | Use Case | Tool Pattern | |
|---|---|---|---|---|
| 1 | Browser Use Cloud | Full browsing + screenshots + DOM extraction | browser-use_run_session, browser-use_get_session, browser-use_send_task | |
| 2 | Playwright | Screenshots + DOM extraction | playwright_browser_navigate, playwright_browser_take_screenshot, playwright_browser_evaluate | |
| 3 | Chrome Headless CLI | Screenshots | Local Chrome command line via Bash | |
| 4 | WebFetch + Source Analysis | HTML/CSS source code | webfetch, websearch_web_search_exa |
Capability Detection: Before starting a scrape, check which browser tools are available in the current environment. Try the highest-priority tool first; if unavailable or erroring, fall back to the next tier. Do not assume any specific tool is present.
Extraction Checklist
For each website, collect:
A. Visual Screenshots (via browser tools)
- [ ] Homepage full-page screenshot (desktop 1440px + mobile 390px)
- [ ] Dark/light mode toggle (if available)
- [ ] 2-3 key subpages (about, product, pricing)
- [ ] Interactive states (button hover, input focus)
B. CSS Source Extraction (via browser JS execution or source analysis)
- [ ] CSS custom properties (
--*variables) - [ ]
@font-facedeclarations - [ ] Computed styles for key selectors (h1-h6, body, button, input, card)
- [ ] Media query breakpoints
- [ ] Animation/transition definitions
C. Asset Files
- [ ] External CSS file URL list
- [ ] Font file URLs
- [ ] Design token files (e.g.,
design-tokens.json,theme.ts)
D. Page Structure
- [ ] DOM hierarchy (main landmark elements)
- [ ] Component pattern identification (nav, card, list, form, etc.)
Browser JS Extraction Scripts
Execute via browser tools to extract design data:
Phase 2: Analyze
-> prompts/analyzer.md
Goal: Structure the raw scraped data into the 9 Design MD modules.
Design MD — 9 Modules
| # | Module | Content | Key Output | |
|---|---|---|---|---|
| 1 | Visual Theme & Atmosphere | Design philosophy, mood, visual personality | 3-5 sentence qualitative description | |
| 2 | Color Palette & Roles | Semantic color names + hex values + usage | Color palette table | |
| 3 | Typography Rules | Font families, weight hierarchy, line-height, letter-spacing | Type scale table | |
| 4 | Component Stylings | Buttons, cards, inputs, nav — all interactive states | Component specs | |
| 5 | Layout Principles | Spacing system, grid, container widths, whitespace philosophy | Spacing token table | |
| 6 | Depth & Elevation | Shadow system, surface hierarchy | Shadow level table | |
| 7 | Do's and Don'ts | Design guardrails, anti-patterns | Rules list | |
| 8 | Responsive Behavior | Breakpoints, touch targets, collapsing strategies | Breakpoint table | |
| 9 | Agent Prompt Guide | Quick AI reference, color/font lookup tables | Cheat sheet |
Analysis Principles
- Observation over guessing — Only document what screenshots and code show. Never fabricate.
- Precise values — Colors must be hex, font sizes must be px, spacing must be concrete numbers.
- Semantic naming — Don't write
#171717, writeNear Black (#171717) — primary text color. - Source attribution — Tag each value as extracted from CSS variables vs. visually estimated.
- Uncertainty marking — If visually estimated from screenshots, mark as
(visual estimate).
Phase 3: Generate
-> prompts/generator.md
Goal: Generate the final Design MD file + meta.json.
meta.json Schema
Design MD Template
See the 9-module template in prompts/generator.md. Each module follows the structure:
- Section heading with number
- Key data in Markdown tables
- Contextual notes and usage guidelines
Phase 4: Digest
-> prompts/digester.md
Goal: Decompose the newly generated Design MD and merge into the Digest Pool.
Digest File Format
Each digest file is organized by source website for easy mix-and-match:
Digest Rules
- Auto-update after each new reference — No manual trigger needed.
- Tag confidence —
(CSS var)vs(visual estimate). - Tag uniqueness — Mark distinctive choices with
[unique]. - Cross-reference — If two sites share the same font/color, note the connection.
Command Interface
Basic Usage
-> Full pipeline: Scrape -> Analyze -> Generate -> Digest
Extended Commands
| Command | Description | |
|---|---|---|
/design-distiller [url] | Full distillation | |
/design-distiller digest | Run digest only (when references exist) | |
/design-distiller compare [slug1] [slug2] | Compare two design systems | |
/design-distiller compose [description] | Mix-and-match from Digest Pool to generate a new Design MD | |
/design-distiller list | List all references | |
/design-distiller update [slug] | Re-scrape and update an existing reference |
Compose Example
-> Extracts matching dimensions from Digest Pool, composes a new Design MD.
Scraping Strategies
Browser Use Cloud (Priority)
Playwright MCP (Fallback)
Source Code Analysis (Last Resort)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/design-distiller/skills/design-distiller/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yrzhe/claude-skills/design-distiller)