Skip to content
Design
Command

/extract

Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.

BOOST
From plugin
designlang
4.2k14 skills14 commands
Install
> /plugin marketplace add manavarya09/design-extract
> /plugin install designlang@designlang

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/extract

Context preview

What this command does when you run it.

Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.

Command definition

extract.md
description: Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.
argument-hint: <url> [extra flags…]

Run **designlang** against the user-provided URL and surface the result.

npx designlang $ARGUMENTS

If no `$ARGUMENTS` were supplied, ask the user which URL to extract.

Default output goes to `./design-extract-output/`. Once it finishes, read the generated `*-design-language.md` (the AI-optimized markdown) and present a tight summary to the user:

  • Primary palette (hex codes)
  • Type families + scale
  • Spacing base + scale
  • WCAG accessibility score
  • Component patterns detected
  • Notable signals (motion feel, material language, brand voice tone)

Then offer follow-ups:

  • `/grade <url>` — shareable HTML Design Report Card + SVG badge
  • `/battle <urlA> <urlB>` — head-to-head graded comparison
  • `/remix <url> --as <vocab>` — restyle in another vocabulary
  • `/pack <url>` — bundle every output into one design-system directory

Useful flags the user may pass via `$ARGUMENTS`:

| Flag | Effect | |---|---| | `--full` | screenshots + responsive + interactions + deep-interact | | `--depth <n>` | crawl N additional canonical pages | | `--dark` | also extract dark mode | | `--platforms ios,android,flutter,wordpress` | multi-platform emitters | | `--smart` | LLM fallback for low-confidence classifiers (supports `ATLASCLOUD_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY`) | | `--cookie-file ./session.json` | authenticated extraction |

Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference

Atlas Cloud quick setup for `--smart`:

export ATLASCLOUD_API_KEY="<atlascloud-api-key>"
export ATLASCLOUD_MODEL="deepseek-ai/deepseek-v4-pro"
npx designlang https://stripe.com --smart
Read more
Ships withdesignlang

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+.

Get the whole plugin
Stats
4,182
Stars
353
Forks
Active
Maintenance
HTML
Language
MIT
License
9d ago
Last commit
5mo ago
Created
19h ago
Added

Repo: manavarya09/design-extract

Other commands on designlang.