extract-design
Skill by danielvm-git
Extracts a Google DESIGN.md file from an HTML prototype or styled web page using Puppeteer. It produces machine-readable design tokens and AI-written prose for projects that need a visual identity reference.
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/.pi/skills/extract-design ~/.claude/skills/extract-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danielvm-git/bigpowers /tmp/bigpowers && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bigpowers/.pi/skills/extract-design ~/.gemini/antigravity-cli/skills/extract-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
extract-design is an agent skill that builds a Google DESIGN.md file from an HTML prototype, such as a claude.ai/design page or any styled page. It also accepts a published URL. The skill launches Puppeteer in light and dark passes, collects computed styles from every element, and classifies colors, typography, spacing, rounded values and components.
The AI generates the prose sections, and the Overview and Do's/Don'ts are flagged with agent notes. Low-confidence items are flagged rather than stated as certain. The output is written to specs/tech-architecture/DESIGN_LATEST.md and checked with npx @google/design.md lint. The skill is for users who have an HTML prototype and want a DESIGN.md to anchor their project's visual identity, or when seed-conventions has just scaffolded a new project.
Written from the project's SKILL.md and checked against it.
What it can do
- Dual-pass style extractionLaunches Puppeteer in light and dark passes and reads computed styles from every element.
- Token classificationClassifies colors using Material 3 roles, plus typography, spacing, rounded values and components.
- Prose generationGenerates all 8 DESIGN.md sections, with low-confidence items flagged.
- Lint validationRuns npx @google/design.md lint on the output and reports the result in the terminal.
- Re-extractionRe-extracts from a new HTML file to update an existing DESIGN.md.
- Lint-only modeValidates an existing DESIGN.md without running extraction again.
- Handoff to grill-meSets the next skill to grill-me in specs/state.yaml with uncertain decisions noted.
What you need
- Node.js
- Chrome binary for Puppeteer (about 300MB)
- npx access for the @google/design.md lint step
Try asking
- Extract a DESIGN.md from ./prototype.html
- Re-extract design tokens from ./proto-v2.html and update DESIGN.md
- Lint my existing DESIGN.md without re-extracting it
Good to know
- The DESIGN.md spec is in alpha; the skill pins to the current spec.
- Puppeteer is heavy, with a Chrome binary of about 300MB.
- Prose quality depends on AI heuristics; grill-me is the validation gate.
- If lint is unavailable offline, it is skipped with a warning.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .pi/skills/extract-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to extract-design
All alternatives →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.
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.
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.
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.
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.
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.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
extract-design: common questions
What does extract-design need installed?
The source lists Node.js and a Chrome binary for Puppeteer, which is about 300MB. The lint step uses npx to run @google/design.md.
What happens if I am offline?
The lint step is skipped with a warning. The source says the skill flags this prominently in the terminal and in the DESIGN.md prose.
Where is the generated DESIGN.md saved?
It is written to specs/tech-architecture/DESIGN_LATEST.md, which 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 64 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.
