Design Drift

v1.2.0
io.github.ihlamury/design-drift Checked 2 days ago Published 2 days ago

Turn any website into a design system your coding agent follows, then catch off-brand UI code.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_design_system Read a website's design system

Read the design system of a live website from its link: colors, fonts, type scale, spacing, corner radius, shadows, motion and dark mode. Returns a free first look and a project code. Use when someone wants their app or page to look like a website.

ParameterTypeDescription
url *stringThe website link, e.g. stripe.com or https://linear.app/pricing
devicestringRead the desktop or the phone layout. Default desktop.

get_design_files Get the design system files

Get the full design system files for a project: DESIGN.md (starting with the brand feel rules measured from the site: color discipline, contrast, heading voice, corners, depth, spacing, motion), Tailwind config (v3 and v4), design tokens (DTCG JSON), CSS variables and agent rules for Claude Code, Codex, Cursor and ChatGPT. Needs the project to be paid ($5 once); if not, returns the pay link.

ParameterTypeDescription
project *stringThe project code from extract_design_system
includestringlinks (default): DESIGN.md inline plus a download link and a save command per file. all: every file inline, for agents that cannot download.

check_design_drift Check code against the design

Check UI code (CSS, HTML, JSX/TSX, Tailwind classes) against the project's locked design. Lists every color, font, font size, corner radius and spacing value that is off the design, and anything that breaks the brand feel (drop shadows on a flat brand, gradients, rounded or pill shapes the brand never uses, bounce or slow motion), with the line and the value to use instead. Run it after writing or changing UI code.

ParameterTypeDescription
files *arrayThe files to check
project *stringThe project code