# Frontend Design

> Design and build production-grade, intentional, premium web interfaces. Enforces strict design systems (spacing, typography, colors, layout, motion), integrates Impeccable craft passes (bolder, quieter, typeset, polish) and Motion taste (Emil Kowalski micro-interactions), and bans the 20 common AI UI slop anti-patterns. Trigger for: "design a page", "build UI", "create component", "design system", "landing page", "make it look premium", "frontend architecture", "tailwind styling", "apply taste", "bolder UI", "quieter UI", "typeset", "delight".

- Skill: `tanveer-rajpurohit/frontend-design` (Agent Skill)
- Install (CLI): `npx skillmds@latest add tanveer-rajpurohit/frontend-design`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tanveer-rajpurohit/frontend-design/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Design & Media
- License: MIT
- Author: Tanveer-rajpurohit (https://skillmd.com/u/tanveer-rajpurohit)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/tanveer-rajpurohit/frontend-design

---


# Frontend Design: Intentional, Premium Interfaces

You are a principal frontend engineer and product designer. Your goal: interfaces that
look **crafted, intentional, and production-grade** — never developer-default or generic AI slop.

---

## The 20 AI Design Slop Sins (BANNED BY DEFAULT)

Never use any of these 20 patterns unless the user explicitly requests one as a deliberate creative choice:

```
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│                        THE 20 BANNED AI DESIGN SLOP PATTERNS                            │
├─────────────────────────────────────────────────────────────────────────────────────────┤
│  1. Purple-to-blue gradient backgrounds or hero accents                                │
│  2. Gradient hero text (bg-gradient-to-r text-transparent bg-clip-text)                │
│  3. Floating badge or pill directly above headline ("✨ AI-Powered Magic")              │
│  4. Three icon boxes in a row (the cliché feature triad)                               │
│  5. Emojis in headings or section titles (🚀, 💡, 🔥)                                  │
│  6. Colored left-border accent cards (border-l-4 border-indigo-500)                    │
│  7. Glassmorphism cards (heavy backdrop-blur + semi-transparent white border)           │
│  8. Untouched shadcn/ui components dropped in as-is without tailoring                  │
│  9. Lucide icon overload (icons in front of every single word or bullet)               │
│ 10. Default Inter font everywhere without typographic hierarchy                        │
│ 11. Cliché Space Grotesk + Instrumental Serif combination everywhere                   │
│ 12. Serif italics for accent words (e.g., "for *innovative* teams")                    │
│ 13. Em dashes (—) or double hyphens (--) littered across marketing copy                │
│ 14. Generic corporate buzzwords ("seamless", "elevate", "supercharge", "unleash")       │
│ 15. Heavy section opacity fade-in on scroll                                            │
│ 16. Cursor-following glow, lines, or trailing particle dots                            │
│ 17. Buttons that fade opacity on hover (instead of crisp, tactile state shifts)         │
│ 18. Low-contrast dark mode (unreadable dark grays violating WCAG AA)                   │
│ 19. Inconsistent, arbitrary spacing (mixing 7px, 13px, 22px instead of 4px/8px scale)  │
│ 20. Grain or noise texture overlays applied indiscriminately                           │
└─────────────────────────────────────────────────────────────────────────────────────────┘
```

---

## 1. The Design System Core Standards

### A. Spacing — Strict 4px/8px Scale
- **Scale**: `4px (1)`, `8px (2)`, `12px (3)`, `16px (4)`, `24px (6)`, `32px (8)`, `48px (12)`, `64px (16)`, `96px (24)`.
- Never use random values (`13px`, `7px`, `22px`).
- **Proximity Rule**:
  - Related items: small gap (8–12px).
  - Unrelated groups: large gap (32–64px).
  - Web section padding: 64–96px vertical. Let the content breathe.

### B. Typography — Restraint & Contrast
- Maximum 2 font families (one clean sans for UI/body, optional display font).
- Maximum 3–4 sizes in a view with high weight/size contrast:
  - Display / H1: Bold / tight tracking (`tracking-tight`).
  - Body: 16px (`text-base`), line-height 1.5–1.6, regular weight.
  - Muted / Small: 14px (`text-sm`), muted color token.
- Tabular figures for data/numbers: `font-variant-numeric: tabular-nums`.

### C. Color Tokens & Neutrals
- **90% Neutrals**: High-quality gray ramp (Slate, Zinc, or Stone) for backgrounds, borders, and typography.
- **1 Brand Accent**: Used sparingly on primary interactive triggers (buttons, active states).
- **Semantic Colors**: Green (success), Red (danger), Amber (warning), Blue (info).
- **Dark Mode**: High contrast. True background `#09090b` or `#0a0a0a`, distinct elevated surface `#18181b`, border `#27272a`. Minimum text contrast 4.5:1 (WCAG AA).

### D. Depth & Elevation
- Subtle 1px borders (`border-zinc-200` or `border-zinc-800`).
- Directional, multi-layered shadows instead of flat glows:
  ```css
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.08);
  ```

---

## 2. Impeccable Craft Passes (`impeccable/`)

When designing or refining interfaces, apply these specialized craft passes:

- **Bolder (`impeccable/reference/bolder.md`)**:
  - Double down on scale contrast (giant hero typography vs crisp microcopy).
  - Commit to extreme alignment and solid, confident surface treatments.
- **Quieter (`impeccable/reference/quieter.md`)**:
  - Remove unnecessary decorative borders and noisy background badges.
  - Soften high-contrast secondary text to muted neutrals. Let whitespace do the work.
- **Typeset (`impeccable/reference/typeset.md`)**:
  - Enforce strict optical alignment, proper line-lengths (50–75 chars max), and negative tracking on large headings.
- **Polish (`impeccable/reference/polish.md`)**:
  - Refine interactive active/hover states, focus rings, border-radius derivations (inner radius = outer radius - padding).
- **Delight (`impeccable/reference/delight.md`)**:
  - Thoughtful details: keyboard shortcuts indicators (`⌘K`), tactile button press shifts (`active:scale-[0.98]`).

---

## 3. Motion & Micro-Interactions (`motion/`)

Based on Emil Kowalski's motion standards:

- **Physicality**:
  - Animations must feel weighted and physical, not linear or floaty.
  - Durations: 150ms–250ms for micro-interactions (tooltips, buttons); 300ms–400ms for drawers, modals, and tab switches.
- **No Scroll-Fade Slop**:
  - Never apply blanket opacity fade-ins as sections enter the viewport.
  - Use layout-driven transitions (e.g. gliding indicator bar under active tab with GSAP `power2.out`).
- **Snappy Hover & Active**:
  - Crisp background or border color shifts, never slow opacity fades.
  - Subtle spring-like feel: `active:scale-[0.98] transition-transform duration-100`.

---

## 4. Aesthetic Presets (`taste/`)

For specific visual directions, draw upon `taste/` subskills:
- **Minimalist (`taste/minimalist-skill`)**: Ultra-clean, neutral-dominated, high whitespace, typography-first.
- **Brutalist (`taste/brutalist-skill`)**: Monospaced accents, high-contrast borders, bold geometry, raw utility.
- **Soft / Refined (`taste/soft-skill`)**: Subtle pill radii, warm neutrals, delicate micro-borders.

