Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Extract

БесплатноБез исполняемых скриптовНе проверен

Reverse-engineer the design taste of any website. Given a URL, captures DOM data and screenshots via Playwright (MCP if available, standalone fallback if…

mevarxот mevarx119 установок в других каталогах

Об этом скилле

Extract — Reverse-Engineer a Website's Design DNA

This skill turns a URL into two files:

  • ./{domain}.md — human-readable. Two sections:
    • Design Map — practical tokens (colors, type scale, spacing, radii, shadows, grid, motion)
    • Taste DNA — 3–4 opinionated trade-offs (Trigger → Decision → Reason → Evidence → Trade-off) with confidence scores
    • Delta (comparative mode only) — agreements vs divergences between two sites
  • ./{domain}.json — structured, machine-parseable. Same data, for downstream tools and for /graft.

The pipeline rejects generic descriptions like "clean and modern". A finished report should read like a senior designer explaining why this particular page made these particular choices — and what plausible alternatives it rejected.

When to activate

Trigger this skill whenever the user wants to study a website's design. Catch all of these:

  • Explicit: /extract <url> or /extract <url1> vs <url2>
  • Natural language: "analyze the design of vercel.com", "what makes Stripe's site so good", "extract the design tokens from linear.app", "give me the design DNA for are.na"
  • Mimicry intent: "I want my dashboard to feel like Linear", "build me a landing page in the style of ", "port this site's design to my project"
  • Comparative: "compare the design of X and Y", "how does X's design differ from Y's"
  • Any mention of a URL in connection with visual/design topics

When in doubt, activate. The cost of a wasted invocation is small; the cost of generating generic design advice when this skill could have produced specific, evidence-backed analysis is large.

Do NOT activate for: "extract data from a website" (scraping), "summarize the content of " (not design), "deploy this site" (unrelated).


Phase 0 — Parse URL and Setup

Step 1 — URL

Extract the URL(s) from the user's message. Accept these forms:

  • /extract https://linear.app
  • /extract https://stripe.com vs https://vercel.com → comparative mode
  • "analyze the design of vercel.com" (add https:// if missing)
  • A bare URL anywhere in the prompt

If no URL provided, ask for one. If it's clearly not a URL (file path, etc.), ask if they meant a hosted page.

Resolve common short forms: linear.app → https://linear.app, www.stripe.com → https://www.stripe.com.

Step 2 — Extract domain for file naming

From the URL, extract the hostname and strip any www. prefix:

  • https://linear.app → linear.app
  • https://www.stripe.com → stripe.com
  • https://vercel.com/home → vercel.com

Store as {domain}. All output files use this: {domain}.md, {domain}.json. Never use the generic name taste.md — it collides across runs.

Step 3 — Setup questions

If the user already specified export target AND crawl scope, skip. Otherwise, ask once:

Two quick questions before I start:

Export target — which tool are you building with?

  1. Cursor → .cursor/rules/{domain}-taste.mdc
  2. Windsurf → .windsurf/rules/{domain}-taste.md
  3. Claude Code → CLAUDE.md (appends Design Taste section)
  4. GitHub Copilot → .github/copilot-instructions.md (appends)
  5. Bolt → .bolt/prompt
  6. Antigravity → GEMINI.md
  7. v0 by Vercel → taste-tokens.css + instructions
  8. Figma Make → taste-figma.css + instructions
  9. Lovable → print text to paste in Project Knowledge
  10. Skip → keep {domain}.md + {domain}.json only

Crawl scope — this page only, or explore 2–3 linked pages?

  1. This page only → faster, focused on exactly what you gave me
  2. Explore linked pages → I'll visit 2–3 nav pages and merge the data

Comparative mode (if single URL given) — analyze alone, or also compare against a second URL?

Store answers. Defaults: export = "skip", crawl = "single". Do not ask again.


Phase 1 — Capture Page Data

Detect capture method

Check if Playwright MCP tools are available:

If MCP is available (mcp__playwright__browser_navigate, mcp__playwright__browser_evaluate, etc. respond): → Use MCP path (faster, lower token cost).

If MCP is NOT available: → Use the bundled fallback script. Run:

node extract/references/capture-fallback.mjs --url <url> --domain <domain> [--crawl] [--compare <url2>]

If playwright is not installed, first run: npx playwright install chromium The fallback script produces the same data shape as MCP capture — downstream analysis doesn't care which was used.

MCP Capture Path

Run these steps in order. If any step errors, stop and report — do not continue with degraded data.

  1. Resize viewport to 1440×900:

    mcp__playwright__browser_resize  width=1440  height=900
    
  2. Navigate to URL (fresh context — --isolated flag ensures no cookies/login state leak):

    mcp__playwright__browser_navigate  url=<URL>
    
  3. Wait for hydration (3 seconds):

    mcp__playwright__browser_wait_for  time=3
    

    If page still looks skeleton-like after 3s

Полный SKILL.md на ClawHub

Установить Extract в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Extract?

Reverse-engineer the design taste of any website. Given a URL, captures DOM data and screenshots via Playwright (MCP if available, standalone fallback if not), then runs a 4-step analysis pipeline to produce {domain}.md + {domain}.json with practical design tokens (colors, typography, spacing, radii, shadows, grid, motion) AND taste DNA (Trigger → Decision → Reason → Evidence → Trade-off explaining WHY the design works, with confidence scoring). Supports multi-page crawl for system-level signals and comparative mode for two-site delta analysis. Use whenever the user wants to extract a site's design system, study a competitor's visual language, port an aesthetic to a new project, or generate design guidance for an AI coding agent. Triggers on '/extract <url>', 'analyze the design of X', 'what makes X's site good', 'extract design tokens from X', 'give me X's design DNA', 'build something in the style of X', 'I want my app to feel like X', 'compare the design of X and Y', '/extract <url1> vs <url2>'. Output rejects AI slop ('clean', 'modern', 'user-friendly') in favor of concrete px/hex values and restraint trade-offs. Do NOT use for scraping data, summarizing page content, or tasks unrelated to visual design.

Как установить скилл Extract?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Extract запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Extract с