Skip to content
Design
Command

/site

Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.

BOOST
From plugin
designlang
4.2k14 skills14 commands
Install
> /plugin marketplace add manavarya09/design-extract
> /plugin install designlang@designlang

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/site

Context preview

What this command does when you run it.

Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.

Command definition

site.md
description: Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.
argument-hint: <url> [--max-pages <n>]

Run **designlang site** against the user-provided URL. Instead of reading one page, it crawls the site's canonical pages (home, pricing, docs, blog, about, product…), extracts each, and synthesizes a single de-duplicated design system weighted by how broadly each token is used.

npx designlang site $ARGUMENTS

If no `$ARGUMENTS` were supplied, ask the user which site to analyze.

Default output goes to `./design-extract-output/`. When it finishes, read the generated files and present a tight summary:

1. `*-site-consistency.md` — the **consistency grade** (A–F · score), the per-category breakdown, and the off-system outlier tokens (introduced by a single page) that are candidates to consolidate. 2. `*-site-coverage.md` — which tokens are 🟢 site-wide, 🟡 section, or 🔴 page-local, and which pages use each. 3. `*-site-system.json` — the canonical unified tokens.

The standard pack (DTCG tokens, Tailwind, shadcn theme, CSS variables, `*-design-language.md`) is also emitted — but from the **whole-site canonical system**, not just the homepage.

Useful flags via `$ARGUMENTS`:

| Flag | Effect | |---|---| | `--max-pages <n>` | crawl up to N pages including the homepage (default 6) | | `--out <dir>` | output directory | | `--name <prefix>` | output filename prefix |

Then offer follow-ups:

  • `/grade <url>` — single-page Design Report Card + SVG badge
  • `/studio` — open the live token editor over the latest extraction
  • `/pack <url>` — bundle every output into one design-system directory

Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference

Read more
Ships withdesignlang

Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.

Get the whole plugin
Stats
4,182
Stars
353
Forks
Active
Maintenance
HTML
Language
MIT
License
9d ago
Last commit
5mo ago
Created
19h ago
Added

Repo: manavarya09/design-extract

Other commands on designlang.