design-extractor

Extracts site CSS, JSON, and screenshots from target URLs using configurable selectors.

67|3|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/yijingjia/skills --skill design-extractor-yijingjia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-extractor
Source: https://github.com/yijingjia/skills/tree/main/design-extractor
Command: npx skills add https://github.com/yijingjia/skills --skill design-extractor-yijingjia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Design Extractor helps design teams automatically harvest design tokens, color palettes, and component structures from reference websites, saving time and ensuring visual consistency across projects.

Core Features & Use Cases

  • Automatic extraction: harvest CSS variables, tokens, and components.
  • Palette and typography: generate color palettes and typography references for design systems.
  • Use Case: When cloning a site’s design system for a new product, export tokens and a playground to build pages faster.

Quick Start

Run the extractor on a target site to generate site.css, raw.json, and screenshots for reuse.

Frequently Asked Questions about design-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract design tokens and CSS variables from a website?

To extract design tokens and CSS variables from a website, run automated Playwright page interactions and CSS inspection to harvest raw styles into site.css, raw.json, and screenshot outputs.

What is the best way to automate color palette extraction for a design system?

Automating color palette extraction for a design system involves scanning target websites via Playwright to harvest CSS variables and component structures, generating reusable raw.json and site.css reference files for product design handoffs.

Do I need Playwright to extract component structures from web pages?

Yes, Playwright is required to extract component structures. It drives the automated page interaction and DOM inspection needed to harvest target website CSS variables and generate raw.json outputs.

Can I generate a site.css file directly from a reference website for front-end implementation?

Yes, you can generate a site.css file from a reference website by harvesting its CSS variables and design tokens. This accelerates UI parity and front-end implementation workflows with reusable extracted styles.

What files do I get when extracting design tokens from target websites?

When extracting design tokens from target websites, you get site.css containing harvested styles, raw.json containing structured token data, and screenshots capturing the visual state for design system documentation and handoffs.

When should I use automated design extraction instead of manually copying styles?

You should use automated design extraction instead of manually copying styles when cloning a site's design system for a new product, ensuring visual consistency and saving time across large-scale product design handoffs and front-end workflows.