Skip to content
Design
Command

/pack

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.

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/pack

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

Command definition

pack.md
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:

  • `cd <dir> && zip -r ../<dir>.zip .` to package for sharing
  • `cd <dir>/storybook && npm install && npm run storybook` to run the design system locally
  • Copy `tokens/tailwind.config.js` straight into a project

Use `--with-clone` to swap the minimal HTML starter for the full Next.js clone (slower; only when the user wants a runnable app).

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.