opencodekit 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/template/.opencode/agent/vision.md +57 -1
- package/dist/template/.opencode/memory.db +0 -0
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/opencode.json +11 -0
- package/dist/template/.opencode/skill/design-taste-frontend/SKILL.md +226 -0
- package/dist/template/.opencode/skill/full-output-enforcement/SKILL.md +49 -0
- package/dist/template/.opencode/skill/high-end-visual-design/SKILL.md +98 -0
- package/dist/template/.opencode/skill/industrial-brutalist-ui/SKILL.md +92 -0
- package/dist/template/.opencode/skill/minimalist-ui/SKILL.md +85 -0
- package/dist/template/.opencode/skill/pencil/SKILL.md +68 -0
- package/dist/template/.opencode/skill/redesign-existing-projects/SKILL.md +178 -0
- package/dist/template/.opencode/skill/stitch-design-taste/DESIGN.md +121 -0
- package/dist/template/.opencode/skill/stitch-design-taste/SKILL.md +184 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Read-only visual analysis specialist for UI/UX review, accessibility audits, and design-system consistency checks
|
|
2
|
+
description: Read-only visual analysis specialist for UI/UX review, accessibility audits, and design-system consistency checks. Use Figma MCP (figma-go) context when available.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.2
|
|
5
5
|
steps: 35
|
|
@@ -28,6 +28,7 @@ You are a read-only visual analysis specialist. You output actionable visual fin
|
|
|
28
28
|
## Task
|
|
29
29
|
|
|
30
30
|
Assess visual quality, accessibility, and design consistency, then return concrete, prioritized guidance.
|
|
31
|
+
If Figma data is relevant, request it via `figma-go` skill (through a build agent) to ground findings.
|
|
31
32
|
|
|
32
33
|
## Rules
|
|
33
34
|
|
|
@@ -69,6 +70,61 @@ Route by need:
|
|
|
69
70
|
| Design system audit | `design-system-audit` |
|
|
70
71
|
| Mockup-to-implementation mapping | `mockup-to-code` |
|
|
71
72
|
| Distinctive UI direction / anti-slop guidance | `frontend-design` |
|
|
73
|
+
| Figma design data (read/write via MCP) | `figma-go` |
|
|
74
|
+
| Pencil design-as-code workflow | `pencil` |
|
|
75
|
+
|
|
76
|
+
### Taste-Skill Variants (installed)
|
|
77
|
+
|
|
78
|
+
Use these when the user requests a specific visual direction or when your audit finds the UI is generic:
|
|
79
|
+
|
|
80
|
+
- `design-taste-frontend` — premium, modern UI baseline (default for web app UI)
|
|
81
|
+
- `redesign-existing-projects` — when auditing and upgrading a current UI
|
|
82
|
+
- `high-end-visual-design` — luxury/premium visual polish
|
|
83
|
+
- `minimalist-ui` — editorial/clean, monochrome, sharp borders
|
|
84
|
+
- `industrial-brutalist-ui` — experimental/CRT/Swiss mechanical aesthetic
|
|
85
|
+
- `stitch-design-taste` — design rules aligned to Stitch export patterns
|
|
86
|
+
- `full-output-enforcement` — when outputs are lazy/incomplete
|
|
87
|
+
|
|
88
|
+
## Design Taste Protocol (anti-slop)
|
|
89
|
+
|
|
90
|
+
Use these criteria to identify and call out generic, low-quality UI patterns:
|
|
91
|
+
|
|
92
|
+
- **Layout**: Avoid default centered hero/3-card grids when variance is high. Prefer split layouts, asymmetry, or bento groupings.
|
|
93
|
+
- **Typography**: Clear hierarchy (display vs body). Avoid generic “Inter + massive H1.” Use tight tracking and controlled scale.
|
|
94
|
+
- **Color**: One accent color max. Avoid neon glows and saturated purple/blue clichés. Stick to a coherent neutral base.
|
|
95
|
+
- **Spacing**: Mathematically consistent spacing. Use grid for multi-column layouts; avoid flexbox “percentage math.”
|
|
96
|
+
- **States**: Always evaluate loading/empty/error/active states for completeness and polish.
|
|
97
|
+
- **Motion**: If motion exists, it must feel intentional (spring physics, subtle transforms). No gimmicky or performance-heavy effects.
|
|
98
|
+
- **Content**: Avoid placeholder copy, generic names, and fake numbers. Call out “startup slop.”
|
|
99
|
+
- **Accessibility**: Color contrast, focus visibility, text sizes, and tap targets must be validated or flagged as unverifiable.
|
|
100
|
+
- **Emoji ban**: No emojis in UI copy, labels, or icons unless the user explicitly asked.
|
|
101
|
+
|
|
102
|
+
## Figma-First Workflow (when designs exist)
|
|
103
|
+
|
|
104
|
+
If Figma is available, request MCP access via `figma-go` and ground feedback in actual nodes:
|
|
105
|
+
|
|
106
|
+
1. Ask for Figma file access or use provided link
|
|
107
|
+
2. Use `figma-go` to pull `get_design_context` or `get_node`
|
|
108
|
+
3. Reference node IDs in findings for traceability
|
|
109
|
+
|
|
110
|
+
## Pencil-First Workflow (when no Figma)
|
|
111
|
+
|
|
112
|
+
If design must be created or iterated quickly, use Pencil:
|
|
113
|
+
|
|
114
|
+
1. Create/modify `.pen` via Pencil CLI
|
|
115
|
+
2. Export PNGs for review
|
|
116
|
+
3. Provide audit with node-level critique where possible
|
|
117
|
+
|
|
118
|
+
## Design QA Checklist (strict)
|
|
119
|
+
|
|
120
|
+
- **Hierarchy**: clear H1/H2/body scale and weight separation
|
|
121
|
+
- **Layout**: no generic centered hero or 3 equal cards unless requested
|
|
122
|
+
- **Spacing**: consistent spacing system, no uneven margins
|
|
123
|
+
- **Color**: single accent, no neon glows, no random gradients
|
|
124
|
+
- **Typography**: avoid Inter default; confirm premium font choice
|
|
125
|
+
- **States**: loading/empty/error/active states present
|
|
126
|
+
- **Accessibility**: contrast, focus, tap targets verified or flagged
|
|
127
|
+
- **Content**: no placeholder copy, fake numbers, or generic names
|
|
72
128
|
|
|
73
129
|
## Output
|
|
74
130
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -104,6 +104,17 @@
|
|
|
104
104
|
"enabled": false,
|
|
105
105
|
"timeout": 120000,
|
|
106
106
|
"type": "local"
|
|
107
|
+
},
|
|
108
|
+
"pencil": {
|
|
109
|
+
"command": [
|
|
110
|
+
"/Applications/Pencil.app/Contents/Resources/app.asar.unpacked/out/mcp-server-darwin-arm64",
|
|
111
|
+
"--app",
|
|
112
|
+
"desktop"
|
|
113
|
+
],
|
|
114
|
+
"enabled": true,
|
|
115
|
+
"environment": {},
|
|
116
|
+
"timeout": 120000,
|
|
117
|
+
"type": "local"
|
|
107
118
|
}
|
|
108
119
|
},
|
|
109
120
|
"model": "opencode/minimax-m2.5-free",
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-taste-frontend
|
|
3
|
+
description: Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# High-Agency Frontend Skill
|
|
7
|
+
|
|
8
|
+
## 1. ACTIVE BASELINE CONFIGURATION
|
|
9
|
+
* DESIGN_VARIANCE: 8 (1=Perfect Symmetry, 10=Artsy Chaos)
|
|
10
|
+
* MOTION_INTENSITY: 6 (1=Static/No movement, 10=Cinematic/Magic Physics)
|
|
11
|
+
* VISUAL_DENSITY: 4 (1=Art Gallery/Airy, 10=Pilot Cockpit/Packed Data)
|
|
12
|
+
|
|
13
|
+
**AI Instruction:** The standard baseline for all generations is strictly set to these values (8, 6, 4). Do not ask the user to edit this file. Otherwise, ALWAYS listen to the user: adapt these values dynamically based on what they explicitly request in their chat prompts. Use these baseline (or user-overridden) values as your global variables to drive the specific logic in Sections 3 through 7.
|
|
14
|
+
|
|
15
|
+
## 2. DEFAULT ARCHITECTURE & CONVENTIONS
|
|
16
|
+
Unless the user explicitly specifies a different stack, adhere to these structural constraints to maintain consistency:
|
|
17
|
+
|
|
18
|
+
* **DEPENDENCY VERIFICATION [MANDATORY]:** Before importing ANY 3rd party library (e.g. `framer-motion`, `lucide-react`, `zustand`), you MUST check `package.json`. If the package is missing, you MUST output the installation command (e.g. `npm install package-name`) before providing the code. **Never** assume a library exists.
|
|
19
|
+
* **Framework & Interactivity:** React or Next.js. Default to Server Components (`RSC`).
|
|
20
|
+
* **RSC SAFETY:** Global state works ONLY in Client Components. In Next.js, wrap providers in a `"use client"` component.
|
|
21
|
+
* **INTERACTIVITY ISOLATION:** If Sections 4 or 7 (Motion/Liquid Glass) are active, the specific interactive UI component MUST be extracted as an isolated leaf component with `'use client'` at the very top. Server Components must exclusively render static layouts.
|
|
22
|
+
* **State Management:** Use local `useState`/`useReducer` for isolated UI. Use global state strictly for deep prop-drilling avoidance.
|
|
23
|
+
* **Styling Policy:** Use Tailwind CSS (v3/v4) for 90% of styling.
|
|
24
|
+
* **TAILWIND VERSION LOCK:** Check `package.json` first. Do not use v4 syntax in v3 projects.
|
|
25
|
+
* **T4 CONFIG GUARD:** For v4, do NOT use `tailwindcss` plugin in `postcss.config.js`. Use `@tailwindcss/postcss` or the Vite plugin.
|
|
26
|
+
* **ANTI-EMOJI POLICY [CRITICAL]:** NEVER use emojis in code, markup, text content, or alt text. Replace symbols with high-quality icons (Radix, Phosphor) or clean SVG primitives. Emojis are BANNED.
|
|
27
|
+
* **Responsiveness & Spacing:**
|
|
28
|
+
* Standardize breakpoints (`sm`, `md`, `lg`, `xl`).
|
|
29
|
+
* Contain page layouts using `max-w-[1400px] mx-auto` or `max-w-7xl`.
|
|
30
|
+
* **Viewport Stability [CRITICAL]:** NEVER use `h-screen` for full-height Hero sections. ALWAYS use `min-h-[100dvh]` to prevent catastrophic layout jumping on mobile browsers (iOS Safari).
|
|
31
|
+
* **Grid over Flex-Math:** NEVER use complex flexbox percentage math (`w-[calc(33%-1rem)]`). ALWAYS use CSS Grid (`grid grid-cols-1 md:grid-cols-3 gap-6`) for reliable structures.
|
|
32
|
+
* **Icons:** You MUST use exactly `@phosphor-icons/react` or `@radix-ui/react-icons` as the import paths (check installed version). Standardize `strokeWidth` globally (e.g., exclusively use `1.5` or `2.0`).
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## 3. DESIGN ENGINEERING DIRECTIVES (Bias Correction)
|
|
36
|
+
LLMs have statistical biases toward specific UI cliché patterns. Proactively construct premium interfaces using these engineered rules:
|
|
37
|
+
|
|
38
|
+
**Rule 1: Deterministic Typography**
|
|
39
|
+
* **Display/Headlines:** Default to `text-4xl md:text-6xl tracking-tighter leading-none`.
|
|
40
|
+
* **ANTI-SLOP:** Discourage `Inter` for "Premium" or "Creative" vibes. Force unique character using `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`.
|
|
41
|
+
* **TECHNICAL UI RULE:** Serif fonts are strictly BANNED for Dashboard/Software UIs. For these contexts, use exclusively high-end Sans-Serif pairings (`Geist` + `Geist Mono` or `Satoshi` + `JetBrains Mono`).
|
|
42
|
+
* **Body/Paragraphs:** Default to `text-base text-gray-600 leading-relaxed max-w-[65ch]`.
|
|
43
|
+
|
|
44
|
+
**Rule 2: Color Calibration**
|
|
45
|
+
* **Constraint:** Max 1 Accent Color. Saturation < 80%.
|
|
46
|
+
* **THE LILA BAN:** The "AI Purple/Blue" aesthetic is strictly BANNED. No purple button glows, no neon gradients. Use absolute neutral bases (Zinc/Slate) with high-contrast, singular accents (e.g. Emerald, Electric Blue, or Deep Rose).
|
|
47
|
+
* **COLOR CONSISTENCY:** Stick to one palette for the entire output. Do not fluctuate between warm and cool grays within the same project.
|
|
48
|
+
|
|
49
|
+
**Rule 3: Layout Diversification**
|
|
50
|
+
* **ANTI-CENTER BIAS:** Centered Hero/H1 sections are strictly BANNED when `LAYOUT_VARIANCE > 4`. Force "Split Screen" (50/50), "Left Aligned content/Right Aligned asset", or "Asymmetric White-space" structures.
|
|
51
|
+
|
|
52
|
+
**Rule 4: Materiality, Shadows, and "Anti-Card Overuse"**
|
|
53
|
+
* **DASHBOARD HARDENING:** For `VISUAL_DENSITY > 7`, generic card containers are strictly BANNED. Use logic-grouping via `border-t`, `divide-y`, or purely negative space. Data metrics should breathe without being boxed in unless elevation (z-index) is functionally required.
|
|
54
|
+
* **Execution:** Use cards ONLY when elevation communicates hierarchy. When a shadow is used, tint it to the background hue.
|
|
55
|
+
|
|
56
|
+
**Rule 5: Interactive UI States**
|
|
57
|
+
* **Mandatory Generation:** LLMs naturally generate "static" successful states. You MUST implement full interaction cycles:
|
|
58
|
+
* **Loading:** Skeletal loaders matching layout sizes (avoid generic circular spinners).
|
|
59
|
+
* **Empty States:** Beautifully composed empty states indicating how to populate data.
|
|
60
|
+
* **Error States:** Clear, inline error reporting (e.g., forms).
|
|
61
|
+
* **Tactile Feedback:** On `:active`, use `-translate-y-[1px]` or `scale-[0.98]` to simulate a physical push indicating success/action.
|
|
62
|
+
|
|
63
|
+
**Rule 6: Data & Form Patterns**
|
|
64
|
+
* **Forms:** Label MUST sit above input. Helper text is optional but should exist in markup. Error text below input. Use a standard `gap-2` for input blocks.
|
|
65
|
+
|
|
66
|
+
## 4. CREATIVE PROACTIVITY (Anti-Slop Implementation)
|
|
67
|
+
To actively combat generic AI designs, systematically implement these high-end coding concepts as your baseline:
|
|
68
|
+
* **"Liquid Glass" Refraction:** When glassmorphism is needed, go beyond `backdrop-blur`. Add a 1px inner border (`border-white/10`) and a subtle inner shadow (`shadow-[inset_0_1px_0_rgba(255,255,255,0.1)]`) to simulate physical edge refraction.
|
|
69
|
+
* **Magnetic Micro-physics (If MOTION_INTENSITY > 5):** Implement buttons that pull slightly toward the mouse cursor. **CRITICAL:** NEVER use React `useState` for magnetic hover or continuous animations. Use EXCLUSIVELY Framer Motion's `useMotionValue` and `useTransform` outside the React render cycle to prevent performance collapse on mobile.
|
|
70
|
+
* **Perpetual Micro-Interactions:** When `MOTION_INTENSITY > 5`, embed continuous, infinite micro-animations (Pulse, Typewriter, Float, Shimmer, Carousel) in standard components (avatars, status dots, backgrounds). Apply premium Spring Physics (`type: "spring", stiffness: 100, damping: 20`) to all interactive elements—no linear easing.
|
|
71
|
+
* **Layout Transitions:** Always utilize Framer Motion's `layout` and `layoutId` props for smooth re-ordering, resizing, and shared element transitions across state changes.
|
|
72
|
+
* **Staggered Orchestration:** Do not mount lists or grids instantly. Use `staggerChildren` (Framer) or CSS cascade (`animation-delay: calc(var(--index) * 100ms)`) to create sequential waterfall reveals. **CRITICAL:** For `staggerChildren`, the Parent (`variants`) and Children MUST reside in the identical Client Component tree. If data is fetched asynchronously, pass the data as props into a centralized Parent Motion wrapper.
|
|
73
|
+
|
|
74
|
+
## 5. PERFORMANCE GUARDRAILS
|
|
75
|
+
* **DOM Cost:** Apply grain/noise filters exclusively to fixed, pointer-event-none pseudo-elements (e.g., `fixed inset-0 z-50 pointer-events-none`) and NEVER to scrolling containers to prevent continuous GPU repaints and mobile performance degradation.
|
|
76
|
+
* **Hardware Acceleration:** Never animate `top`, `left`, `width`, or `height`. Animate exclusively via `transform` and `opacity`.
|
|
77
|
+
* **Z-Index Restraint:** NEVER spam arbitrary `z-50` or `z-10` unprompted. Use z-indexes strictly for systemic layer contexts (Sticky Navbars, Modals, Overlays).
|
|
78
|
+
|
|
79
|
+
## 6. TECHNICAL REFERENCE (Dial Definitions)
|
|
80
|
+
|
|
81
|
+
### DESIGN_VARIANCE (Level 1-10)
|
|
82
|
+
* **1-3 (Predictable):** Flexbox `justify-center`, strict 12-column symmetrical grids, equal paddings.
|
|
83
|
+
* **4-7 (Offset):** Use `margin-top: -2rem` overlapping, varied image aspect ratios (e.g., 4:3 next to 16:9), left-aligned headers over center-aligned data.
|
|
84
|
+
* **8-10 (Asymmetric):** Masonry layouts, CSS Grid with fractional units (e.g., `grid-template-columns: 2fr 1fr 1fr`), massive empty zones (`padding-left: 20vw`).
|
|
85
|
+
* **MOBILE OVERRIDE:** For levels 4-10, any asymmetric layout above `md:` MUST aggressively fall back to a strict, single-column layout (`w-full`, `px-4`, `py-8`) on viewports `< 768px` to prevent horizontal scrolling and layout breakage.
|
|
86
|
+
|
|
87
|
+
### MOTION_INTENSITY (Level 1-10)
|
|
88
|
+
* **1-3 (Static):** No automatic animations. CSS `:hover` and `:active` states only.
|
|
89
|
+
* **4-7 (Fluid CSS):** Use `transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1)`. Use `animation-delay` cascades for load-ins. Focus strictly on `transform` and `opacity`. Use `will-change: transform` sparingly.
|
|
90
|
+
* **8-10 (Advanced Choreography):** Complex scroll-triggered reveals or parallax. Use Framer Motion hooks. NEVER use `window.addEventListener('scroll')`.
|
|
91
|
+
|
|
92
|
+
### VISUAL_DENSITY (Level 1-10)
|
|
93
|
+
* **1-3 (Art Gallery Mode):** Lots of white space. Huge section gaps. Everything feels very expensive and clean.
|
|
94
|
+
* **4-7 (Daily App Mode):** Normal spacing for standard web apps.
|
|
95
|
+
* **8-10 (Cockpit Mode):** Tiny paddings. No card boxes; just 1px lines to separate data. Everything is packed. **Mandatory:** Use Monospace (`font-mono`) for all numbers.
|
|
96
|
+
|
|
97
|
+
## 7. AI TELLS (Forbidden Patterns)
|
|
98
|
+
To guarantee a premium, non-generic output, you MUST strictly avoid these common AI design signatures unless explicitly requested:
|
|
99
|
+
|
|
100
|
+
### Visual & CSS
|
|
101
|
+
* **NO Neon/Outer Glows:** Do not use default `box-shadow` glows or auto-glows. Use inner borders or subtle tinted shadows.
|
|
102
|
+
* **NO Pure Black:** Never use `#000000`. Use Off-Black, Zinc-950, or Charcoal.
|
|
103
|
+
* **NO Oversaturated Accents:** Desaturate accents to blend elegantly with neutrals.
|
|
104
|
+
* **NO Excessive Gradient Text:** Do not use text-fill gradients for large headers.
|
|
105
|
+
* **NO Custom Mouse Cursors:** They are outdated and ruin performance/accessibility.
|
|
106
|
+
|
|
107
|
+
### Typography
|
|
108
|
+
* **NO Inter Font:** Banned. Use `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`.
|
|
109
|
+
* **NO Oversized H1s:** The first heading should not scream. Control hierarchy with weight and color, not just massive scale.
|
|
110
|
+
* **Serif Constraints:** Use Serif fonts ONLY for creative/editorial designs. **NEVER** use Serif on clean Dashboards.
|
|
111
|
+
|
|
112
|
+
### Layout & Spacing
|
|
113
|
+
* **Align & Space Perfectly:** Ensure padding and margins are mathematically perfect. Avoid floating elements with awkward gaps.
|
|
114
|
+
* **NO 3-Column Card Layouts:** The generic "3 equal cards horizontally" feature row is BANNED. Use a 2-column Zig-Zag, asymmetric grid, or horizontal scrolling approach instead.
|
|
115
|
+
|
|
116
|
+
### Content & Data (The "Jane Doe" Effect)
|
|
117
|
+
* **NO Generic Names:** "John Doe", "Sarah Chan", or "Jack Su" are banned. Use highly creative, realistic-sounding names.
|
|
118
|
+
* **NO Generic Avatars:** DO NOT use standard SVG "egg" or Lucide user icons for avatars. Use creative, believable photo placeholders or specific styling.
|
|
119
|
+
* **NO Fake Numbers:** Avoid predictable outputs like `99.99%`, `50%`, or basic phone numbers (`1234567`). Use organic, messy data (`47.2%`, `+1 (312) 847-1928`).
|
|
120
|
+
* **NO Startup Slop Names:** "Acme", "Nexus", "SmartFlow". Invent premium, contextual brand names.
|
|
121
|
+
* **NO Filler Words:** Avoid AI copywriting clichés like "Elevate", "Seamless", "Unleash", or "Next-Gen". Use concrete verbs.
|
|
122
|
+
|
|
123
|
+
### External Resources & Components
|
|
124
|
+
* **NO Broken Unsplash Links:** Do not use Unsplash. Use absolute, reliable placeholders like `https://picsum.photos/seed/{random_string}/800/600` or SVG UI Avatars.
|
|
125
|
+
* **shadcn/ui Customization:** You may use `shadcn/ui`, but NEVER in its generic default state. You MUST customize the radii, colors, and shadows to match the high-end project aesthetic.
|
|
126
|
+
* **Production-Ready Cleanliness:** Code must be extremely clean, visually striking, memorable, and meticulously refined in every detail.
|
|
127
|
+
|
|
128
|
+
## 8. THE CREATIVE ARSENAL (High-End Inspiration)
|
|
129
|
+
Do not default to generic UI. Pull from this library of advanced concepts to ensure the output is visually striking and memorable. When appropriate, leverage **GSAP (ScrollTrigger/Parallax)** for complex scrolltelling or **ThreeJS/WebGL** for 3D/Canvas animations, rather than basic CSS motion. **CRITICAL:** Never mix GSAP/ThreeJS with Framer Motion in the same component tree. Default to Framer Motion for UI/Bento interactions. Use GSAP/ThreeJS EXCLUSIVELY for isolated full-page scrolltelling or canvas backgrounds, wrapped in strict useEffect cleanup blocks.
|
|
130
|
+
|
|
131
|
+
### The Standard Hero Paradigm
|
|
132
|
+
* Stop doing centered text over a dark image. Try asymmetric Hero sections: Text cleanly aligned to the left or right. The background should feature a high-quality, relevant image with a subtle stylistic fade (darkening or lightening gracefully into the background color depending on if it is Light or Dark mode).
|
|
133
|
+
|
|
134
|
+
### Navigation & Menüs
|
|
135
|
+
* **Mac OS Dock Magnification:** Nav-bar at the edge; icons scale fluidly on hover.
|
|
136
|
+
* **Magnetic Button:** Buttons that physically pull toward the cursor.
|
|
137
|
+
* **Gooey Menu:** Sub-items detach from the main button like a viscous liquid.
|
|
138
|
+
* **Dynamic Island:** A pill-shaped UI component that morphs to show status/alerts.
|
|
139
|
+
* **Contextual Radial Menu:** A circular menu expanding exactly at the click coordinates.
|
|
140
|
+
* **Floating Speed Dial:** A FAB that springs out into a curved line of secondary actions.
|
|
141
|
+
* **Mega Menu Reveal:** Full-screen dropdowns that stagger-fade complex content.
|
|
142
|
+
|
|
143
|
+
### Layout & Grids
|
|
144
|
+
* **Bento Grid:** Asymmetric, tile-based grouping (e.g., Apple Control Center).
|
|
145
|
+
* **Masonry Layout:** Staggered grid without fixed row heights (e.g., Pinterest).
|
|
146
|
+
* **Chroma Grid:** Grid borders or tiles showing subtle, continuously animating color gradients.
|
|
147
|
+
* **Split Screen Scroll:** Two screen halves sliding in opposite directions on scroll.
|
|
148
|
+
* **Curtain Reveal:** A Hero section parting in the middle like a curtain on scroll.
|
|
149
|
+
|
|
150
|
+
### Cards & Containers
|
|
151
|
+
* **Parallax Tilt Card:** A 3D-tilting card tracking the mouse coordinates.
|
|
152
|
+
* **Spotlight Border Card:** Card borders that illuminate dynamically under the cursor.
|
|
153
|
+
* **Glassmorphism Panel:** True frosted glass with inner refraction borders.
|
|
154
|
+
* **Holographic Foil Card:** Iridescent, rainbow light reflections shifting on hover.
|
|
155
|
+
* **Tinder Swipe Stack:** A physical stack of cards the user can swipe away.
|
|
156
|
+
* **Morphing Modal:** A button that seamlessly expands into its own full-screen dialog container.
|
|
157
|
+
|
|
158
|
+
### Scroll-Animations
|
|
159
|
+
* **Sticky Scroll Stack:** Cards that stick to the top and physically stack over each other.
|
|
160
|
+
* **Horizontal Scroll Hijack:** Vertical scroll translates into a smooth horizontal gallery pan.
|
|
161
|
+
* **Locomotive Scroll Sequence:** Video/3D sequences where framerate is tied directly to the scrollbar.
|
|
162
|
+
* **Zoom Parallax:** A central background image zooming in/out seamlessly as you scroll.
|
|
163
|
+
* **Scroll Progress Path:** SVG vector lines or routes that draw themselves as the user scrolls.
|
|
164
|
+
* **Liquid Swipe Transition:** Page transitions that wipe the screen like a viscous liquid.
|
|
165
|
+
|
|
166
|
+
### Galleries & Media
|
|
167
|
+
* **Dome Gallery:** A 3D gallery feeling like a panoramic dome.
|
|
168
|
+
* **Coverflow Carousel:** 3D carousel with the center focused and edges angled back.
|
|
169
|
+
* **Drag-to-Pan Grid:** A boundless grid you can freely drag in any compass direction.
|
|
170
|
+
* **Accordion Image Slider:** Narrow vertical/horizontal image strips that expand fully on hover.
|
|
171
|
+
* **Hover Image Trail:** The mouse leaves a trail of popping/fading images behind it.
|
|
172
|
+
* **Glitch Effect Image:** Brief RGB-channel shifting digital distortion on hover.
|
|
173
|
+
|
|
174
|
+
### Typography & Text
|
|
175
|
+
* **Kinetic Marquee:** Endless text bands that reverse direction or speed up on scroll.
|
|
176
|
+
* **Text Mask Reveal:** Massive typography acting as a transparent window to a video background.
|
|
177
|
+
* **Text Scramble Effect:** Matrix-style character decoding on load or hover.
|
|
178
|
+
* **Circular Text Path:** Text curved along a spinning circular path.
|
|
179
|
+
* **Gradient Stroke Animation:** Outlined text with a gradient continuously running along the stroke.
|
|
180
|
+
* **Kinetic Typography Grid:** A grid of letters dodging or rotating away from the cursor.
|
|
181
|
+
|
|
182
|
+
### Micro-Interactions & Effects
|
|
183
|
+
* **Particle Explosion Button:** CTAs that shatter into particles upon success.
|
|
184
|
+
* **Liquid Pull-to-Refresh:** Mobile reload indicators acting like detaching water droplets.
|
|
185
|
+
* **Skeleton Shimmer:** Shifting light reflections moving across placeholder boxes.
|
|
186
|
+
* **Directional Hover Aware Button:** Hover fill entering from the exact side the mouse entered.
|
|
187
|
+
* **Ripple Click Effect:** Visual waves rippling precisely from the click coordinates.
|
|
188
|
+
* **Animated SVG Line Drawing:** Vectors that draw their own contours in real-time.
|
|
189
|
+
* **Mesh Gradient Background:** Organic, lava-lamp-like animated color blobs.
|
|
190
|
+
* **Lens Blur Depth:** Dynamic focus blurring background UI layers to highlight a foreground action.
|
|
191
|
+
|
|
192
|
+
## 9. THE "MOTION-ENGINE" BENTO PARADIGM
|
|
193
|
+
When generating modern SaaS dashboards or feature sections, you MUST utilize the following "Bento 2.0" architecture and motion philosophy. This goes beyond static cards and enforces a "Vercel-core meets Dribbble-clean" aesthetic heavily reliant on perpetual physics.
|
|
194
|
+
|
|
195
|
+
### A. Core Design Philosophy
|
|
196
|
+
* **Aesthetic:** High-end, minimal, and functional.
|
|
197
|
+
* **Palette:** Background in `#f9fafb`. Cards are pure white (`#ffffff`) with a 1px border of `border-slate-200/50`.
|
|
198
|
+
* **Surfaces:** Use `rounded-[2.5rem]` for all major containers. Apply a "diffusion shadow" (a very light, wide-spreading shadow, e.g., `shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)]`) to create depth without clutter.
|
|
199
|
+
* **Typography:** Strict `Geist`, `Satoshi`, or `Cabinet Grotesk` font stack. Use subtle tracking (`tracking-tight`) for headers.
|
|
200
|
+
* **Labels:** Titles and descriptions must be placed **outside and below** the cards to maintain a clean, gallery-style presentation.
|
|
201
|
+
* **Pixel-Perfection:** Use generous `p-8` or `p-10` padding inside cards.
|
|
202
|
+
|
|
203
|
+
### B. The Animation Engine Specs (Perpetual Motion)
|
|
204
|
+
All cards must contain **"Perpetual Micro-Interactions."** Use the following Framer Motion principles:
|
|
205
|
+
* **Spring Physics:** No linear easing. Use `type: "spring", stiffness: 100, damping: 20` for a premium, weighty feel.
|
|
206
|
+
* **Layout Transitions:** Heavily utilize the `layout` and `layoutId` props to ensure smooth re-ordering, resizing, and shared element state transitions.
|
|
207
|
+
* **Infinite Loops:** Every card must have an "Active State" that loops infinitely (Pulse, Typewriter, Float, or Carousel) to ensure the dashboard feels "alive".
|
|
208
|
+
* **Performance:** Wrap dynamic lists in `<AnimatePresence>` and optimize for 60fps. **PERFORMANCE CRITICAL:** Any perpetual motion or infinite loop MUST be memoized (React.memo) and completely isolated in its own microscopic Client Component. Never trigger re-renders in the parent layout.
|
|
209
|
+
|
|
210
|
+
### C. The 5-Card Archetypes (Micro-Animation Specs)
|
|
211
|
+
Implement these specific micro-animations when constructing Bento grids (e.g., Row 1: 3 cols | Row 2: 2 cols split 70/30):
|
|
212
|
+
1. **The Intelligent List:** A vertical stack of items with an infinite auto-sorting loop. Items swap positions using `layoutId`, simulating an AI prioritizing tasks in real-time.
|
|
213
|
+
2. **The Command Input:** A search/AI bar with a multi-step Typewriter Effect. It cycles through complex prompts, including a blinking cursor and a "processing" state with a shimmering loading gradient.
|
|
214
|
+
3. **The Live Status:** A scheduling interface with "breathing" status indicators. Include a pop-up notification badge that emerges with an "Overshoot" spring effect, stays for 3 seconds, and vanishes.
|
|
215
|
+
4. **The Wide Data Stream:** A horizontal "Infinite Carousel" of data cards or metrics. Ensure the loop is seamless (using `x: ["0%", "-100%"]`) with a speed that feels effortless.
|
|
216
|
+
5. **The Contextual UI (Focus Mode):** A document view that animates a staggered highlight of a text block, followed by a "Float-in" of a floating action toolbar with micro-icons.
|
|
217
|
+
|
|
218
|
+
## 10. FINAL PRE-FLIGHT CHECK
|
|
219
|
+
Evaluate your code against this matrix before outputting. This is the **last** filter you apply to your logic.
|
|
220
|
+
- [ ] Is global state used appropriately to avoid deep prop-drilling rather than arbitrarily?
|
|
221
|
+
- [ ] Is mobile layout collapse (`w-full`, `px-4`, `max-w-7xl mx-auto`) guaranteed for high-variance designs?
|
|
222
|
+
- [ ] Do full-height sections safely use `min-h-[100dvh]` instead of the bugged `h-screen`?
|
|
223
|
+
- [ ] Do `useEffect` animations contain strict cleanup functions?
|
|
224
|
+
- [ ] Are empty, loading, and error states provided?
|
|
225
|
+
- [ ] Are cards omitted in favor of spacing where possible?
|
|
226
|
+
- [ ] Did you strictly isolate CPU-heavy perpetual animations in their own Client Components?
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: full-output-enforcement
|
|
3
|
+
description: Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Full-Output Enforcement
|
|
7
|
+
|
|
8
|
+
## Baseline
|
|
9
|
+
|
|
10
|
+
Treat every task as production-critical. A partial output is a broken output. Do not optimize for brevity — optimize for completeness. If the user asks for a full file, deliver the full file. If the user asks for 5 components, deliver 5 components. No exceptions.
|
|
11
|
+
|
|
12
|
+
## Banned Output Patterns
|
|
13
|
+
|
|
14
|
+
The following patterns are hard failures. Never produce them:
|
|
15
|
+
|
|
16
|
+
**In code blocks:** `// ...`, `// rest of code`, `// implement here`, `// TODO`, `/* ... */`, `// similar to above`, `// continue pattern`, `// add more as needed`, bare `...` standing in for omitted code
|
|
17
|
+
|
|
18
|
+
**In prose:** "Let me know if you want me to continue", "I can provide more details if needed", "for brevity", "the rest follows the same pattern", "similarly for the remaining", "and so on" (when replacing actual content), "I'll leave that as an exercise"
|
|
19
|
+
|
|
20
|
+
**Structural shortcuts:** Outputting a skeleton when the request was for a full implementation. Showing the first and last section while skipping the middle. Replacing repeated logic with one example and a description. Describing what code should do instead of writing it.
|
|
21
|
+
|
|
22
|
+
## Execution Process
|
|
23
|
+
|
|
24
|
+
1. **Scope** — Read the full request. Count how many distinct deliverables are expected (files, functions, sections, answers). Lock that number.
|
|
25
|
+
2. **Build** — Generate every deliverable completely. No partial drafts, no "you can extend this later."
|
|
26
|
+
3. **Cross-check** — Before output, re-read the original request. Compare your deliverable count against the scope count. If anything is missing, add it before responding.
|
|
27
|
+
|
|
28
|
+
## Handling Long Outputs
|
|
29
|
+
|
|
30
|
+
When a response approaches the token limit:
|
|
31
|
+
|
|
32
|
+
- Do not compress remaining sections to squeeze them in.
|
|
33
|
+
- Do not skip ahead to a conclusion.
|
|
34
|
+
- Write at full quality up to a clean breakpoint (end of a function, end of a file, end of a section).
|
|
35
|
+
- End with:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
[PAUSED — X of Y complete. Send "continue" to resume from: next section name]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
On "continue", pick up exactly where you stopped. No recap, no repetition.
|
|
42
|
+
|
|
43
|
+
## Quick Check
|
|
44
|
+
|
|
45
|
+
Before finalizing any response, verify:
|
|
46
|
+
- No banned patterns from the list above appear anywhere in the output
|
|
47
|
+
- Every item the user requested is present and finished
|
|
48
|
+
- Code blocks contain actual runnable code, not descriptions of what code would do
|
|
49
|
+
- Nothing was shortened to save space
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: high-end-visual-design
|
|
3
|
+
description: 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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Skill: Principal UI/UX Architect & Motion Choreographer (Awwwards-Tier)
|
|
7
|
+
|
|
8
|
+
## 1. Meta Information & Core Directive
|
|
9
|
+
- **Persona:** `Vanguard_UI_Architect`
|
|
10
|
+
- **Objective:** You engineer $150k+ agency-level digital experiences, not just websites. Your output must exude haptic depth, cinematic spatial rhythm, obsessive micro-interactions, and flawless fluid motion.
|
|
11
|
+
- **The Variance Mandate:** NEVER generate the exact same layout or aesthetic twice in a row. You must dynamically combine different premium layout archetypes and texture profiles while strictly adhering to the elite "Apple-esque / Linear-tier" design language.
|
|
12
|
+
|
|
13
|
+
## 2. THE "ABSOLUTE ZERO" DIRECTIVE (STRICT ANTI-PATTERNS)
|
|
14
|
+
If your generated code includes ANY of the following, the design instantly fails:
|
|
15
|
+
- **Banned Fonts:** Inter, Roboto, Arial, Open Sans, Helvetica. (Assume premium fonts like `Geist`, `Clash Display`, `PP Editorial New`, or `Plus Jakarta Sans` are available).
|
|
16
|
+
- **Banned Icons:** Standard thick-stroked Lucide, FontAwesome, or Material Icons. Use only ultra-light, precise lines (e.g., Phosphor Light, Remix Line).
|
|
17
|
+
- **Banned Borders & Shadows:** Generic 1px solid gray borders. Harsh, dark drop shadows (`shadow-md`, `rgba(0,0,0,0.3)`).
|
|
18
|
+
- **Banned Layouts:** Edge-to-edge sticky navbars glued to the top. Symmetrical, boring 3-column Bootstrap-style grids without massive whitespace gaps.
|
|
19
|
+
- **Banned Motion:** Standard `linear` or `ease-in-out` transitions. Instant state changes without interpolation.
|
|
20
|
+
|
|
21
|
+
## 3. THE CREATIVE VARIANCE ENGINE
|
|
22
|
+
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 always premium:
|
|
23
|
+
|
|
24
|
+
### A. Vibe & Texture Archetypes (Pick 1)
|
|
25
|
+
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 heavy `backdrop-blur-2xl` and pure white/10 hairlines. Wide geometric Grotesk typography.
|
|
26
|
+
2. **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.
|
|
27
|
+
3. **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.
|
|
28
|
+
|
|
29
|
+
### B. Layout Archetypes (Pick 1)
|
|
30
|
+
1. **The Asymmetrical Bento:** A masonry-like CSS Grid of varying card sizes (e.g., `col-span-8 row-span-2` next to stacked `col-span-4` cards) to break visual monotony.
|
|
31
|
+
- **Mobile Collapse:** Falls back to a single-column stack (`grid-cols-1`) with generous vertical gaps (`gap-6`). All `col-span` overrides reset to `col-span-1`.
|
|
32
|
+
2. **The Z-Axis Cascade:** Elements are stacked like physical cards, slightly overlapping each other with varying depths of field, some with a subtle `-2deg` or `3deg` rotation to break the digital grid.
|
|
33
|
+
- **Mobile Collapse:** Remove all rotations and negative-margin overlaps below `768px`. Stack vertically with standard spacing. Overlapping elements cause touch-target conflicts on mobile.
|
|
34
|
+
3. **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.
|
|
35
|
+
- **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.
|
|
36
|
+
|
|
37
|
+
**Mobile Override (Universal):** Any asymmetric layout above `md:` MUST aggressively fall back to `w-full`, `px-4`, `py-8` on viewports below `768px`. Never use `h-screen` for full-height sections — always use `min-h-[100dvh]` to prevent iOS Safari viewport jumping.
|
|
38
|
+
|
|
39
|
+
## 4. HAPTIC MICRO-AESTHETICS (COMPONENT MASTERY)
|
|
40
|
+
|
|
41
|
+
### A. The "Double-Bezel" (Doppelrand / Nested Architecture)
|
|
42
|
+
Never place a premium card, image, or container flatly on the background. They must look like physical, machined hardware (like a glass plate sitting in an aluminum tray) using nested enclosures.
|
|
43
|
+
- **Outer Shell:** A wrapper `div` with a subtle background (`bg-black/5` or `bg-white/5`), a hairline outer border (`ring-1 ring-black/5` or `border border-white/10`), a specific padding (e.g., `p-1.5` or `p-2`), and a large outer radius (`rounded-[2rem]`).
|
|
44
|
+
- **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.
|
|
45
|
+
|
|
46
|
+
### B. Nested CTA & "Island" Button Architecture
|
|
47
|
+
- **Structure:** Primary interactive buttons must be fully rounded pills (`rounded-full`) with generous padding (`px-6 py-3`).
|
|
48
|
+
- **The "Button-in-Button" Trailing Icon:** If a button has an arrow (`↗`), it NEVER sits naked next to the text. It must 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.
|
|
49
|
+
|
|
50
|
+
### C. Spatial Rhythm & Tension
|
|
51
|
+
- **Macro-Whitespace:** Double your standard padding. Use `py-24` to `py-40` for sections. Allow the design to breathe heavily.
|
|
52
|
+
- **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`).
|
|
53
|
+
|
|
54
|
+
## 5. MOTION CHOREOGRAPHY (FLUID DYNAMICS)
|
|
55
|
+
Never use default transitions. All motion must 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)]`).
|
|
56
|
+
|
|
57
|
+
### A. The "Fluid Island" Nav & Hamburger Reveal
|
|
58
|
+
- **Closed State:** The Navbar is a floating glass pill detached from the top (`mt-6`, `mx-auto`, `w-max`, `rounded-full`).
|
|
59
|
+
- **The Hamburger Morph:** On click, the 2 or 3 lines of the hamburger icon must fluidly rotate and translate to form a perfect 'X' (`rotate-45` and `-rotate-45` with absolute positioning), not just disappear.
|
|
60
|
+
- **The Modal Expansion:** The menu should open as a massive, screen-filling overlay with a heavy glass effect (`backdrop-blur-3xl bg-black/80` or `bg-white/80`).
|
|
61
|
+
- **Staggered Mask Reveal:** The navigation links inside the expanded state do not just appear. They fade in and slide up from an invisible box (`translate-y-12 opacity-0` to `translate-y-0 opacity-100`) with a staggered delay (`delay-100`, `delay-150`, `delay-200` for each item).
|
|
62
|
+
|
|
63
|
+
### B. Magnetic Button Hover Physics
|
|
64
|
+
- Use the `group` utility. On hover, do not just change the background color.
|
|
65
|
+
- Scale the entire button down slightly (`active:scale-[0.98]`) to simulate physical pressing.
|
|
66
|
+
- The nested inner icon circle should translate diagonally (`group-hover:translate-x-1 group-hover:-translate-y-[1px]`) and scale up slightly (`scale-105`), creating internal kinetic tension.
|
|
67
|
+
|
|
68
|
+
### C. Scroll Interpolation (Entry Animations)
|
|
69
|
+
- Elements never appear statically on load. As they enter the viewport, they must execute a gentle, heavy fade-up (`translate-y-16 blur-md opacity-0` resolving to `translate-y-0 blur-0 opacity-100` over 800ms+).
|
|
70
|
+
- For JavaScript-driven scroll reveals, use `IntersectionObserver` or Framer Motion's `whileInView`. Never use `window.addEventListener('scroll')` — it causes continuous reflows and kills mobile performance.
|
|
71
|
+
|
|
72
|
+
## 6. PERFORMANCE GUARDRAILS
|
|
73
|
+
- **GPU-Safe Animation:** Never animate `top`, `left`, `width`, or `height`. Animate exclusively via `transform` and `opacity`. Use `will-change: transform` sparingly and only on elements that are actively animating.
|
|
74
|
+
- **Blur Constraints:** Apply `backdrop-blur` only to fixed or sticky elements (navbars, overlays). Never apply blur filters to scrolling containers or large content areas — this causes continuous GPU repaints and severe mobile frame drops.
|
|
75
|
+
- **Grain/Noise Overlays:** Apply noise textures exclusively to fixed, `pointer-events-none` pseudo-elements (`position: fixed; inset: 0; z-index: 50`). Never attach them to scrolling containers.
|
|
76
|
+
- **Z-Index Discipline:** Do not use arbitrary `z-50` or `z-[9999]`. Reserve z-indexes strictly for systemic layers: sticky nav, modals, overlays, tooltips.
|
|
77
|
+
|
|
78
|
+
## 7. EXECUTION PROTOCOL
|
|
79
|
+
When generating UI code, follow this exact sequence:
|
|
80
|
+
1. **[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.
|
|
81
|
+
2. **[SCAFFOLD]** Establish the background texture, macro-whitespace scale, and massive typography sizes.
|
|
82
|
+
3. **[ARCHITECT]** Build the DOM strictly using the "Double-Bezel" (Doppelrand) technique for all major cards, inputs, and feature grids. Use exaggerated squircle radii (`rounded-[2rem]`).
|
|
83
|
+
4. **[CHOREOGRAPH]** Inject the custom `cubic-bezier` transitions, the staggered navigation reveals, and the button-in-button hover physics.
|
|
84
|
+
5. **[OUTPUT]** Deliver flawless, pixel-perfect React/Tailwind/HTML code. Do not include basic, generic fallbacks.
|
|
85
|
+
|
|
86
|
+
## 8. PRE-OUTPUT CHECKLIST
|
|
87
|
+
Evaluate your code against this matrix before delivering. This is the last filter.
|
|
88
|
+
- [ ] No banned fonts, icons, borders, shadows, layouts, or motion patterns from Section 2 are present
|
|
89
|
+
- [ ] A Vibe Archetype and Layout Archetype from Section 3 were consciously selected and applied
|
|
90
|
+
- [ ] All major cards and containers use the Double-Bezel nested architecture (outer shell + inner core)
|
|
91
|
+
- [ ] CTA buttons use the Button-in-Button trailing icon pattern where applicable
|
|
92
|
+
- [ ] Section padding is at minimum `py-24` — the layout breathes heavily
|
|
93
|
+
- [ ] All transitions use custom cubic-bezier curves — no `linear` or `ease-in-out`
|
|
94
|
+
- [ ] Scroll entry animations are present — no element appears statically
|
|
95
|
+
- [ ] Layout collapses gracefully below `768px` to single-column with `w-full` and `px-4`
|
|
96
|
+
- [ ] All animations use only `transform` and `opacity` — no layout-triggering properties
|
|
97
|
+
- [ ] `backdrop-blur` is only applied to fixed/sticky elements, never to scrolling content
|
|
98
|
+
- [ ] The overall impression reads as "$150k agency build", not "template with nice fonts"
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: industrial-brutalist-ui
|
|
3
|
+
description: Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SKILL: Industrial Brutalism & Tactical Telemetry UI
|
|
7
|
+
|
|
8
|
+
## 1. Skill Meta
|
|
9
|
+
**Name:** Industrial Brutalism & Tactical Telemetry Interface Engineering
|
|
10
|
+
**Description:** Advanced proficiency in architecting web interfaces that synthesize mid-century Swiss Typographic design, industrial manufacturing manuals, and retro-futuristic aerospace/military terminal interfaces. This discipline requires absolute mastery over rigid modular grids, extreme typographic scale contrast, purely utilitarian color palettes, and the programmatic simulation of analog degradation (halftones, CRT scanlines, bitmap dithering). The objective is to construct digital environments that project raw functionality, mechanical precision, and high data density, deliberately discarding conventional consumer UI patterns.
|
|
11
|
+
|
|
12
|
+
## 2. Visual Archetypes
|
|
13
|
+
The design system operates by merging two distinct but highly compatible visual paradigms. **Pick ONE per project and commit to it. Do not alternate or mix both modes within the same interface.**
|
|
14
|
+
|
|
15
|
+
### 2.1 Swiss Industrial Print
|
|
16
|
+
Derived from 1960s corporate identity systems and heavy machinery blueprints.
|
|
17
|
+
* **Characteristics:** High-contrast light modes (newsprint/off-white substrates). Reliance on monolithic, heavy sans-serif typography. Unforgiving structural grids outlined by visible dividing lines. Aggressive, asymmetric use of negative space punctuated by oversized, viewport-bleeding numerals or letterforms. Heavy use of primary red as an alert/accent color.
|
|
18
|
+
|
|
19
|
+
### 2.2 Tactical Telemetry & CRT Terminal
|
|
20
|
+
Derived from classified military databases, legacy mainframes, and aerospace Heads-Up Displays (HUDs).
|
|
21
|
+
* **Characteristics:** Dark mode exclusivity. High-density tabular data presentation. Absolute dominance of monospaced typography. Integration of technical framing devices (ASCII brackets, crosshairs). Application of simulated hardware limitations (phosphor glow, scanlines, low bit-depth rendering).
|
|
22
|
+
|
|
23
|
+
## 3. Typographic Architecture
|
|
24
|
+
Typography is the primary structural and decorative infrastructure. Imagery is secondary. The system demands extreme variance in scale, weight, and spacing.
|
|
25
|
+
|
|
26
|
+
### 3.1 Macro-Typography (Structural Headers)
|
|
27
|
+
* **Classification:** Neo-Grotesque / Heavy Sans-Serif.
|
|
28
|
+
* **Optimal Web Fonts:** Neue Haas Grotesk (Black), Inter (Extra Bold/Black), Archivo Black, Roboto Flex (Heavy), Monument Extended.
|
|
29
|
+
* **Implementation Parameters:**
|
|
30
|
+
* **Scale:** Deployed at massive scales using fluid typography (e.g., `clamp(4rem, 10vw, 15rem)`).
|
|
31
|
+
* **Tracking (Letter-spacing):** Extremely tight, often negative (`-0.03em` to `-0.06em`), forcing glyphs to form solid architectural blocks.
|
|
32
|
+
* **Leading (Line-height):** Highly compressed (`0.85` to `0.95`).
|
|
33
|
+
* **Casing:** Exclusively uppercase for structural impact.
|
|
34
|
+
|
|
35
|
+
### 3.2 Micro-Typography (Data & Telemetry)
|
|
36
|
+
* **Classification:** Monospace / Technical Sans.
|
|
37
|
+
* **Optimal Web Fonts:** JetBrains Mono, IBM Plex Mono, Space Mono, VT323, Courier Prime.
|
|
38
|
+
* **Implementation Parameters:**
|
|
39
|
+
* **Scale:** Fixed and small (`10px` to `14px` / `0.7rem` to `0.875rem`).
|
|
40
|
+
* **Tracking:** Generous (`0.05em` to `0.1em`) to simulate mechanical typewriter spacing or terminal matrices.
|
|
41
|
+
* **Leading:** Standard to tight (`1.2` to `1.4`).
|
|
42
|
+
* **Casing:** Exclusively uppercase. Used for all metadata, navigation, unit IDs, and coordinates.
|
|
43
|
+
|
|
44
|
+
### 3.3 Textural Contrast (Artistic Disruption)
|
|
45
|
+
* **Classification:** High-Contrast Serif.
|
|
46
|
+
* **Optimal Web Fonts:** Playfair Display, EB Garamond, Times New Roman.
|
|
47
|
+
* **Implementation Parameters:** Used exceedingly sparingly. Must be subjected to heavy post-processing (halftone filters, 1-bit dithering) to degrade vector perfection and create textural juxtaposition against the clean sans-serifs.
|
|
48
|
+
|
|
49
|
+
## 4. Color System
|
|
50
|
+
The color architecture is uncompromising. Gradients, soft drop shadows, and modern translucency are strictly prohibited. Colors simulate physical media or primitive emissive displays.
|
|
51
|
+
|
|
52
|
+
**CRITICAL: Choose ONE substrate palette per project and use it consistently. Never mix light and dark substrates within the same interface.**
|
|
53
|
+
|
|
54
|
+
### If Swiss Industrial Print (Light):
|
|
55
|
+
* **Background:** `#F4F4F0` or `#EAE8E3` (Matte, unbleached documentation paper).
|
|
56
|
+
* **Foreground:** `#050505` to `#111111` (Carbon Ink).
|
|
57
|
+
* **Accent:** `#E61919` or `#FF2A2A` (Aviation/Hazard Red). This is the ONLY accent color. Used for strike-throughs, thick structural dividing lines, or vital data highlights.
|
|
58
|
+
|
|
59
|
+
### If Tactical Telemetry (Dark):
|
|
60
|
+
* **Background:** `#0A0A0A` or `#121212` (Deactivated CRT. Avoid pure `#000000`).
|
|
61
|
+
* **Foreground:** `#EAEAEA` (White phosphor). This is the primary text color.
|
|
62
|
+
* **Accent:** `#E61919` or `#FF2A2A` (Aviation/Hazard Red). Same red, same rules.
|
|
63
|
+
* **Terminal Green (`#4AF626`):** Optional. Use ONLY for a single specific UI element (e.g., one status indicator or one data readout) — never as a general text color. If it doesn't serve a clear purpose, omit it entirely.
|
|
64
|
+
|
|
65
|
+
## 5. Layout and Spatial Engineering
|
|
66
|
+
The layout must appear mathematically engineered. It rejects conventional web padding in favor of visible compartmentalization.
|
|
67
|
+
|
|
68
|
+
* **The Blueprint Grid:** Strict adherence to CSS Grid architectures. Elements do not float; they are anchored precisely to grid tracks and intersections.
|
|
69
|
+
* **Visible Compartmentalization:** Extensive utilization of solid borders (`1px` or `2px solid`) to delineate distinct zones of information. Horizontal rules (`<hr>`) frequently span the entire container width to segregate operational units.
|
|
70
|
+
* **Bimodal Density:** Layouts oscillate between extreme data density (tightly packed monospace metadata clustered together) and vast expanses of calculated negative space framing macro-typography.
|
|
71
|
+
* **Geometry:** Absolute rejection of `border-radius`. All corners must be exactly 90 degrees to enforce mechanical rigidity.
|
|
72
|
+
|
|
73
|
+
## 6. UI Components and Symbology
|
|
74
|
+
Standard web UI conventions are replaced with utilitarian, industrial graphic elements.
|
|
75
|
+
|
|
76
|
+
* **Syntax Decoration:** Utilization of ASCII characters to frame data points.
|
|
77
|
+
* *Framing:* `[ DELIVERY SYSTEMS ]`, `< RE-IND >`
|
|
78
|
+
* *Directional:* `>>>`, `///`, `\\\\`
|
|
79
|
+
* **Industrial Markers:** Prominent integration of registration (`®`), copyright (`©`), and trademark (`™`) symbols functioning as structural geometric elements rather than legal text.
|
|
80
|
+
* **Technical Assets:** Integration of crosshairs (`+`) at grid intersections, repeating vertical lines (barcodes), thick horizontal warning stripes, and randomized string data (e.g., `REV 2.6`, `UNIT / D-01`) to simulate active mechanical processes.
|
|
81
|
+
|
|
82
|
+
## 7. Textural and Post-Processing Effects
|
|
83
|
+
To prevent the design from appearing purely digital, simulated analog degradation is engineered into the frontend via CSS and SVG filters.
|
|
84
|
+
|
|
85
|
+
* **Halftone and 1-Bit Dithering:** Transforming continuous-tone images or large serif typography into dot-matrix patterns. Achieved via pre-processing or CSS `mix-blend-mode: multiply` overlays combined with SVG radial dot patterns.
|
|
86
|
+
* **CRT Scanlines:** For terminal interfaces, applying a `repeating-linear-gradient` to the background to simulate horizontal electron beam sweeps (e.g., `repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px)`).
|
|
87
|
+
* **Mechanical Noise:** A global, low-opacity SVG static/noise filter applied to the DOM root to introduce a unified physical grain across both dark and light modes.
|
|
88
|
+
|
|
89
|
+
## 8. Web Engineering Directives
|
|
90
|
+
1. **Grid Determinism:** Utilize `display: grid; gap: 1px;` with contrasting parent/child background colors to generate mathematically perfect, razor-thin dividing lines without complex border declarations.
|
|
91
|
+
2. **Semantic Rigidity:** Construct the DOM using precise semantic tags (`<data>`, `<samp>`, `<kbd>`, `<output>`, `<dl>`) to accurately reflect the technical nature of the telemetry.
|
|
92
|
+
3. **Typography Clamping:** Implement CSS `clamp()` functions exclusively for macro-typography to ensure massive text scales aggressively while maintaining structural integrity across viewports.
|