battle
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict…
Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone.
> /plugin marketplace add manavarya09/design-extract > /plugin install designlang@designlang
How it fires
How this command gets triggered: by you, by Claude, or both.
/galleryContext preview
What this command does when you run it.
Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone.
description: Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone. argument-hint: [dir] [--out <dir>] [--title <title>] [--base-url <url>]
Run **designlang gallery** to turn the fidelity reports you've generated into a deployable static site. It scans a directory for `fidelity.json` files (one per clone), then writes an index grid of score cards plus a permalink page for each clone — every page embeds the SVG score card and OG/Twitter tags, so a shared link unfurls the measured number.
npx designlang gallery $ARGUMENTS
If no directory is given it scans `./design-extract-output`. Generate the reports first with `/fidelity <original> --clone <clone>`.
Outputs (under `--out`, default `./gallery`):
| Path | What it is | |---|---| | `index.html` | the gallery grid, best-score first, with summary stats | | `<slug>/index.html` | a clone's permalink page (card + motion table + correction plan) | | `<slug>/card.svg` | the shareable score card |
Useful flags via `$ARGUMENTS`:
| Flag | Effect | |---|---| | `--out <dir>` | where to write the static site | | `--title <title>` | gallery heading | | `--base-url <url>` | absolute base URL so OG image links resolve when deployed |
Deploy the output folder to any static host (Vercel, Netlify, GitHub Pages). Pair with `/fidelity` to keep the gallery fresh.
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…
Generate a shareable HTML "Design Report Card" — letter grade, 8 dimensions, evidence…