An adaptive frontend design skill (SKILL.md) and zero-dependency Chrome CDP verifier for AI coding agents.
Probes your repository once, resolves open constraints in a single turn, loads only the playbook your project type needs, and checks real browser pixels before handing back.
Most frontend skill files stuff brand landing advice, dashboard ergonomics, and WebGL guidance into one giant prompt—and silently assume third-party CLIs are already installed. Tell an AI agent to fix a Next.js table with that setup and it may start inventing sourdough-style hero typography or failing on missing global packages.
atelier-ui separates discovery, styling direction, and verification into focused modules for Antigravity, Claude Code, Codex CLI, and Cursor across static HTML, React, Next.js, Tailwind CSS, shadcn/ui, Astro, Vue, Svelte, and Three.js / WebGL.
Explore the live interactive 3-mode showcase at yashh1323.github.io/atelier-ui-showcase (Nordhavn Timber, DriftGate Console, and Meridian 04 WebGL2).
Every screenshot below was rendered by atelier-ui workflows, linted with lint-ui.mjs, and captured in headless Google Chrome at 1440×900 (desktop) and 390×844 (mobile) via check-ui.mjs. Full JSON telemetry and smoke test logs live in docs/PROOFS.md.
Install or update across detected agent directories using the built-in zero-dependency CLI (bin/atelier-ui.mjs):
npx github:yashh1323/atelier-ui install
npx github:yashh1323/atelier-ui doctorOr install directly using the skills CLI:
npx skills add yashh1323/atelier-uiOr clone into your agent's skill directory:
| Agent / Tool | Global Skill Path | Workspace-Local Path |
|---|---|---|
| Antigravity | ~/.gemini/config/skills/atelier-ui |
.agents/skills/atelier-ui |
| Claude Code | ~/.claude/skills/atelier-ui |
.claude/skills/atelier-ui |
| Codex CLI | ~/.codex/skills/atelier-ui |
.codex/skills/atelier-ui |
| Cursor | ~/.cursor/skills/atelier-ui |
.cursor/skills/atelier-ui |
On Windows, link a local clone globally without Administrator privileges using a directory junction:
New-Item -ItemType Directory -Force "$env:USERPROFILE\.gemini\config\skills" | Out-Null
New-Item -ItemType Junction -Path "$env:USERPROFILE\.gemini\config\skills\atelier-ui" -Target "C:\path\to\atelier-ui"- Node.js 18+ runs
scripts/detect-env.mjsandscripts/lint-ui.mjs. - Node.js 22+ (native
WebSocket) paired with local Google Chrome, Microsoft Edge, Chromium, or Brave runsscripts/check-ui.mjs. SetCHROME_PATHif your browser binary lives outside standard system paths.
When impeccable or agent-browser are present on your PATH, detect-env.mjs detects them and 05-qa-gate.md delegates to them first. When neither is installed, the built-in Node scripts run out of the box with zero npm install steps.
SKILL.md acts as the lightweight router—only the module matching the current project enters agent context:
detect-env.mjs ──▶ 01-intake.md (.atelier/BRIEF.md)
│
┌────────────────┼────────────────┐
▼ ▼ ▼
02-brand-site.md 03-app-ui.md 04-3d-visual.md
(+ themes.json) (existing UI) (WebGL / GLSL)
│ │ │
└────────────────┼────────────────┘
▼
05-qa-gate.md (lint-ui ──▶ check-ui CDP ──▶ Tier 3 Critic)
| File | Responsibility |
|---|---|
scripts/detect-env.mjs |
Scans package.json, lockfiles, components.json, PRODUCT.md/DESIGN.md, and local CLI/browser binaries once. |
modules/01-intake.md |
Resolves surface mode (Persuade, Experience, Operate, Read, 3D), stack, direction, and QA depth in one message, saving .atelier/BRIEF.md. |
modules/02-brand-site.md + library/themes.json |
Classifies business kind (software, gaming, tech, product, service, place), rotates away from recent picks via .atelier/history.json, and checks the nav + hero in Chrome before building lower sections. |
modules/03-app-ui.md |
Preserves existing design tokens (Tailwind, shadcn/ui, Next.js, Astro, Vue, Svelte), adds surgical steering (bolder, quieter, distill, typeset, layout, harden), and enforces interactive UI states. |
modules/04-3d-visual.md |
Establishes camera presets (.atelier/SHOTS.md), deterministic ?shot=...&frame=... stepping alongside live animation, software-WebGL handling, and bounded round logs (.atelier/ROUNDS.md). |
modules/05-qa-gate.md |
Runs Tier 1 slop lint, Tier 2 desktop + mobile browser verification (1440×900 & 390×844), and optional zero-context screenshot critique. |
- Static UI Linter (
lint-ui.mjs): Scans.html,.css,.jsx,.tsx,.vue,.svelte, and.astrofiles for layout traps and AI slop (100vw,w-screen,transition: all, missing:focus-visible, placeholder text, eyebrow kickers directly preceding<h1>, middot metadata runs, missingprefers-reduced-motion, default indigo/purple gradients). On existing component kits such asshadcn/ui, pass only your authored directories so untouched primitives are ignored. - Headless Browser QA (
check-ui.mjs): Drives Chrome DevTools Protocol (CDP) across static folders (including multi-page--routes, multi-angle--shots, side-by-side--sheetcontact sheets, and--refcomparisons) or livehttp://localhostdev servers. Fails on navigation/4xx/5xx same-origin request errors, blank viewports, horizontal overflow, broken images, zero-box SVGs/canvases (emptyMedia), fixed/sticky header-over-h1overlap, dead#links, WCAG AA contrast failures (includingoklch()/ CSS Color 4),< 12pxvisible text, uncaught runtime exceptions, andconsole.errorcalls. - Visual & Structural Judgment: Card-in-card nesting,
minmax(0, 1fr)image grid discipline, whitespace balance, and typographic hierarchy cannot be proved by regex or DOM telemetry alone—those are checked directly by inspecting the captured1440×900and390×844screenshots or--sheetcontact sheets (or via a fresh-context Tier 3 critic subagent).
node --test tests/smoke.mjsRuns 11 test groups covering SKILL.md references, word budgets & link integrity, library/themes.json WCAG AA contrast and schema validity, bin/atelier-ui.mjs cross-platform installation & doctor, detect-env.mjs framework detection, lint-ui.mjs JSX/multi-ID/comment rules, resolveSafeFile traversal blocking, and live Chrome CDP --routes/--shots/--sheet + HTTP verification. Full test output is archived in docs/PROOFS.md.





