opencodekit 0.21.0 → 0.21.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.
Files changed (26) hide show
  1. package/dist/index.js +4 -4
  2. package/dist/template/.opencode/AGENTS.md +51 -30
  3. package/dist/template/.opencode/agent/vision.md +0 -1
  4. package/dist/template/.opencode/memory.db +0 -0
  5. package/dist/template/.opencode/memory.db-shm +0 -0
  6. package/dist/template/.opencode/memory.db-wal +0 -0
  7. package/dist/template/.opencode/opencode.json +2 -2
  8. package/dist/template/.opencode/package.json +20 -21
  9. package/dist/template/.opencode/plugin/README.md +0 -7
  10. package/dist/template/.opencode/plugin/copilot-auth.ts +59 -0
  11. package/dist/template/.opencode/plugin/prompt-leverage.ts +136 -138
  12. package/dist/template/.opencode/pnpm-lock.yaml +140 -706
  13. package/dist/template/.opencode/skill/agent-evals/SKILL.md +208 -0
  14. package/dist/template/.opencode/skill/anti-ai-slop/SKILL.md +76 -0
  15. package/dist/template/.opencode/skill/brand-asset-protocol/SKILL.md +222 -0
  16. package/dist/template/.opencode/skill/context-condensation/SKILL.md +149 -0
  17. package/dist/template/.opencode/skill/design-direction-advisor/SKILL.md +139 -0
  18. package/dist/template/.opencode/skill/hi-fi-prototype-html/SKILL.md +253 -0
  19. package/dist/template/.opencode/skill/html-deck-export/SKILL.md +189 -0
  20. package/dist/template/.opencode/skill/test-driven-development/SKILL.md +15 -0
  21. package/package.json +1 -1
  22. package/dist/template/.opencode/plugin/prompt-leverage.ts.bak +0 -228
  23. package/dist/template/.opencode/plugin/stitch.ts +0 -307
  24. package/dist/template/.opencode/skill/stitch/SKILL.md +0 -164
  25. package/dist/template/.opencode/skill/stitch-design-taste/DESIGN.md +0 -121
  26. package/dist/template/.opencode/skill/stitch-design-taste/SKILL.md +0 -197
@@ -1,121 +0,0 @@
1
- # Design System: Taste Standard
2
- **Skill:** stitch-design-taste
3
-
4
- ---
5
-
6
- ## Configuration — Set Your Style
7
- Adjust these dials before using this design system. They control how creative, dense, and animated the output should be. Pick the level that fits your project.
8
-
9
- | Dial | Level | Description |
10
- |------|-------|-------------|
11
- | **Creativity** | `8` | `1` = Ultra-minimal, Swiss, silent, monochrome. `5` = Balanced, clean but with personality. `10` = Expressive, editorial, bold typography experiments, inline images in headlines, strong asymmetry. Default: `8` |
12
- | **Density** | `4` | `1` = Gallery-airy, massive whitespace. `5` = Balanced sections. `10` = Cockpit-dense, data-heavy. Default: `4` |
13
- | **Variance** | `8` | `1` = Predictable, symmetric grids. `5` = Subtle offsets. `10` = Artsy chaotic, no two sections alike. Default: `8` |
14
- | **Motion Intent** | `6` | `1` = Static, no animation noted. `5` = Subtle hover/entrance cues. `10` = Cinematic orchestration noted in every component. Default: `6` |
15
-
16
- > **How to use:** Change the numbers above to match your project's vibe. At **Creativity 1–3**, the system produces clean, quiet, Notion-like interfaces. At **Creativity 7–10**, expect inline image typography, dramatic scale contrast, and strong editorial layouts. The rest of the rules below adapt to your chosen levels.
17
-
18
- ---
19
-
20
- ## 1. Visual Theme & Atmosphere
21
- A restrained, gallery-airy interface with confident asymmetric layouts and fluid spring-physics motion. The atmosphere is clinical yet warm — like a well-lit architecture studio where every element earns its place through function. Density is balanced (Level 4), variance runs high (Level 8) to prevent symmetrical boredom, and motion is fluid but never theatrical (Level 6). The overall impression: expensive, intentional, alive.
22
-
23
- ## 2. Color Palette & Roles
24
- - **Canvas White** (#F9FAFB) — Primary background surface. Warm-neutral, never clinical blue-white
25
- - **Pure Surface** (#FFFFFF) — Card and container fill. Used with whisper shadow for elevation
26
- - **Charcoal Ink** (#18181B) — Primary text. Zinc-950 depth — never pure black
27
- - **Steel Secondary** (#71717A) — Body text, descriptions, metadata. Zinc-500 warmth
28
- - **Muted Slate** (#94A3B8) — Tertiary text, timestamps, disabled states
29
- - **Whisper Border** (rgba(226,232,240,0.5)) — Card borders, structural 1px lines. Semi-transparent for depth
30
- - **Diffused Shadow** (rgba(0,0,0,0.05)) — Card elevation. Wide-spreading, 40px blur, -15px offset. Never harsh
31
-
32
- ### Accent Selection (Pick ONE per project)
33
- - **Emerald Signal** (#10B981) — For growth, success, positive data dashboards
34
- - **Electric Blue** (#3B82F6) — For productivity, SaaS, developer tools
35
- - **Deep Rose** (#E11D48) — For creative, editorial, fashion-adjacent projects
36
- - **Amber Warmth** (#F59E0B) — For community, social, warm-toned products
37
-
38
- ### Banned Colors
39
- - Purple/Violet neon gradients — the "AI Purple" aesthetic
40
- - Pure Black (#000000) — always Off-Black or Zinc-950
41
- - Oversaturated accents above 80% saturation
42
- - Mixed warm/cool gray systems within one project
43
-
44
- ## 3. Typography Rules
45
- - **Display:** `Geist`, `Satoshi`, `Cabinet Grotesk`, or `Outfit` — Track-tight (`-0.025em`), controlled fluid scale, weight-driven hierarchy (700–900). Not screaming. Leading compressed (`1.1`). Alternatives forced — `Inter` is BANNED for premium contexts
46
- - **Body:** Same family at weight 400 — Relaxed leading (`1.65`), 65ch max-width, Steel Secondary color (#71717A)
47
- - **Mono:** `Geist Mono` or `JetBrains Mono` — For code blocks, metadata, timestamps. When density exceeds Level 7, all numbers switch to monospace
48
- - **Scale:** Display at `clamp(2.25rem, 5vw, 3.75rem)`. Body at `1rem/1.125rem`. Mono metadata at `0.8125rem`
49
-
50
- ### Banned Fonts
51
- - `Inter` — banned everywhere in premium/creative contexts
52
- - Generic serif fonts (`Times New Roman`, `Georgia`, `Garamond`, `Palatino`) — BANNED. If serif is needed for editorial/creative, use only distinctive modern serifs like `Fraunces`, `Gambarino`, `Editorial New`, or `Instrument Serif`. Never use default browser serif stacks. Serif is always BANNED in dashboards or software UIs regardless
53
-
54
- ## 4. Component Stylings
55
- * **Buttons:** Flat surface, no outer glow. Primary: accent fill with white text. Secondary: ghost/outline. Active state: `-1px translateY` or `scale(0.98)` for tactile push. Hover: subtle background shift, never glow
56
- * **Cards/Containers:** Generously rounded corners (`2.5rem`). Pure white fill. Whisper border (`1px`, semi-transparent). Diffused shadow (`0 20px 40px -15px rgba(0,0,0,0.05)`). Internal padding `2rem–2.5rem`. Used ONLY when elevation communicates hierarchy — high-density layouts replace cards with `border-top` dividers or negative space
57
- * **Inputs/Forms:** Label positioned above input. Helper text optional. Error text below in Deep Rose. Focus ring in accent color, `2px` offset. No floating labels. Standard `0.5rem` gap between label-input-error stack
58
- * **Navigation:** Sleek, sticky. Icons scale on hover (Dock Magnification optional). No hamburger on desktop. Clean horizontal with generous spacing
59
- * **Loaders:** Skeletal shimmer matching exact layout dimensions and rounded corners. Shifting light reflection across placeholder shapes. Never circular spinners
60
- * **Empty States:** Composed illustration or icon composition with guidance text. Never just "No data found"
61
- * **Error States:** Inline, contextual. Red accent underline or border. Clear recovery action
62
-
63
- ## 5. Hero Section
64
- The Hero is the first impression — it must be striking, creative, and never generic.
65
- - **Inline Image Typography:** Embed small, contextual photos or visuals directly between words or letters in the headline. Example: "We build [photo of hands typing] digital [photo of screen] products" — images sit inline at type-height, rounded, acting as visual punctuation between words. This is the signature creative technique
66
- - **No Overlapping Elements:** Text must never overlap images or other text. Every element has its own clear spatial zone. No z-index stacking of content layers, no absolute-positioned headlines over images. Clean separation always
67
- - **No Filler Text:** "Scroll to explore", "Swipe down", scroll arrow icons, bouncing chevrons, and any instructional UI chrome are BANNED. The user knows how to scroll. Let the content pull them in naturally
68
- - **Asymmetric Structure:** Centered Hero layouts are BANNED at this variance level. Use Split Screen (50/50), Left-Aligned text / Right visual, or Asymmetric Whitespace with large empty zones
69
- - **CTA Restraint:** Maximum one primary CTA button. No secondary "Learn more" links. No redundant micro-copy below the headline
70
-
71
- ## 6. Layout Principles
72
- - **Grid-First:** CSS Grid for all structural layouts. Never flexbox percentage math (`calc(33% - 1rem)` is BANNED)
73
- - **No Overlapping:** Elements must never overlap each other. No absolute-positioned layers stacking content on content. Every element occupies its own grid cell or flow position. Clean, separated spatial zones
74
- - **Feature Sections:** The "3 equal cards in a row" pattern is BANNED. Use 2-column Zig-Zag, asymmetric Bento grids (2fr 1fr 1fr), or horizontal scroll galleries
75
- - **Containment:** All content within `max-width: 1400px`, centered. Generous horizontal padding (`1rem` mobile, `2rem` tablet, `4rem` desktop)
76
- - **Full-Height:** Use `min-height: 100dvh` — never `height: 100vh` (iOS Safari address bar jump)
77
- - **Bento Architecture:** For feature grids, use Row 1: 3 columns | Row 2: 2 columns (70/30 split). Each tile contains a perpetual micro-animation
78
-
79
- ## 7. Responsive Rules
80
- Every screen must work flawlessly across all viewports. **Responsive is not optional — it is a hard requirement. Every single element must be tested at 375px, 768px, and 1440px.**
81
- - **Mobile-First Collapse (< 768px):** All multi-column layouts collapse to a strict single column. `width: 100%`, `padding: 1rem`, `gap: 1.5rem`. No exceptions
82
- - **No Horizontal Scroll:** Horizontal overflow on mobile is a critical failure. All elements must fit within viewport width. If any element causes horizontal scroll, the design is broken
83
- - **Typography Scaling:** Headlines scale down gracefully via `clamp()`. Body text stays `1rem` minimum. Never shrink body below `14px`. Headlines must remain readable on 375px screens
84
- - **Touch Targets:** All interactive elements minimum `44px` tap target. Generous spacing between clickable items. Buttons must be full-width on mobile
85
- - **Image Behavior:** Hero and inline images scale proportionally. Inline typography images (photos between words) stack below the headline on mobile instead of inline
86
- - **Navigation:** Desktop horizontal nav collapses to a clean mobile menu (slide-in or full-screen overlay). No tiny hamburger icons without labels
87
- - **Cards & Grids:** Bento grids and asymmetric layouts revert to stacked single-column cards with full-width. Maintain internal padding (`1rem`)
88
- - **Spacing Consistency:** Vertical section gaps reduce proportionally on mobile (`clamp(3rem, 8vw, 6rem)`). Never cramped, never excessively airy
89
- - **Testing Viewports:** Designs must be verified at: `375px` (iPhone SE), `390px` (iPhone 14), `768px` (iPad), `1024px` (small laptop), `1440px` (desktop)
90
-
91
- ## 8. Motion & Interaction (Code-Phase Intent)
92
- > **Note:** Stitch generates static screens — it does not animate. This section documents the **intended motion behavior** so that the coding agent (Antigravity, Cursor, etc.) knows exactly how to implement animations when building the exported design into a live product.
93
-
94
- - **Physics Engine:** Spring-based exclusively. `stiffness: 100, damping: 20`. No linear easing anywhere. Premium, weighty feel on all interactive elements
95
- - **Perpetual Micro-Loops:** Every active dashboard component has an infinite-loop state — Pulse on status dots, Typewriter on search bars, Float on feature icons, Shimmer on loading states
96
- - **Staggered Orchestration:** Lists and grids mount with cascaded delays (`animation-delay: calc(var(--index) * 100ms)`). Waterfall reveals, never instant mount
97
- - **Layout Transitions:** Smooth re-ordering via shared element IDs. Items swap positions with physics, simulating real-time intelligence
98
- - **Hardware Rules:** Animate ONLY `transform` and `opacity`. Never `top`, `left`, `width`, `height`. Grain/noise filters on fixed, pointer-events-none pseudo-elements only
99
- - **Performance:** CPU-heavy perpetual animations isolated in microscopic leaf components. Never trigger parent re-renders. Target 60fps minimum
100
-
101
- ## 9. Anti-Patterns (Banned)
102
- - No emojis — anywhere in UI, code, or alt text
103
- - No `Inter` font — use `Geist`, `Outfit`, `Cabinet Grotesk`, `Satoshi`
104
- - No generic serif fonts (`Times New Roman`, `Georgia`, `Garamond`) — if serif is needed, use distinctive modern serifs only (`Fraunces`, `Instrument Serif`)
105
- - No pure black (`#000000`) — Off-Black or Zinc-950 only
106
- - No neon outer glows or default box-shadow glows
107
- - No oversaturated accent colors above 80%
108
- - No excessive gradient text on large headers
109
- - No custom mouse cursors
110
- - No overlapping elements — text never overlaps images or other content. Clean spatial separation always
111
- - No 3-column equal card layouts for features
112
- - No centered Hero sections (at this variance level)
113
- - No filler UI text: "Scroll to explore", "Swipe down", "Discover more below", scroll arrows, bouncing chevrons — all BANNED
114
- - No generic names: "John Doe", "Sarah Chan", "Acme", "Nexus", "SmartFlow"
115
- - No fake round numbers: `99.99%`, `50%`, `1234567` — use organic data: `47.2%`, `+1 (312) 847-1928`
116
- - No AI copywriting clichés: "Elevate", "Seamless", "Unleash", "Next-Gen", "Revolutionize"
117
- - No broken Unsplash links — use `picsum.photos/seed/{id}/800/600` or SVG UI Avatars
118
- - No generic `shadcn/ui` defaults — customize radii, colors, shadows to match this system
119
- - No `z-index` spam — use only for Navbar, Modal, Overlay layer contexts
120
- - No `h-screen` — always `min-h-[100dvh]`
121
- - No circular loading spinners — skeletal shimmer only
@@ -1,197 +0,0 @@
1
- ---
2
- name: stitch-design-taste
3
- description: Use when generating DESIGN.md files for Google Stitch projects to enforce premium, anti-generic UI standards. Load BEFORE stitch skill when design quality matters. Stitch-specific only — do not use for general web projects.
4
- ---
5
-
6
- ## When to Use
7
-
8
- - When generating DESIGN.md files for Google Stitch projects
9
- - Before loading the stitch skill when design quality matters
10
- - When enforcing premium, anti-generic UI standards in Stitch workflows
11
-
12
- ## When NOT to Use
13
-
14
- - For general web projects not using Google Stitch
15
- - When the stitch project already has a satisfactory DESIGN.md
16
- - For non-UI Stitch operations (data, API, backend)
17
-
18
-
19
- # Stitch Design Taste — Semantic Design System Skill
20
-
21
- ## Overview
22
- This skill generates `DESIGN.md` files optimized for Google Stitch screen generation. It translates the battle-tested anti-slop frontend engineering directives into Stitch's native semantic design language — descriptive, natural-language rules paired with precise values that Stitch's AI agent can interpret to produce premium, non-generic interfaces.
23
-
24
- The generated `DESIGN.md` serves as the **single source of truth** for prompting Stitch to generate new screens that align with a curated, high-agency design language. Stitch interprets design through **"Visual Descriptions"** supported by specific color values, typography specs, and component behaviors.
25
-
26
- ## Prerequisites
27
- - Access to Google Stitch via [labs.google.com/stitch](https://labs.google.com/stitch)
28
- - Optionally: Stitch MCP Server for programmatic integration with Cursor, Antigravity, or Gemini CLI
29
-
30
- ## The Goal
31
- Generate a `DESIGN.md` file that encodes:
32
- 1. **Visual atmosphere** — the mood, density, and design philosophy
33
- 2. **Color calibration** — neutrals, accents, and banned patterns with hex codes
34
- 3. **Typographic architecture** — font stacks, scale hierarchy, and anti-patterns
35
- 4. **Component behaviors** — buttons, cards, inputs with interaction states
36
- 5. **Layout principles** — grid systems, spacing philosophy, responsive strategy
37
- 6. **Motion philosophy** — animation engine specs, spring physics, perpetual micro-interactions
38
- 7. **Anti-patterns** — explicit list of banned AI design clichés
39
-
40
- ## Analysis & Synthesis Instructions
41
-
42
- ### 1. Define the Atmosphere
43
- Evaluate the target project's intent. Use evocative adjectives from the taste spectrum:
44
- - **Density:** "Art Gallery Airy" (1–3) → "Daily App Balanced" (4–7) → "Cockpit Dense" (8–10)
45
- - **Variance:** "Predictable Symmetric" (1–3) → "Offset Asymmetric" (4–7) → "Artsy Chaotic" (8–10)
46
- - **Motion:** "Static Restrained" (1–3) → "Fluid CSS" (4–7) → "Cinematic Choreography" (8–10)
47
-
48
- Default baseline: Variance 8, Motion 6, Density 4. Adapt dynamically based on user's vibe description.
49
-
50
- ### 2. Map the Color Palette
51
- For each color provide: **Descriptive Name** + **Hex Code** + **Functional Role**.
52
-
53
- **Mandatory constraints:**
54
- - Maximum 1 accent color. Saturation below 80%
55
- - The "AI Purple/Blue Neon" aesthetic is strictly BANNED — no purple button glows, no neon gradients
56
- - Use absolute neutral bases (Zinc/Slate) with high-contrast singular accents
57
- - Stick to one palette for the entire output — no warm/cool gray fluctuation
58
- - Never use pure black (`#000000`) — use Off-Black, Zinc-950, or Charcoal
59
-
60
- ### 3. Establish Typography Rules
61
- - **Display/Headlines:** Track-tight, controlled scale. Not screaming. Hierarchy through weight and color, not just massive size
62
- - **Body:** Relaxed leading, max 65 characters per line
63
- - **Font Selection:** `Inter` is BANNED for premium/creative contexts. Force unique character: `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`
64
- - **Serif Ban:** Generic serif fonts (`Times New Roman`, `Georgia`, `Garamond`, `Palatino`) are BANNED. If serif is needed for editorial/creative contexts, use only distinctive modern serifs: `Fraunces`, `Gambarino`, `Editorial New`, or `Instrument Serif`. Serif is always BANNED in dashboards or software UIs
65
- - **Dashboard Constraint:** Use Sans-Serif pairings exclusively (`Geist` + `Geist Mono` or `Satoshi` + `JetBrains Mono`)
66
- - **High-Density Override:** When density exceeds 7, all numbers must use Monospace
67
-
68
- ### 4. Define the Hero Section
69
- The Hero is the first impression and must be creative, striking, and never generic:
70
- - **Inline Image Typography:** Embed small, contextual photos or visuals directly between words or letters in the headline. Images sit inline at type-height, rounded, acting as visual punctuation. This is the signature creative technique
71
- - **No Overlapping:** Text must never overlap images or other text. Every element occupies its own clean spatial zone
72
- - **No Filler Text:** "Scroll to explore", "Swipe down", scroll arrow icons, bouncing chevrons are BANNED. The content should pull users in naturally
73
- - **Asymmetric Structure:** Centered Hero layouts BANNED when variance exceeds 4
74
- - **CTA Restraint:** Maximum one primary CTA. No secondary "Learn more" links
75
-
76
- ### 5. Describe Component Stylings
77
- For each component type, describe shape, color, shadow depth, and interaction behavior:
78
- - **Buttons:** Tactile push feedback on active state. No neon outer glows. No custom mouse cursors
79
- - **Cards:** Use ONLY when elevation communicates hierarchy. Tint shadows to background hue. For high-density layouts, replace cards with border-top dividers or negative space
80
- - **Inputs/Forms:** Label above input, helper text optional, error text below. Standard gap spacing
81
- - **Loading States:** Skeletal loaders matching layout dimensions — no generic circular spinners
82
- - **Empty States:** Composed compositions indicating how to populate data
83
- - **Error States:** Clear, inline error reporting
84
-
85
- ### 6. Define Layout Principles
86
- - No overlapping elements — every element occupies its own clear spatial zone. No absolute-positioned content stacking
87
- - Centered Hero sections are BANNED when variance exceeds 4 — force Split Screen, Left-Aligned, or Asymmetric Whitespace
88
- - The generic "3 equal cards horizontally" feature row is BANNED — use 2-column Zig-Zag, asymmetric grid, or horizontal scroll
89
- - CSS Grid over Flexbox math — never use `calc()` percentage hacks
90
- - Contain layouts using max-width constraints (e.g., 1400px centered)
91
- - Full-height sections must use `min-h-[100dvh]` — never `h-screen` (iOS Safari catastrophic jump)
92
-
93
- ### 7. Define Responsive Rules
94
- Every design must work across all viewports:
95
- - **Mobile-First Collapse (< 768px):** All multi-column layouts collapse to single column. No exceptions
96
- - **No Horizontal Scroll:** Horizontal overflow on mobile is a critical failure
97
- - **Typography Scaling:** Headlines scale via `clamp()`. Body text minimum `1rem`/`14px`
98
- - **Touch Targets:** All interactive elements minimum `44px` tap target
99
- - **Image Behavior:** Inline typography images (photos between words) stack below headline on mobile
100
- - **Navigation:** Desktop horizontal nav collapses to clean mobile menu
101
- - **Spacing:** Vertical section gaps reduce proportionally (`clamp(3rem, 8vw, 6rem)`)
102
-
103
- ### 8. Encode Motion Philosophy
104
- - **Spring Physics default:** `stiffness: 100, damping: 20` — premium, weighty feel. No linear easing
105
- - **Perpetual Micro-Interactions:** Every active component should have an infinite loop state (Pulse, Typewriter, Float, Shimmer)
106
- - **Staggered Orchestration:** Never mount lists instantly — use cascade delays for waterfall reveals
107
- - **Performance:** Animate exclusively via `transform` and `opacity`. Never animate `top`, `left`, `width`, `height`. Grain/noise filters on fixed pseudo-elements only
108
-
109
- ### 9. List Anti-Patterns (AI Tells)
110
- Encode these as explicit "NEVER DO" rules in the DESIGN.md:
111
- - No emojis anywhere
112
- - No `Inter` font
113
- - No generic serif fonts (`Times New Roman`, `Georgia`, `Garamond`) — distinctive modern serifs only if needed
114
- - No pure black (`#000000`)
115
- - No neon/outer glow shadows
116
- - No oversaturated accents
117
- - No excessive gradient text on large headers
118
- - No custom mouse cursors
119
- - No overlapping elements — clean spatial separation always
120
- - No 3-column equal card layouts
121
- - No generic names ("John Doe", "Acme", "Nexus")
122
- - No fake round numbers (`99.99%`, `50%`)
123
- - No AI copywriting clichés ("Elevate", "Seamless", "Unleash", "Next-Gen")
124
- - No filler UI text: "Scroll to explore", "Swipe down", scroll arrows, bouncing chevrons
125
- - No broken Unsplash links — use `picsum.photos` or SVG avatars
126
- - No centered Hero sections (for high-variance projects)
127
-
128
- ## Output Format (DESIGN.md Structure)
129
-
130
- ```markdown
131
- # Design System: [Project Title]
132
-
133
- ## 1. Visual Theme & Atmosphere
134
- (Evocative description of the mood, density, variance, and motion intensity.
135
- Example: "A restrained, gallery-airy interface with confident asymmetric layouts
136
- and fluid spring-physics motion. The atmosphere is clinical yet warm — like a
137
- well-lit architecture studio.")
138
-
139
- ## 2. Color Palette & Roles
140
- - **Canvas White** (#F9FAFB) — Primary background surface
141
- - **Pure Surface** (#FFFFFF) — Card and container fill
142
- - **Charcoal Ink** (#18181B) — Primary text, Zinc-950 depth
143
- - **Muted Steel** (#71717A) — Secondary text, descriptions, metadata
144
- - **Whisper Border** (rgba(226,232,240,0.5)) — Card borders, 1px structural lines
145
- - **[Accent Name]** (#XXXXXX) — Single accent for CTAs, active states, focus rings
146
- (Max 1 accent. Saturation < 80%. No purple/neon.)
147
-
148
- ## 3. Typography Rules
149
- - **Display:** [Font Name] — Track-tight, controlled scale, weight-driven hierarchy
150
- - **Body:** [Font Name] — Relaxed leading, 65ch max-width, neutral secondary color
151
- - **Mono:** [Font Name] — For code, metadata, timestamps, high-density numbers
152
- - **Banned:** Inter, generic system fonts for premium contexts. Serif fonts banned in dashboards.
153
-
154
- ## 4. Component Stylings
155
- * **Buttons:** Flat, no outer glow. Tactile -1px translate on active. Accent fill for primary, ghost/outline for secondary.
156
- * **Cards:** Generously rounded corners (2.5rem). Diffused whisper shadow. Used only when elevation serves hierarchy. High-density: replace with border-top dividers.
157
- * **Inputs:** Label above, error below. Focus ring in accent color. No floating labels.
158
- * **Loaders:** Skeletal shimmer matching exact layout dimensions. No circular spinners.
159
- * **Empty States:** Composed, illustrated compositions — not just "No data" text.
160
-
161
- ## 5. Layout Principles
162
- (Grid-first responsive architecture. Asymmetric splits for Hero sections.
163
- Strict single-column collapse below 768px. Max-width containment.
164
- No flexbox percentage math. Generous internal padding.)
165
-
166
- ## 6. Motion & Interaction
167
- (Spring physics for all interactive elements. Staggered cascade reveals.
168
- Perpetual micro-loops on active dashboard components. Hardware-accelerated
169
- transforms only. Isolated Client Components for CPU-heavy animations.)
170
-
171
- ## 7. Anti-Patterns (Banned)
172
- (Explicit list of forbidden patterns: no emojis, no Inter, no pure black,
173
- no neon glows, no 3-column equal grids, no AI copywriting clichés,
174
- no generic placeholder names, no broken image links.)
175
- ```
176
-
177
- ## Best Practices
178
- - **Be Descriptive:** "Deep Charcoal Ink (#18181B)" — not just "dark text"
179
- - **Be Functional:** Explain what each element is used for
180
- - **Be Consistent:** Same terminology throughout the document
181
- - **Be Precise:** Include exact hex codes, rem values, pixel values in parentheses
182
- - **Be Opinionated:** This is not a neutral template — it enforces a specific, premium aesthetic
183
-
184
- ## Tips for Success
185
- 1. Start with the atmosphere — understand the vibe before detailing tokens
186
- 2. Look for patterns — identify consistent spacing, sizing, and styling
187
- 3. Think semantically — name colors by purpose, not just appearance
188
- 4. Consider hierarchy — document how visual weight communicates importance
189
- 5. Encode the bans — anti-patterns are as important as the rules themselves
190
-
191
- ## Common Pitfalls to Avoid
192
- - Using technical jargon without translation ("rounded-xl" instead of "generously rounded corners")
193
- - Omitting hex codes or using only descriptive names
194
- - Forgetting functional roles of design elements
195
- - Being too vague in atmosphere descriptions
196
- - Ignoring the anti-pattern list — these are what make the output premium
197
- - Defaulting to generic "safe" designs instead of enforcing the curated aesthetic