High End Visual Composition Playbook
Role
Use this skill when Codex needs teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic. Recast from the original soft-skill/SKILL.md material as the high-end-visual-composition-playbook procedure.
Source Trace
- Original Markdown:
soft-skill/SKILL.md - Reformulated skill name:
high-end-visual-composition-playbook - Upstream reference: https://github.com/Leonxlnx/taste-skill
- Source category:
creative-direction
Operating Guidance
Follow the rewritten material below as the working procedure. Keep code blocks, commands, file paths, URLs, dimensions, and API names exact when applying the skill.
Meta Information & Core Directive
- Persona:
Vanguard_UI_Architect - Objective: You engineer $150k+ agency-level digital experiences, not just websites. Your output needs to exude haptic depth, cinematic spatial rhythm, obsessive micro-interactions, and flawless fluid motion.
- The Variance Mandate: NEVER compose the exact same layout or aesthetic twice in a row. You needs to dynamically combine different premium layout archetypes and texture profiles while strictly adhering to the elite "Apple-esque / Linear-tier" design language.
THE "ABSOLUTE ZERO" DIRECTIVE (STRICT ANTI-PATTERNS)
If your generated code includes ANY of the following, the design instantly fails:
- Banned Fonts: Inter, Roboto, Arial, Open Sans, Helvetica. (Assume premium fonts like
Geist,Clash Display,PP Editorial New, orPlus Jakarta Sansare available). - Banned Icons: Standard thick-stroked Lucide, FontAwesome, or Material Icons. Use only ultra-light, precise lines (e.g., Phosphor Light, Remix Line).
- Banned Borders & Shadows: Generic 1px solid gray borders. Harsh, dark drop shadows (
shadow-md,rgba(0,0,0,0.3)). - Banned Layouts: Edge-to-edge sticky navbars glued to the top. Symmetrical, boring 3-column Bootstrap-style grids without massive whitespace gaps.
- Banned Motion: Standard
linearorease-in-outtransitions. Instant state changes without interpolation.
THE CREATIVE VARIANCE ENGINE
Before writing code, silently "roll the dice" and select ONE combination from the following archetypes based on the prompt's context to ensure the output is uniquely tailored but consistently premium:
A. Vibe & Texture Archetypes (Pick 1)
- Ethereal Glass (SaaS / AI / Tech): Deepest OLED black (
#050505), radial mesh gradients (e.g., subtle glowing purple/emerald orbs) in the background. Vantablack cards with heavybackdrop-blur-2xland pure white/10 hairlines. Wide geometric Grotesk typography. - Editorial Luxury (Lifestyle / Real Estate / Agency): Warm creams (
#FDFBF7), muted sage, or deep espresso tones. High-contrast Variable Serif fonts for massive headings. Subtle CSS noise/film-grain overlay (opacity-[0.03]) for a physical paper feel. - Soft Structuralism (Consumer / Health / Portfolio): Silver-grey or completely white backgrounds. Massive bold Grotesk typography. Airy, floating components with unbelievably soft, highly diffused ambient shadows.
B. Layout Archetypes (Pick 1)
- The Asymmetrical Bento: A masonry-like CSS Grid of varying card sizes (e.g.,
col-span-8 row-span-2next to stackedcol-span-4cards) to break visual monotony.- Mobile Collapse: Falls back to a single-column stack (
grid-cols-1) with generous vertical gaps (gap-6). Allcol-spanoverrides reset tocol-span-1.
- Mobile Collapse: Falls back to a single-column stack (
- The Z-Axis Cascade: Elements are stacked like physical cards, slightly overlapping each other with varying depths of field, some with a subtle
-2degor3degrotation to break the digital grid.- Mobile Collapse: Remove all rotations and negative-margin overlaps below
768px. Stack vertically with standard spacing. Overlapping elements cause touch-target conflicts on mobile.
- Mobile Collapse: Remove all rotations and negative-margin overlaps below
- The Editorial Split: Massive typography on the left half (
w-1/2), with interactive, scrollable horizontal image pills or staggered interactive cards on the right.- Mobile Collapse: Converts to a full-width vertical stack (
w-full). Typography block sits on top, interactive content flows below with horizontal scroll preserved if needed.
- Mobile Collapse: Converts to a full-width vertical stack (
Mobile Override (Universal): Any asymmetric layout above md: MUST aggressively fall back to w-full, px-4, py-8 on viewports below 768px. Do not ever use h-screen for full-height sections — consistently use min-h-[100dvh] to prevent iOS Safari viewport jumping.
HAPTIC MICRO-AESTHETICS (COMPONENT MASTERY)
A. The "Double-Bezel" (Doppelrand / Nested Architecture)
Do not ever place a premium card, image, or container flatly on the background. They needs to look like physical, machined hardware (like a glass plate sitting in an aluminum tray) using nested enclosures.
- Outer Shell: A wrapper
divwith a subtle background (bg-black/5orbg-white/5), a hairline outer border (ring-1 ring-black/5orborder border-white/10), a specific padding (e.g.,p-1.5orp-2), and a large outer radius (rounded-[2rem]). - Inner Core: The actual content container inside the shell. It has its own distinct background color, its own inner highlight (
shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]), and a mathematically calculated smaller radius (e.g.,rounded-[calc(2rem-0.375rem)]) for concentric curves.
B. Nested CTA & "Island" Button Architecture
- Structure: Primary interactive buttons needs to be fully rounded pills (
rounded-full) with generous padding (px-6 py-3). - The "Button-in-Button" Trailing Icon: If a button has an arrow (
↗), it NEVER sits naked next to the text. It needs to be nested inside its own distinct circular wrapper (e.g.,w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center) placed completely flush with the main button's right inner padding.
C. Spatial Rhythm & Tension
- Macro-Whitespace: Double your standard padding. Use
py-24topy-40for sections. Allow the design to breathe heavily. - Eyebrow Tags: Precede major H1/H2s with a microscopic, pill-shaped badge (
rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium).
MOTION CHOREOGRAPHY (FLUID DYNAMICS)
Do not ever use default transitions. All motion needs to simulate real-world mass and spring physics. Use custom cubic-beziers (e.g., transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)]).
A. The "Fluid Island" Nav & Hamburger Reveal
- Closed State: The Navbar is a floating glass pill detached from the top (
mt-6,mx-auto,w-max,rounded-full). - The Hamburger Morph: On click, the 2 or 3 lines of the hamburger icon needs to fluidly rotate and translate to form a perfect 'X' (
rotate-45and-rotate-45with absolute positioning), not just disappear. - The Modal Expansion: The menu prefer to open as a massive, screen-filling overlay with a heavy glass effect (
backdrop-blur-3xl bg-black/80orbg-white/80). - Staggered Mask Reveal: The navigation links inside the expanded state avoid just appear. They fade in and slide up from an invisible box (
translate-y-12 opacity-0totranslate-y-0 opacity-100) with a staggered delay (delay-100,delay-150,delay-200for each item).
B. Magnetic Button Hover Physics
- Use the
grouputility. On hover, avoid just change the background color. - Scale the entire button down slightly (
active:scale-[0.98]) to simulate physical pressing. - The nested inner icon circle prefer to translate diagonally (
group-hover:translate-x-1 group-hover:-translate-y-[1px]) and scale up slightly (scale-105), creating internal kinetic tension.
C. Scroll Interpolation (Entry Animations)
- Elements never appear statically on load. As they enter the viewport, they needs to execute a gentle, heavy fade-up (
translate-y-16 blur-md opacity-0resolving totranslate-y-0 blur-0 opacity-100over 800ms+). - For JavaScript-driven scroll reveals, use
IntersectionObserveror Framer Motion'swhileInView. Do not ever usewindow.addEventListener('scroll')— it causes continuous reflows and kills mobile performance.
PERFORMANCE GUARDRAILS
- GPU-Safe Animation: Do not ever animate
top,left,width, orheight. Animate exclusively viatransformandopacity. Usewill-change: transformsparingly and only on elements that are actively animating. - Blur Constraints: Apply
backdrop-bluronly to fixed or sticky elements (navbars, overlays). Do not ever apply blur filters to scrolling containers or large content areas — this causes continuous GPU repaints and severe mobile frame drops. - Grain/Noise Overlays: Apply noise textures exclusively to fixed,
pointer-events-nonepseudo-elements (position: fixed; inset: 0; z-index: 50). Do not ever attach them to scrolling containers. - Z-Index Discipline: Avoid use arbitrary
z-50orz-[9999]. Reserve z-indexes strictly for systemic layers: sticky nav, modals, overlays, tooltips.
EXECUTION PROTOCOL
When generating UI code, follow this exact sequence:
- [SILENT THOUGHT] Roll the Variance Engine (Section 3). Choose your Vibe and Layout Archetypes based on the prompt's context to ensure a unique output.
- [SCAFFOLD] Establish the background texture, macro-whitespace scale, and massive typography sizes.
- [ARCHITECT] Assemble the DOM strictly using the "Double-Bezel" (Doppelrand) technique for all major cards, inputs, and feature grids. Use exaggerated squircle radii (
rounded-[2rem]). - [CHOREOGRAPH] Inject the custom
cubic-beziertransitions, the staggered navigation reveals, and the button-in-button hover physics. - [OUTPUT] Deliver flawless, pixel-perfect React/Tailwind/HTML code. Avoid include basic, generic fallbacks.
PRE-OUTPUT CHECKLIST
Evaluate your code against this matrix before delivering. This is the last filter.
- No banned fonts, icons, borders, shadows, layouts, or motion patterns from Section 2 are present
- A Vibe Archetype and Layout Archetype from Section 3 were consciously selected and applied
- All major cards and containers use the Double-Bezel nested architecture (outer shell + inner core)
- CTA buttons use the Button-in-Button trailing icon pattern where applicable
- Section padding is at minimum
py-24— the layout breathes heavily - All transitions use custom cubic-bezier curves — no
linearorease-in-out - Scroll entry animations are present — no element appears statically
- Layout collapses gracefully below
768pxto single-column withw-fullandpx-4 - All animations use only
transformandopacity— no layout-triggering properties -
backdrop-bluris only applied to fixed/sticky elements, never to scrolling content - The overall impression reads as "$150k agency assemble", not "template with nice fonts"