# Spring > Spring builds a design system from a few choices (brand color, fonts, density, roundness, motion) with exact OKLCH and contrast math, and shows any project's existing design system as a page. Web app: https://someshks.com/spring/app. Agent skills: `npx skills add somesh-ks/skills` (design-sys runs Spring's scan; sk-design-sys audits and fixes). Viewer: https://someshks.com/spring/view. ## For agents - Agent skills (recommended): `npx skills add somesh-ks/skills`. Ask "show me this project's design system" and design-sys scans the repo (tokens per theme, contrast, unused tokens, raw colors, off-system classes) and returns a Spring View link. `/sk-design-sys audit` maps hard-coded colors to roles and fixes them. - HTTP: `GET https://someshks.com/api/spring?primary=%23e11d48&name=Acme&font=Geist` returns JSON `{ input, notes, link, contrast, files: [{ path, content }] }`. Params: `primary` (any CSS color), `name`, `font` (body and heading), `body`, `heading`, `mono` (any Google font), `base` (px), `ratio`, `contrast` (aa, aaa, apca), `styling` (tailwind, css), `building` (site, app, dashboard), or `s` (a share code). Add `file=tokens.css` (or theme.css, tokens.json, DESIGN.md, AGENTS.md, palette.js, SKILL.md, spring.json) for one file as plain text. `POST` the same URL with spring.json as the body for full control. - `notes` lists every value Spring clamped or ignored, so check it. - `link` opens the same system in Spring for a person to tune by eye. Spring's Export menu downloads spring.json; send it back to rebuild. ## Formats - [spring.json schema](https://someshks.com/spring/schema.json): Spring's input. - [Spring View v1 schema](https://someshks.com/spring/view.schema.json): a flat token map (name → mode → CSS value) the viewer renders. Open it with `https://someshks.com/spring/view#d=` or drop the file on the page. The fragment never reaches the server. - Outputs: `tokens.css` (CSS variables, light and dark), `tokens.json` (DTCG), `theme.css` (Tailwind v4 with shadcn's variable names), `DESIGN.md`, `AGENTS.md`, an agent `SKILL.md`, `palette.js` (headless generator).