extract-design-system
Installation
SKILL.md
Extract Design System from Website
Reverse-engineer a complete design system from a live website using two passes:
- CSS source analysis — fetch and parse stylesheets for declared values
- Headed Playwright extraction — visually browse the site, interact with elements, extract computed styles, and capture screenshots at real device resolutions
Prerequisites
- Playwright installed (
npx playwright install chromiumif not set up) web_fetchtool for fetching raw HTML/CSS source
Quick Start
Run the extraction script against the target URL:
node scripts/extract.mjs <url> [outDir] [subpage1,subpage2,...]
Related skills
More from espennilsen/pi
pdf-reader
>
36agents-md-manager
Audit, generate, update, and lint AGENTS.md files across all projects. Use when asked to check project context files, scaffold AGENTS.md for new projects, update stale ones, or run a cross-project audit.
3github
>
3changelog-generator
>
2sales-playbook
Create and refine sales playbooks, deal strategies, MEDDPICC analyses, customer decks, and outreach sequences. Use for any sales methodology work, pipeline review, or go-to-market planning.
2npm
Manage npm packages — install, publish, version bump, audit, and run scripts using the npm tool.
2