feat(create): Atelier builder redesign with AI assistant#285
Conversation
A UI-only experiment that rethinks /create as a three-zone instrument — edit (inspector) · see (stage + spec sheet) · converse (AI assistant) — behind ?atelier=true. The shipped builder and the panel lab are untouched. - Inspector: domain rail (11 domains) + rich controls; 41 axes (~14 new), with honest live/stub binding dots. - Stage: reuses the real live PreviewPanel + a new "spec sheet" view that renders the system as an artifact (ramps, type scale, radius, spacing). - AI assistant: command bar + dock. A local deterministic intent engine turns prompts into reviewable ChangeSets (apply/dismiss), a live WCAG audit with one-click fixes, and URL/screenshot/color reference intake. interpret() is swappable for a model call returning the same shape. Namespaced as "atelier" to coexist file-for-file with the separate Studio left-panel redesign; reuses useDesignSystem + existing color/component editors, so live axes drive the preview through the real token channel.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_81de08f7-6cc2-43e5-b87d-cbe3436273e3) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_6e7f90c9-dbf6-4380-a772-4d442ca635ff) |
A UI-only experiment that rethinks
/createas a three-zone instrument and explores AI inside the builder. Lives behind/create?atelier=true— the shipped builder and the panel lab (?lab=true) are untouched.The rethink: edit · see · converse
PreviewPanelwholesale, plus a new Spec sheet view that renders the system as an artifact — tonal ramps, type-scale specimen, radius/spacing/elevation samples.AI exploration (the headline)
Interaction model is propose → review → accept — nothing is applied behind your back:
Under the hood (
atelier/ai/engine.ts) it's a local deterministic intent engine, not a model call —interpret(prompt, ds)returns aChangeSet { changes, apply }. That makes the interaction real and demoable with no backend; a production version swapsinterpret()for a server call returning the same shape, leaving every consumer unchanged.New tweaks
41 controls across 11 domains (~14 genuinely new axes: display tracking, heading weight, line-height, corner style/squircle, 4/8pt grid, content width, shadow tint, easing curve, hover lift, press scale, focus-ring style, icon library, icon scale, label casing). Honesty preserved: a filled live dot = drives the preview now (13 of 41); hollow = a
--ds-*stub the engine will grow into.Scope & honesty
lgthe side panels collapse to preview + command bar (no crash).Files
New module
www/src/modules/create/atelier/—index.tsx(shell),inspector.tsx,stage.tsx,spec-sheet.tsx,schema.tsx(axis catalog),store.tsx,tokens.ts,ai/{engine,command-bar,ai-dock}.tsx. One additive branch inroutes/_app/create.tsx.Verification
pnpm typecheck✅ ·pnpm check✅ (only 2 pre-existing warnings, unrelated files) · live preview renders with no console errors · no registry source touched (no drift). ReusesuseDesignSystem, so live axes drive the preview via the real channel.🤖 Generated with Claude Code
Note
Low Risk
Feature-flagged UI experiment with no changes to default create flow or registry; only additive routing and layout suppression for the atelier flag.
Overview
Adds an opt-in Atelier experience at
/create?atelier=true— a three-zone builder (inspector · stage · AI) that leaves the default/createand?lab=trueflows unchanged.Layout & editing: New shell with a domain-rail inspector (11 domains, ~41 controls, live vs stub
BindingDot), center stage toggling between the existingPreviewPaneland a new spec sheet (ramps, type scale, radius/spacing/elevation), plus a dedicated top bar (undo/reset/shuffle, preview vs spec)._app/routehides the global site header only for?atelier=true.AI surface: Command bar + collapsible AI dock (Chat / Audit / Reference). Prompts flow through a local
interpret()engine that returns reviewableChangeSetdiffs (apply/dismiss only — no silent writes). Audit runs real WCAG contrast on seeds with optional one-click fixes; Reference is a capability preview (URL/screenshot/colors → proposed accent).Wiring:
StudioProviderholds UI state (domain, stage view, chat, custom undo on?preset=); design state still usesuseDesignSystem. Route addsatelierto search schema and early-returnsAtelierExperience.Reviewed by Cursor Bugbot for commit 6820539. Bugbot is set up for automated code reviews on this repo. Configure here.