Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

extract-design

Skill by danielvm-git

Extract a Google DESIGN.md file from an HTML prototype or styled page using Puppeteer. It is for users who want to anchor a project's visual identity, or who have just scaffolded a new project with seed-conventions.

  • Score 74
  • 298 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install extract-design

Built from the published package, never by AI.

git clone --depth 1 https://github.com/danielvm-git/bigpowers /tmp/bigpowers && mkdir -p ~/.claude/skills && cp -r /tmp/bigpowers/.qwen/skills/extract-design ~/.claude/skills/extract-design

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install extract-design in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

extract-design is an agent skill that reads an HTML prototype, such as one from claude.ai/design or any styled page, and produces a Google DESIGN.md file. It launches Puppeteer in a light and dark pass, collects computed styles from the page in the browser, and then classifies them into tokens. Colors use Material 3 roles, typography uses a detected scale, and spacing, rounded corners and components are also classified. The skill then generates the prose sections with AI heuristics.

The output is written to specs/tech-architecture/DESIGN_LATEST.md and checked with npx @google/design.md lint. The skill then hands off to grill-me through specs/state.yaml. It is for users who have an HTML prototype and want a DESIGN.md for their project's visual identity.

Written from the project's SKILL.md and checked against it.

What it can do

  • Dual-pass Puppeteer extractionLaunches Chrome in light and dark passes and collects computed styles from every element.
  • Color classificationMaps colors to Material 3 roles such as surface, on-surface, tertiary and error.
  • Typography scale detectionClusters font tuples by size and names levels such as display, headline, title, body and label.
  • Spacing and rounded tokensDerives a base spacing unit using tolerance-based GCD and clusters border-radius values.
  • Component detectionClassifies buttons, cards and inputs, and forces hover, active and focus states for high-confidence components.
  • Prose generationGenerates all 8 DESIGN.md sections, with uncertain parts flagged for review.
  • Lint validationRuns npx @google/design.md lint on the output and reports the result in the terminal.
  • Handoff to grill-meWrites a handoff entry to specs/state.yaml with the uncertain decisions as context.

What you need

  • Node.js
  • Chrome binary used by Puppeteer, which is about 300MB
  • npx, for the optional DESIGN.md lint step

Try asking

  • Extract a DESIGN.md from ./prototype.html
  • Create a DESIGN.md from this prototype URL with the name My Design System
  • Re-extract DESIGN.md from ./proto-v2.html and compare it with the existing file

Good to know

  • The DESIGN.md spec is alpha, and the skill pins to the current spec.
  • Prose quality depends on AI heuristics, so grill-me is the validation gate.
  • If lint is unavailable offline, the skill warns and skips it.
  • Puppeteer requires a large Chrome download.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .qwen/skills/extract-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to extract-design

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

extract-design: common questions

Can it extract tokens from static HTML with Cheerio or regex?

No. The source says tokens from static HTML are invalid because they miss cascade, custom properties and Tailwind resolution. The skill requires Puppeteer extraction.

What happens if the lint step cannot run?

The skill warns in the terminal and in the DESIGN.md prose that lint was unavailable, because the source says unvalidated output is unverified output.

Where does the generated DESIGN.md file go?

It is written to specs/tech-architecture/DESIGN_LATEST.md and replaces DESIGN_PLAN_LATEST.md as the canonical design artifact.

How do I install extract-design?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is extract-design free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is extract-design safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to extract-design?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

extract-design Install

Add to stack

Loading.