Frontend design ultimate

From aAAaqwq/AGI-Super-Team · View interactive version

Frontend design ultimate is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, mar

How to use this skill

Skill file

Frontend Design Ultimate

Create distinctive, production-grade static sites from text requirements alone. No mockups, no Figma — just describe what you want and get bold, memorable designs.

Stack: React 18 + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion

Output: Vite (static HTML) or Next.js (Vercel-ready)

Quick Start

"Build a SaaS landing page for an AI writing tool. Dark theme, 
editorial typography, subtle grain texture. Pages: hero with 
animated demo, features grid, pricing table, FAQ accordion, footer."

Design Thinking (Do This First)

Before writing any code, commit to a BOLD aesthetic direction:

1. Understand Context

2. Choose an Extreme Tone

Pick ONE and commit fully — timid designs fail:

| Tone | Characteristics |

|------|-----------------|

| Brutally Minimal | Sparse, monochrome, massive typography, raw edges |

| Maximalist Chaos | Layered, dense, overlapping elements, controlled disorder |

| Retro-Futuristic | Neon accents, geometric shapes, CRT aesthetics |

| Organic/Natural | Soft curves, earth tones, hand-drawn elements |

| Luxury/Refined | Subtle animations, premium typography, restrained palette |

| Editorial/Magazine | Strong grid, dramatic headlines, whitespace as feature |

| Brutalist/Raw | Exposed structure, harsh contrasts, anti-design |

| Art Deco/Geometric | Gold accents, symmetry, ornate patterns |

| Soft/Pastel | Rounded corners, gentle gradients, friendly |

| Industrial/Utilitarian | Functional, monospace, data-dense |

3. Define the Unforgettable Element

What's the ONE thing someone will remember? A hero animation? Typography treatment? Color combination? Unusual layout?


Aesthetics Guidelines

Typography — NEVER Generic

BANNED: Inter, Roboto, Arial, system fonts, Open Sans

DO: Distinctive, characterful choices that elevate the design.

| Use Case | Approach |

|----------|----------|

| Display/Headlines | Bold personality — Clash, Cabinet Grotesk, Satoshi, Space Grotesk (sparingly), Playfair Display |

| Body Text | Refined readability — Instrument Sans, General Sans, Plus Jakarta Sans |

| Monospace/Code | DM Mono, JetBrains Mono, IBM Plex Mono |

| Pairing Strategy | Contrast weights (thin display + bold body), contrast styles (serif + geometric sans) |

Size Progression: Use 3x+ jumps, not timid 1.5x increments.

Color & Theme

BANNED: Purple gradients on white, evenly-distributed 5-color palettes

DO:

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --text-primary: #fafafa;
  --text-secondary: #a1a1a1;
  --accent: #ff6b35;
  --accent-hover: #ff8555;
}

Motion & Animation

Priority: One orchestrated page load > scattered micro-interactions

High-Impact Moments:

Implementation:

Spatial Composition

BANNED: Centered, symmetrical, predictable layouts

DO:

Backgrounds & Atmosphere

BANNED: Solid white/gray backgrounds

DO:

/* Subtle grain overlay */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,...") repeat;
  opacity: 0.03;
  pointer-events: none;
}

Mobile-First Patterns

See references/mobile-patterns.md for detailed CSS.

Critical Rules

| Pattern | Desktop | Mobile Fix |

|---------|---------|------------|

| Hero with hidden visual | 2-column grid | Switch to display: flex (not grid) |

| Large selection lists | Horizontal scroll | Accordion with category headers |

| Multi-column forms | Side-by-side | Stack vertically |

| Status/alert cards | Inline | align-items: center + text-align: center |

| Feature grids | 3-4 columns | Single column |

Breakpoints

/* Tablet - stack sidebars */
@media (max-width: 1200px) { }

/* Mobile - full single column */
@media (max-width: 768px) { }

/* Small mobile - compact spacing */
@media (max-width: 480px) { }

Font Scaling

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }      /* from ~48px */
  .section-title { font-size: 24px; }   /* from ~32px */
  .section-subtitle { font-size: 14px; } /* from ~16px */
}

Build Workflow

Option A: Vite (Pure Static)

# 1. Initialize
bash scripts/init-vite.sh my-site
cd my-site

# 2. Develop
npm run dev

# 3. Build static files
npm run build
# Output: dist/

# 4. Bundle to single HTML (optional)
bash scripts/bundle-artifact.sh
# Output: bundle.html

Option B: Next.js (Vercel Deploy)

# 1. Initialize
bash scripts/init-nextjs.sh my-site
cd my-site

# 2. Develop
npm run dev

# 3. Deploy to Vercel
vercel

Project Structure

Vite Static

my-site/
├── src/
│   ├── components/     # React components
│   ├── lib/           # Utilities, cn()
│   ├── styles/        # Global CSS
│   ├── config/
│   │   └── site.ts    # Editable content config
│   ├── App.tsx
│   └── main.tsx
├── index.html
├── tailwind.config.ts
└── package.json

Next.js

my-site/
├── app/
│   ├── layout.tsx
│   ├── page.tsx
│   └── privacy/page.tsx
├── components/
├── lib/
├── config/
│   └── site.ts
└── tailwind.config.ts

Site Config Pattern

Keep all editable content in one file:

// config/site.ts
export const siteConfig = {
  name: "Acme AI",
  tagline: "Write better, faster",
  description: "AI-powered writing assistant",
  
  hero: {
    badge: "Now in beta",
    title: "Your words,\nsupercharged",
    subtitle: "Write 10x faster with AI that understands your style",
    cta: { text: "Get Started", href: "/signup" },
    secondaryCta: { text: "Watch Demo", href: "#demo" },
  },
  
  features: [
    { icon: "Zap", title: "Lightning Fast", description: "..." },
    // ...
  ],
  
  pricing: [
    { name: "Free", price: 0, features: [...] },
    { name: "Pro", price: 19, features: [...], popular: true },
  ],
  
  faq: [
    { q: "How does it work?", a: "..." },
  ],
  
  footer: {
    links: [...],
    social: [...],
  }
}

Pre-Implementation Checklist

Run this before finalizing any design:

Design Quality

Mobile Responsiveness

Form Consistency

Accessibility


shadcn/ui Components

10 common components pre-installed (button, badge, card, accordion, dialog, navigation-menu, tabs, sheet, separator, avatar, alert). Add more with npx shadcn@latest add [name] or install all with npx shadcn@latest add --all.

See references/shadcn-components.md for full component reference.

Most used for landing pages:


References


Examples

Prompt → Output

Input:

"Portfolio site for a photographer. Minimal, editorial feel.

Grid gallery with lightbox, about section, contact form."

Design Decisions:

Output: Complete Next.js project with responsive gallery, lightbox component, and contact form with validation.


Based on Anthropic's frontend-design, web-artifacts-builder, and community frontend-design-v2 skills.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.