create-design-system
Installation
SKILL.md
Create Design System from Website
Extract design tokens and brand assets from any website and save them as structured files for use by agents building UIs consistent with that brand.
Prerequisites
This skill needs Node.js, Playwright CLI, and a configured browser. Check that they are available. If any are missing, briefly inform the user, then follow the one-time setup guide and install them through the permitted package manager. Ask for approval only if the environment requires it.
The examples use playwright-cli with one named session. If the project uses a local CLI, use its runner in each command. Do not rely on a shell alias persisting between calls. Close the session with playwright-cli -s=design close when finished.
Process
Step 1 — Prepare output directories
Create the required directories before starting: