battle
CommandHead-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict line.
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
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+.
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict line.
Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand essence/archetype, colour, typography,…
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, voice, components.
Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked…
Generate a shareable HTML "Design Report Card" — letter grade, 8 dimensions, evidence (palette, type, rhythm), strengths + fixes,…
Generate a concrete design system (tokens, style, type, UX) before building UI
Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too.
Run one-shot environment diagnostics for Diagram Design readiness
Strip the signatures that make a UI look AI-generated — flat hierarchy, no focal point, monotone layout, timid palettes, generic…