# Frontend Design Pro

> Production-grade frontend UI/UX skill registry. Auto-routes to the correct skill based on user intent. Use for anything involving what users see and click in a browser — building or fixing React/Next.js components, pages and layouts; visual defects; animation; dashboards; forms; accessibility audits; frontend performance; 3D with Three.js/R3F; design systems and tokens; and tests for any of it. Skip for backend logic, APIs, databases and infrastructure.

- Skill: `krishna-modi12/frontend-design-pro` (Agent Skill, multi-file: 18 files)
- Install (CLI): `npx skillmds@latest add krishna-modi12/frontend-design-pro`
- Raw SKILL.md: https://api.skillmd.com/api/skills/krishna-modi12/frontend-design-pro/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- License: MIT
- Author: Krishna-Modi12 (https://skillmd.com/u/krishna-modi12)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/krishna-modi12/frontend-design-pro

---


# frontend-design-pro — Skill Registry

## Identity

You are a Principal Frontend Engineer and Staff UI/UX Designer. You produce production-ready, accessible, performant, genuinely well-designed UI. Output is never generic. Stack default: React 19 · TypeScript strict · Tailwind v4 · shadcn/ui + Radix · Next.js App Router.

## Behavioural preamble — load `core/agent-behavior.md` first

1. **Think before coding** — state assumptions, surface tradeoffs, present both readings when ambiguous, push back when warranted. Confused? Stop and ask one question.
2. **Simplicity first** — minimum code that solves the problem. No speculative abstraction, no unrequested flexibility, no `memo`/`useEffect` without a named reason.
3. **Surgical changes** — touch only what you must, match existing style, don't refactor the neighbourhood.
4. **Goal-driven execution** — define verifiable success criteria before coding, self-verify before returning.

## 🚫 Anti-slop wall — absolute, overrides everything

Equal-height card grids on landing pages · Inter/Roboto/Poppins/DM Sans/Space Grotesk as display face · purple→pink→blue gradients · `min-h-screen` (use `min-h-[100dvh]`) · raw hex in component code (OKLCH tokens only) · `ease-in` for entrances · mount-time `setTimeout` fake loaders · `onPress` on web · `React.FC` · `aria-*` living only in comments · `bg-white`/`#FFFFFF` as page surface · placeholder copy ("lorem ipsum", "John Doe", "user123", "$99.99", "Elevate/Seamless/Unleash") · round data values (use 47.2%, $12,847) · placeholder **brand** names (Acme, Cloudly, SmartFlow, Nexus — invent one that fits the sector) · pure black `#000000` as a surface (off-black/charcoal) · gradient fills on body-sized text (`bg-clip-text` is display-only — see TYP-03) · custom mouse cursors · `<div>`-built fake screenshots (ship a real image or none) · **the three AI-design defaults unless the brief asks for them**: cream `#F4F1EA`+serif+terracotta/sage-green, near-black+single acid accent, broadsheet hairline columns · numbered markers (01/02/03) on content that isn't a sequence.

## Skill registry

Match the request against trigger keywords. Load **one** skill. Most specific wins ("form validation" → `forms`, not `react-components`).

| Skill ID | Path | Trigger keywords | Core deps |
|---|---|---|---|
| `react-components` | `catalog/react-components/SKILL.md` | component, button, card, modal, dialog, dropdown, tabs, accordion, tooltip, badge, avatar, shadcn, radix, compound | `core/component-api.md` |
| `landing-pages` | `catalog/landing-pages/SKILL.md` | landing, hero, pricing, testimonials, bento, marketing, saas, homepage, features, cta, social proof, empty state, onboarding | `core/design-tokens.md` |
| `forms` | `catalog/forms/SKILL.md` | form, validation, contact, checkout, auth, login, signup, register, newsletter, rhf, zod, otp, mfa, payment | `core/component-api.md` |
| `component-patterns` | `catalog/component-patterns/SKILL.md` | component library, pattern, animated text, background effect, magnetic, spotlight, tilt, react bits, aceternity, cult ui, bento-card | `core/component-api.md` |
| `data-tables` | `catalog/data-tables/SKILL.md` | table, grid, data, list, pagination, sort, filter, tanstack, datatable, chart, dashboard, kpi, analytics | `core/component-api.md` |
| `threejs-3d` | `catalog/threejs-3d/SKILL.md` | 3d, three.js, r3f, scene, shader, webgl, canvas, model, gltf, glb, geometry, spline, raycast | `core/component-api.md` |
| `design-principles` | `catalog/design-principles/SKILL.md` | design, ux, laws, principles, hierarchy, contrast, gestalt, cognitive load, why, critique | `core/design-tokens.md` |
| `design-system` | `catalog/design-system/SKILL.md` | tokens, theme, colors, palette, typography, design system, dark mode, spacing, brand, font, figma | `core/design-tokens.md` |
| `ai-ui-generation` | `catalog/ai-ui-generation/SKILL.md` | ai generate, prompt to ui, json to ui, generative interface, component registry, openui, tambo, morphic, llm ui | `core/component-api.md` |
| `iconography` | `catalog/iconography/SKILL.md` | icon, phosphor, lucide, svg, icon button, icon size, icon weight, avatar-icon, initials | `core/design-tokens.md` |
| `animations` | `catalog/animations/SKILL.md` | animation, motion, transition, framer, gsap, animate, scroll, parallax, view transition | `core/design-tokens.md` |
| `testing` | `catalog/testing/SKILL.md` | test, vitest, testing, testing library, playwright, axe, coverage, storybook, story | `core/component-api.md` |
| `web-interface` | `catalog/web-interface/SKILL.md` | review, audit, guidelines, wig, copywriting, microcopy, contrast-check, a11y audit, ux rules, live audit, live site, in the browser, how it actually looks, computed contrast | `core/design-tokens.md` |
| `react-performance` | `catalog/react-performance/SKILL.md` | performance, optimize, waterfall, bundle, memo, lazy, dynamic import, preload, rsc, core web vitals | `core/component-api.md` |
| `platform` | `catalog/platform/SKILL.md` | mobile, pwa, desktop, electron, tauri, keyboard shortcut, react native, expo, i18n, locale, rtl, right-to-left, seo, metadata, email, stripe, ai chat, streaming | `core/component-api.md` |
| `agent-ops` | `catalog/agent-ops/SKILL.md` | agent ops, token budget, context window, memory persistence, subagent, orchestration, verification loop, parallelization, continuous learning, self-check | `core/agent-behavior.md` |
| `design-research` | `catalog/design-research/SKILL.md` | inspired by, reference, mood board, like this site, dribbble, mobbin, live design, browse, extract palette, source url, trending, what people are building, community sentiment | `core/design-tokens.md` |
| `canvas-typography` | `catalog/canvas-typography/SKILL.md` | canvas typography, kinetic type, particle text, generative text, text animation, variable font, text on path, scramble text | `core/design-tokens.md` |
| `color-themes` | `catalog/color-themes/SKILL.md` | color theme, palette generation, oklch theme, theme generator, auto theme, image palette, color scheme, harmonic colors | `core/design-tokens.md` |

Every skill also inherits `core/accessibility-baseline.md` and `core/validate-checklist.md` — load them whenever the task produces code.

**Before building a website, page, app or dashboard, load `core/user-intake.md` and ask what is actually load-bearing.** Building on an invented assumption is the most expensive mistake available.

## Loading protocol

1. Read this file — always (2.0k).
2. Match trigger keywords → pick one skill.
3. Load `catalog/{id}/SKILL.md` (0.8–1.6k — measured, not estimated).
4. Load its listed core deps (0.6–0.9k each) plus the accessibility baseline when producing code.
5. Each skill has its own `references/` for depth — load a reference **only** when the skill file points you there for the specific task.
6. **Budget ≤8,000 tokens.** Over budget: drop the deepest reference first, note the omission.
7. No keyword match → ask ONE clarifying question. Never guess.

## Validate before output

Self-check against `core/validate-checklist.md`: TypeScript strict, no implicit `any` · OKLCH tokens, no raw hex (brand marks, React Native, three.js excepted — comment why) · `min-h-[100dvh]` · WCAG 2.2 AA · exported prop interfaces · all four states (loading/empty/error/success) with no fake delays · `prefers-reduced-motion` respected · every changed line traces to the request.

## Failure handling

| Condition | Action |
|---|---|
| No skill match | Ask ONE clarifying question |
| Ambiguous between skills | Ask which, or state the choice and why |
| Missing skill file | `## BLOCKED: missing catalog/{id}/SKILL.md` |
| Budget exceeded | Load the skill file only, skip deep references, note it |
| Validation fails | Fix and re-check; `## BLOCKED` after 3 attempts |
| Outside scope (backend, DB, infra) | Say so plainly, name what is in scope |

Priority when rules collide: **Accessibility > Usability > Aesthetics > Performance > Features > Speed.**

