battle
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict…
Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second.
> /plugin marketplace add manavarya09/design-extract > /plugin install designlang@designlang
How it fires
How this command gets triggered: by you, by Claude, or both.
/pairContext preview
What this command does when you run it.
Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second.
description: Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second. argument-hint: <urlA> <urlB> [--colors-from a|b] [--typography-from a|b] [--brand]
Fuse the design DNA of two sites and emit an editorial pair card showing the crossover.
npx designlang pair $ARGUMENTS
If `$ARGUMENTS` doesn't contain at least two URLs, ask the user for the second one.
Both sites are extracted in parallel (~30s total). Outputs land in `./design-extract-output/`:
After the run completes:
1. Read the markdown to summarise: which axis came from A, which from B 2. Highlight the most distinctive crossover (the fused specimen quotes a real headline from whichever site contributed the voice) 3. Offer to open the HTML pair card
| Axis | Default source | Why | |---|---|---| | Colour | A | Brand identity tends to lead with colour | | Spacing | A | Spacing co-varies with the visual layout | | Shape | A | Radii + shadows belong with the visual surface | | Motion | A | Motion is part of the visual feel | | **Typography** | **B** | The crossover moment — different voice | | **Voice** | **B** | Tone, headings, CTA verbs from B | | **Components** | **B** | Anatomy from B's library |
So the default is "Site A's visuals + Site B's words". Override any axis with `--<axis>-from a|b`.
| Flag | Effect | |---|---| | `--colors-from <a\|b>` | Force colour source | | `--typography-from <a\|b>` | Force typography source | | `--spacing-from <a\|b>` | Force spacing source | | `--shape-from <a\|b>` | Force radii + shadows source | | `--motion-from <a\|b>` | Force motion source | | `--voice-from <a\|b>` | Force voice / tone / heading source | | `--components-from <a\|b>` | Force component anatomy source | | `--brand` | Also emit a full brand-guidelines book of the fused identity | | `--format html\|md\|json\|all` | Pick output formats | | `--open` | Open the HTML pair card |
npx designlang pair stripe.com linear.app # default split npx designlang pair stripe.com linear.app --type-from a # Stripe everything except components/voice from Linear npx designlang pair vercel.com apple.com --brand # fused identity as a hand-off brand book
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…