# Design Extract

> Extract a public website's design system when a task needs evidence about its colors, typography, spacing, radii, shadows, components, or Tailwind tokens.

- **Type:** Skill
- **Install:** `agentstack add skill-sarveshsea-design-skills-design-extract`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sarveshsea](https://agentstack.voostack.com/s/sarveshsea)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sarveshsea](https://github.com/sarveshsea)
- **Source:** https://github.com/sarveshsea/design-skills/tree/main/skills/design-extract
- **Website:** https://www.memoire.cv/notes/community/

## Install

```sh
agentstack add skill-sarveshsea-design-skills-design-extract
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Design Extract

Extract any website's design system from its public URL. No login, no API key, no Figma.

## When to use

- User pastes a URL and wants to understand its visual design
- User wants to replicate a site's look and feel
- User asks "what design system does X use?"
- User wants a DESIGN.md for AI context
- User wants to match an existing site's tokens in their own project

## How it works

1. Fetch the URL's HTML and all linked stylesheets
2. Parse CSS for: custom properties, colors, fonts, spacing, radii, shadows
3. Send extracted raw data to Claude for structured synthesis
4. Output a `DESIGN.md` with: color system, typography, spacing, borders, component patterns, Tailwind config sketch

## Usage

```bash
# CLI
memi design-doc https://linear.app
memi design-doc https://stripe.com --spec    # also write a DesignSpec JSON
memi extract https://vercel.com              # alias

# MCP tool
design_doc({ url: "https://linear.app" })
```

## Output format

The DESIGN.md contains:

- **Color System** -- palette with semantic names (primary, bg, fg, muted, accent)
- **Typography** -- font stacks, size scale, weight usage
- **Spacing** -- scale (4px/8px grid or other rhythm)
- **Borders & Surfaces** -- radii, shadows, border styles
- **Component Patterns** -- inferred from DOM (buttons, cards, inputs, nav)
- **Tailwind Config Sketch** -- partial `tailwind.config.js` with extend values

## Success criteria

- Extraction completes in under 30 seconds for any public URL
- Output contains at least 10 distinct design tokens
- Tailwind config sketch is valid JavaScript
- DESIGN.md is immediately usable as AI prompt context

## Limitations

- Does not work on pure client-side rendered apps (CSR) that inject all styles via JS at runtime
- Works on: static sites, SSR (Next.js, Remix, SvelteKit), and any site that serves CSS in `` or `` tags

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sarveshsea](https://github.com/sarveshsea)
- **Source:** [sarveshsea/design-skills](https://github.com/sarveshsea/design-skills)
- **License:** MIT
- **Homepage:** https://www.memoire.cv/notes/community/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sarveshsea-design-skills-design-extract
- Seller: https://agentstack.voostack.com/s/sarveshsea
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
