stack/docs/STACK.md
AI design fails in three predictable ways. Each layer of this stack fixes one.
| Failure mode | Fix | Tool |
|---|---|---|
| Generic, templated look ("AI slop") | Force an aesthetic commitment | frontend-design |
| Vague, inconsistent tokens & patterns | Ground decisions in a real database | ui-ux-pro-max |
| Never sees the result → ships broken UI | Give the agent eyes | Playwright / Chrome DevTools MCP |
| Reinventing primitives | Pull proven components | shadcn MCP |
| "Looks fine to me" self-assessment | Independent, rigorous review | design-review subagent |
ui-ux-pro-maxA searchable design-intelligence toolkit: 84 UI styles, 192 color palettes, 73 font pairings, 99 UX guidelines, 25 chart types, a Core Web Vitals dataset, and 22 tech stacks, plus a design-system generator that turns a product brief into concrete tokens. It's the answer to "what should this actually look like, and what are the anti-patterns?"
npx ui-ux-pro-max-cli init --ai claudepython3 <skill>/scripts/search.py "<brief>" --design-system and --domain <domain>frontend-design (official Anthropic)~50 lines of markdown that stop Claude from sampling the safe center of its training data. It forces four decisions — purpose, tone, constraints, differentiation — before any CSS, names three "AI-slop" defaults to avoid, and pushes boldness into a single signature element.
/plugin install frontend-design@anthropics/claude-codeui-ux-pro-max decides what's correct; frontend-design decides what's distinctive. Use both.
Browse, search, and install shadcn/ui components (and other registries) by natural language, instead of hand-rolling accessible primitives. Best for React/Next/Vue/Svelte projects.
npx shadcn@latest mcpThe single biggest lever. Claude connects to a real Chromium, navigates, clicks, resizes, screenshots, reads the console, and takes an accessibility snapshot — so it can catch and fix its own z-index bugs, animation-timing errors, overflow, and layout shift. Chrome DevTools MCP adds deep performance/network/CLS profiling.
npx @playwright/mcp@latestnpx chrome-devtools-mcp@latestdesign-review subagentA senior-reviewer subagent (.claude/agents/design-review.md) that runs a 7-phase audit over a
live page: interaction states, responsiveness across 6 viewport tiers, visual polish, WCAG 2.1
AA, edge cases, and console health. Invoke with /design-review <url>. The heuristic subset
also runs headless in CI via scripts/design-audit.mjs.
.mcp.json)Both are opt-in (see docs/SETUP.md) so the base stack runs with zero secrets.