π¦ ClawHub
Extract Design System
by @arvindrk
Extract design primitives from a public website and generate starter token files for your project.
TERMINAL
clawhub install extract-design-systemπ About This Skill
name: extract-design-system description: Extract design primitives from a public website and generate starter token files for your project.
Extract Design System
Use this skill when the user wants to reverse-engineer a public website's design primitives into project-local starter token files.
Before You Start
Ask for:
Set expectations:
Workflow
1. Confirm the target URL is public and reachable. 2. Run:
npx playwright install chromium
npx extract-design-system
3. Review .extract-design-system/normalized.json and summarize:
4. If the user wants extraction artifacts only, use:
npx extract-design-system --extract-only
5. If the user already has .extract-design-system/normalized.json and only wants to regenerate starter token files, run:
npx extract-design-system init
6. Explain the generated outputs:
.extract-design-system/raw.json.extract-design-system/normalized.jsondesign-system/tokens.jsondesign-system/tokens.css7. Ask before modifying any existing app code, styles, or config files.