cortex-agents 4.1.1 → 4.1.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ui-design
|
|
3
|
-
description: Visual design principles, UI patterns, spacing systems, typography, color, motion, and professional polish for web interfaces
|
|
3
|
+
description: Visual design principles, UI patterns, spacing systems, typography, color, motion, and professional polish for web interfaces. Emphasizes distinctive, non-generic aesthetics that avoid "AI slop" through bold creative choices.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
compatibility: opencode
|
|
6
6
|
---
|
|
@@ -9,6 +9,22 @@ compatibility: opencode
|
|
|
9
9
|
|
|
10
10
|
This skill provides visual design patterns and aesthetic guidelines for building professionally designed web interfaces. It complements the `frontend-development` skill which covers engineering implementation.
|
|
11
11
|
|
|
12
|
+
## Design Thinking
|
|
13
|
+
|
|
14
|
+
Before coding, understand the context and commit to a BOLD aesthetic direction:
|
|
15
|
+
- **Purpose**: What problem does this interface solve? Who uses it?
|
|
16
|
+
- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
|
|
17
|
+
- **Constraints**: Technical requirements (framework, performance, accessibility).
|
|
18
|
+
- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
|
|
19
|
+
|
|
20
|
+
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.
|
|
21
|
+
|
|
22
|
+
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
|
|
23
|
+
- Production-grade and functional
|
|
24
|
+
- Visually striking and memorable
|
|
25
|
+
- Cohesive with a clear aesthetic point-of-view
|
|
26
|
+
- Meticulously refined in every detail
|
|
27
|
+
|
|
12
28
|
## When to Use
|
|
13
29
|
|
|
14
30
|
Use this skill when:
|
|
@@ -274,6 +290,17 @@ Generous whitespace signals professionalism. Cramped layouts signal amateur work
|
|
|
274
290
|
| Marketing / Brand | System font stack | `font-sans` (default Tailwind) |
|
|
275
291
|
| Editorial / Blog | Serif pairing (e.g., Lora + Inter) | Custom `font-serif` in Tailwind config |
|
|
276
292
|
|
|
293
|
+
### Font Selection Philosophy
|
|
294
|
+
|
|
295
|
+
Choose distinctive, unexpected, characterful fonts that elevate the interface beyond generic defaults. The font is often the single most impactful aesthetic decision — treat it as a creative choice, not a checkbox.
|
|
296
|
+
|
|
297
|
+
- **Avoid generic fonts** (Inter, Roboto, Arial, system fonts) unless the project specifically requires them or the design spec mandates them
|
|
298
|
+
- **Pair a distinctive display font with a refined body font** — the contrast between an expressive heading typeface and a clean reading typeface creates visual interest and hierarchy
|
|
299
|
+
- **Seek out characterful options** — explore foundries, Google Fonts beyond page 1, and variable fonts that offer expressive range
|
|
300
|
+
- **Match the font to the tone** — a brutalist interface demands a different typeface than a luxury brand; let the Design Thinking direction guide your choice
|
|
301
|
+
|
|
302
|
+
> The Font Recommendations table above provides safe defaults for common project types. When the design direction calls for something bolder, use those as a starting point and explore beyond them.
|
|
303
|
+
|
|
277
304
|
### Rules
|
|
278
305
|
- **Max 2 font families** — one for headings (optional), one for body
|
|
279
306
|
- **Max 3 weights** — Regular (400), Medium (500), Bold (700)
|
|
@@ -282,6 +309,82 @@ Generous whitespace signals professionalism. Cramped layouts signal amateur work
|
|
|
282
309
|
|
|
283
310
|
> **When to deviate:** Branding may require specific fonts. Always test readability at 16px body size. Never go below 14px for body text.
|
|
284
311
|
|
|
312
|
+
## Aesthetic Philosophy
|
|
313
|
+
|
|
314
|
+
This section provides creative direction for building interfaces that feel genuinely designed — not generated. Use these guidelines alongside the systematic design spec to create UIs with a clear point-of-view.
|
|
315
|
+
|
|
316
|
+
### Typography as Identity
|
|
317
|
+
|
|
318
|
+
Typography is the most powerful tool for establishing visual identity. Choose fonts that are beautiful, unique, and interesting — fonts that someone would notice and remember.
|
|
319
|
+
|
|
320
|
+
- **Distinctive over safe** — opt for characterful choices that elevate the interface's aesthetics; unexpected, memorable font pairings
|
|
321
|
+
- **Pair intentionally** — a distinctive display font with a refined body font creates contrast and hierarchy
|
|
322
|
+
- **Vary across projects** — NEVER converge on the same "safe" choices (e.g., Space Grotesk) across different designs. Each project deserves its own typographic identity
|
|
323
|
+
|
|
324
|
+
### Color & Theme
|
|
325
|
+
|
|
326
|
+
Commit to a cohesive aesthetic rather than a timid, evenly-distributed palette.
|
|
327
|
+
|
|
328
|
+
- **Use CSS variables** for consistency across the entire interface
|
|
329
|
+
- **Dominant colors with sharp accents** outperform safe, evenly-balanced palettes — pick a strong primary and let accents punctuate, not compete
|
|
330
|
+
- **Dark vs. light is a creative choice** — vary between light and dark themes based on the design direction, not habit
|
|
331
|
+
- **Color should reinforce tone** — a luxury interface uses restrained, rich tones; a playful interface uses saturated, energetic ones
|
|
332
|
+
|
|
333
|
+
### Motion & Micro-Interactions
|
|
334
|
+
|
|
335
|
+
Use animations to create delight and communicate state, not to fill space.
|
|
336
|
+
|
|
337
|
+
- **Prioritize CSS-only solutions** for HTML/vanilla projects
|
|
338
|
+
- **Use Motion library** (Framer Motion) for React when available
|
|
339
|
+
- **Focus on high-impact moments** — one well-orchestrated page load with staggered reveals (`animation-delay`) creates more delight than scattered micro-interactions
|
|
340
|
+
- **Scroll-triggered animations** and hover states that surprise add personality
|
|
341
|
+
- **Entrance choreography** — stagger elements on page load to create a sense of intentional reveal rather than everything appearing at once
|
|
342
|
+
|
|
343
|
+
### Spatial Composition
|
|
344
|
+
|
|
345
|
+
Break free from predictable grid layouts when the design direction calls for it.
|
|
346
|
+
|
|
347
|
+
- **Unexpected layouts** — asymmetry, overlap, diagonal flow, grid-breaking elements
|
|
348
|
+
- **Generous negative space OR controlled density** — both are valid, but choose deliberately
|
|
349
|
+
- **Overlap and layering** — elements that break out of their containers create depth and visual interest
|
|
350
|
+
- **Diagonal and non-linear flow** — guide the eye through unexpected paths when appropriate
|
|
351
|
+
- **Scale contrast** — pair very large elements with very small ones for dramatic hierarchy
|
|
352
|
+
|
|
353
|
+
### Backgrounds & Visual Details
|
|
354
|
+
|
|
355
|
+
Create atmosphere and depth rather than defaulting to solid colors.
|
|
356
|
+
|
|
357
|
+
- **Gradient meshes** — multi-point gradients that create organic, flowing color transitions
|
|
358
|
+
- **Noise textures** — subtle grain overlays that add tactile quality to flat surfaces
|
|
359
|
+
- **Geometric patterns** — repeating shapes that create rhythm and visual texture
|
|
360
|
+
- **Layered transparencies** — overlapping semi-transparent elements for depth
|
|
361
|
+
- **Dramatic shadows** — shadows as a design element, not just elevation
|
|
362
|
+
- **Decorative borders** — borders that contribute to the aesthetic, not just separate content
|
|
363
|
+
- **Custom cursors** — cursor changes that reinforce the interface's personality
|
|
364
|
+
- **Grain overlays** — film-grain effects that add warmth and analog character
|
|
365
|
+
|
|
366
|
+
### Anti-AI-Slop Guidelines
|
|
367
|
+
|
|
368
|
+
NEVER produce generic AI-generated aesthetics. Specifically avoid:
|
|
369
|
+
|
|
370
|
+
- **Overused font families** — Inter, Roboto, Arial, system fonts as a default choice (they're fine when the design spec requires them, but never as a lazy default)
|
|
371
|
+
- **Cliché color schemes** — particularly purple gradients on white backgrounds, the "AI startup" palette
|
|
372
|
+
- **Predictable layouts** — cookie-cutter hero + 3-column features + testimonials without any creative interpretation
|
|
373
|
+
- **Component patterns without character** — every card, button, and section looking like a UI kit demo
|
|
374
|
+
- **Sameness across projects** — if two different projects look like they could be the same site, something went wrong
|
|
375
|
+
|
|
376
|
+
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No two designs should look the same.
|
|
377
|
+
|
|
378
|
+
### Execution Complexity
|
|
379
|
+
|
|
380
|
+
Match implementation complexity to the aesthetic vision:
|
|
381
|
+
|
|
382
|
+
- **Maximalist designs** need elaborate code with extensive animations, layered effects, rich textures, and detailed interactions. Don't hold back — commit fully to the vision with the code to back it up.
|
|
383
|
+
- **Minimalist or refined designs** need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from what you leave out and how perfectly you execute what remains.
|
|
384
|
+
- **The key is intentionality** — every CSS property, every animation, every color choice should serve the design direction. Random complexity is worse than simplicity.
|
|
385
|
+
|
|
386
|
+
> Remember: extraordinary creative work is possible. Don't default to safe choices — commit fully to a distinctive vision and execute it with precision.
|
|
387
|
+
|
|
285
388
|
## Color System
|
|
286
389
|
|
|
287
390
|
### Default Palette Structure
|
package/package.json
CHANGED