battle
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict…
Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.
> /plugin marketplace add manavarya09/design-extract > /plugin install designlang@designlang
How it fires
How this command gets triggered: by you, by Claude, or both.
/siteContext 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.
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:
Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference
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+.
Repo: manavarya09/design-extract
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict…
Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand…
Place a design in the measured design space — nearest systems, per-axis percentiles, outliers
Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion,…
Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one…
Build a static, shareable gallery from your fidelity reports — an index of score cards plus a…