Communitygithub.com

cortex_agent

You master MotionSites.ai style AI web design prompt engineering, including Liquid-Glass visual effects, dark cinematic design systems, Framer Motion scroll-triggered animations, and highly detailed structured prompts.

What is cortex_agent?

This skill equips you with the expertise to generate premium AI web design prompts in the style of MotionSites.ai (2026), enabling you to produce copy-paste-ready prompts for tools like Cursor, Claude Code, Bolt, and Lovable that result in what feels like a $5000 website. It defines a distinct design philosophy centered on dark cinematic aesthetics, Liquid-Glass UI effects, asymmetric layouts, and a strict set of anti-default rules to avoid generic AI outputs. The skill provides a complete prompt template structure covering setup, reusable CSS (including the full Liquid-Glass implementation), page segmentation for hero, features, pricing, CTA, footer, testimonials, and FAQ sections, along with Framer Motion animation patterns and font CDNs. It also outlines a workflow for iterative refinement, making it ideal for developers and designers using AI agents to build visually stunning, animated landing pages and marketing sites.

Works with✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/15087312/cortex_agent/tree/HEAD/skills/motionsites_prompt

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Preview

From the skill README

Documentation

You master MotionSites.ai style premium AI web design prompt engineering (2026).

Hold yourself to MotionSites' design standards — every output should be a complete prompt that can be copy-pasted directly into Cursor / Claude Code / Bolt / Lovable and generate a site that "looks like a $5000 website."

MotionSites Design Philosophy

Core Aesthetics

  • Dark Cinematic: Base colors are deep purple-black (#0A061A) or pure black (#000), text is white/semi-transparent white
  • Liquid-Glass: backdrop-filter: blur(18px) saturate(1.4) + gradient border pseudo-elements + radial glow
  • Typography: Ultra-thin sans-serif (Helvetica Neue Light, Satoshi), wide letter spacing, large size hierarchy (headings 48-72px)
  • Background Video: Fullscreen looping video as a sticky background, content layered above scrolling, bottom blended with gradient
  • Subtle Glow Border: inset 0 0 12px rgba(255,255,255,0.15) inner glow, ::before pseudo-element 1.5px gradient outer border
  • Pill Buttons: rounded-full, white background with black text or semi-transparent white border
  • Asymmetric Layouts: 60/40 or 45/55 splits, breaking grid expectations, ample whitespace

Anti-AI Defaults Principles

  • ❌ No blue-purple gradients (blue-500 → purple-500)
  • ❌ No three-column card grids
  • ❌ No bg-blue-600 buttons
  • ❌ No centered Hero + three-column Features below
  • ❌ No light gray background #f8f9fa
  • ❌ No large 2xl radius + heavy shadow white cards
  • ✅ Prefer Liquid-Glass effects
  • ✅ Prefer dark themes
  • ✅ Prefer background video or animation
  • ✅ Prefer ultra-thin fonts + wide spacing

Prompt Template Structure

The fixed template structure for MotionSites-style prompts; any component should be written in this format:

Create a [component type] with [function description] using React + TypeScript + Vite + Tailwind CSS + Framer Motion + lucide-react.
---
## SETUP
Font: In index.html <head>, load this stylesheet: [font CDN link]
Set the page title to [title].
Global CSS (index.css):
- Reset: ...
- body: font-family [font stack]; background [color]; color [color]
- ::selection: background rgba(..., 0.4)

## [Reusable CSS Class]
.[class name] {
  /* Liquid-Glass and other effects */
}

## PAGE STRUCTURE
Outermost wrapper: className="relative" style backgroundColor [base color].

### [Component Name]
Exact JSX structure, className, layout description...

### [Next Component]
...

## DEPENDENCIES
- framer-motion / framer-motion + gsap
- lucide-react
- tailwindcss + postcss + autoprefixer

## TAILWIND CONFIG
Default config, content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}']

Key Principles

  1. Ultra-Detailed: Specify every div's className, every property's value, every animation parameter
  2. Tech Stack First: The first line must declare the complete tech stack
  3. Visual Effects as Code: Liquid-Glass CSS classes must include the full backdrop-filter / mask-composite code
  4. Explicit Layering: Use relative z-10 / sticky top-0 etc. to precisely specify stacking context
  5. Dependency List: List all npm dependencies and Tailwind config at the end
  6. Inline Image/Video URLs: Don't say "use an image", provide CDN/Pexels URLs directly

Liquid-Glass CSS Standard Implementation

.liquid-glass {
  background: linear-gradient(165deg, rgba(255,255,255,0.005) 0%, rgba(255,255,255,0.002) 40%, rgba(255,255,255,0.001) 100%);
  backdrop-filter: blur(18px) saturate(1.4) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.4) brightness(1.05);
  border: none;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.025) 15%, rgba(255,255,255,0.005) 40%, rgba(255,255,255,0.005) 60%, rgba(255,255,255,0.025) 85%, rgba(255,255,255,0.06) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.01) 0%, transparent 50%), radial-gradient(ellipse at center, transparent 55%, rgba(255,255,255,0.005) 80%, rgba(255,255,255,0.01) 100%);
  pointer-events: none;
}

Common Page Sections and Prompt Structure

Hero Section (With Animated Background)

  • Fixed nav + sticky background video + scroll-over content
  • Nav: fixed, semi-transparent, left-right layout (Logo + links + CTA button)
  • Mobile: hamburger + AnimatePresence fullscreen overlay + staggered links
  • Hero: large heading (font-light, line breaks <br/>) + left text/right avatar + testimonial card

Features Section

  • Dark background + grid layout or alternating arrangement
  • Each feature card uses liquid-glass
  • Framer Motion scroll-triggered entrance (whileInView, stagger)
  • Icons via lucide-react

Pricing Section

  • Three columns (symmetry allowed here because it's pricing)
  • Recommended plan highlighted (liquid-glass with thicker border or slight scaling)
  • CTA button at the bottom

CTA Section

  • Large heading + description + dual buttons (primary / secondary)
  • Liquid-glass or solid color background
  • Optional background video or dynamic gradient

Footer Section

  • Multi-column links (subtle gray-white text)
  • Copyright notice
  • Social icons

Testimonials / Stats

  • Quote card + avatar row (-space-x-2 overlap)
  • Number statistics in large font

FAQ / Accordion

  • Dark background + white text
  • Expand/collapse interaction (Framer Motion AnimatePresence)
  • Slightly brighter background when expanded

Framer Motion Animation Patterns

// Scroll-triggered entrance
<motion.div
  initial={{ opacity: 0, y: 20 }}
  whileInView={{ opacity: 1, y: 0 }}
  viewport={{ once: true }}
  transition={{ duration: 0.6, ease: [0.16, 1, 0.3, 1] }}
>

// Staggered children
<motion.div
  initial="hidden"
  whileInView="visible"
  viewport={{ once: true }}
  variants={{
    visible: { transition: { staggerChildren: 0.08, delayChildren: 0.15 } }
  }}
>
  {items.map((item, i) => (
    <motion.div
      variants={{
        hidden: { opacity: 0, y: 20 },
        visible: { opacity: 1, y: 0, transition: { duration: 0.5 } }
      }}
    >
  ))}

// Mobile menu AnimatePresence
<AnimatePresence mode="wait">
  {isOpen ? (
    <motion.div
      key="menu"
      initial={{ opacity: 0, rotate: -90 }}
      animate={{ opacity: 1, rotate: 0 }}
      exit={{ opacity: 0, rotate: 90 }}
      transition={{ duration: 0.2 }}
    >
      <X size={24} />
    </motion.div>
  ) : (
    <motion.div
      key="menu-closed"
      initial={{ opacity: 0, rotate: 90 }}
      animate={{ opacity: 1, rotate: 0 }}
      exit={{ opacity: 0, rotate: -90 }}
    >
      <Menu size={24} />
    </motion.div>
  )}
</AnimatePresence>

// Fullscreen overlay staggered
<AnimatePresence>
  {isOpen && (
    <motion.div
      initial={{ opacity: 0 }}
      animate={{ opacity: 1 }}
      exit={{ opacity: 0 }}
      className="fixed inset-0 z-55 bg-black/95 backdrop-blur-xl"
    >
      {links.map((link, i) => (
        <motion.a
          key={link}
          initial={{ opacity: 0, y: 20 }}
          animate={{ opacity: 1, y: 0 }}
          transition={{ delay: 0.15 + i * 0.05 }}
        >
          {link}
        </motion.a>
      ))}
    </motion.div>
  )}
</AnimatePresence>

Common Font CDNs

https://db.onlinewebfonts.com/c/0e6de1ec911a2e267ff136bbdd384a44?family=Helvetica+Neue+Light
https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap
https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap

Complete Prompt Example (Hero Section)

Create a hero section with a fixed navbar and a sticky background video using React + TypeScript + Vite + Tailwind CSS + Framer Motion + lucide-react.

## SETUP
Font: In index.html <head>, load: https://db.onlinewebfonts.com/c/0e6de1ec911a2e267ff136bbdd384a44?family=Helvetica+Neue+Light
Set page title to "Brand Name — Tagline".
Global CSS: * { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body: font-family 'Helvetica Neue Light', sans-serif; background #0A061A; color #fff; antialiased.
::selection: background rgba(168, 85, 247, 0.4); color #fff.

## LIQUID GLASS (.liquid-glass)
[full liquid-glass CSS]

## PAGE STRUCTURE
<div className="relative" style={{ backgroundColor: '#0A061A' }}>
  {/* Sticky Background Video */}
  <div className="relative z-0">
    <div className="sticky top-0 h-screen w-full overflow-hidden">
      <video autoPlay muted loop playsInline className="w-full h-full object-cover" src="[video URL]" />
      <div className="absolute inset-x-0 bottom-0 h-[40%] pointer-events-none" style={{ background: 'linear-gradient(to bottom, transparent, #0A061A)' }} />
    </div>
  </div>
  {/* Content overlay */}
  <div className="relative z-10 -mt-[100vh]">
    [Nav + HeroContent components]
  </div>
</div>

MotionSites Workflow (Post-Prompt Customization)

After generating the prompt, suggest the user tell the AI:

"Keep the current layout, typography, colors, animations, and responsive behavior. Rewrite the website for my business and add [services / case studies / FAQs / CTA]."

Then iterate step by step:

  • "Improve mobile spacing"
  • "Remove dark overlays"
  • "Adjust headline sizes"
  • "Replace stock images with [description]"

Use Cases

  • Landing page / marketing site (generate from scratch)
  • Prompt replication based on reference designs
  • Brand visual prompt engineering
  • AI website generation workflow optimization
  • Framer Motion scroll narratives

Do Not Use For

  • Simple brochure sites (no animation needed)
  • Backend / full-stack projects
  • Pure content sites (blogs, documentation)
  • Enterprise dashboards (non-marketing pages)

Related Skills