battle
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict…
Bundle every designlang output (DTCG tokens, Tailwind, shadcn, Figma vars, motion, anatomy, Storybook, prompts) into one polished design-system directory ready to zip and ship.
> /plugin marketplace add manavarya09/design-extract > /plugin install designlang@designlang
How it fires
How this command gets triggered: by you, by Claude, or both.
/packContext preview
What this command does when you run it.
Bundle every designlang output (DTCG tokens, Tailwind, shadcn, Figma vars, motion, anatomy, Storybook, prompts) into one polished design-system directory ready to zip and ship.
description: Bundle every designlang output (DTCG tokens, Tailwind, shadcn, Figma vars, motion, anatomy, Storybook, prompts) into one polished design-system directory ready to zip and ship. argument-hint: <url> [--with-clone] [--open]
Run the full extraction once and write every emitter output into a single, signed, layered directory.
npx designlang pack $ARGUMENTS
If no URL is provided, ask the user. Default output is `./<host>-design-system/`.
Layout produced:
<host>-design-system/ ├── README.md bespoke "Built from <host>" + grade + at-a-glance ├── LICENSE.txt provenance + usage guidance ├── tokens/ DTCG + Tailwind + CSS vars + Figma vars + motion + theme.js ├── components/ typed React stubs (anatomy.tsx) ├── storybook/ runnable Storybook project ├── starter/ minimal HTML starter wired to tokens/variables.css ├── prompts/ v0 / Lovable / Cursor / Claude Artifacts + named recipes/*.md └── extras/ voice.json + prompt-pack.md rollup
After the run:
1. Surface the headline (`X files, Y KB · ./<dir>`) 2. Read the auto-generated `README.md` and tell the user what's inside 3. Suggest next steps:
Use `--with-clone` to swap the minimal HTML starter for the full Next.js clone (slower; only when the user wants a runnable app).
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…