antigravity-ai-kit 2.1.0 β†’ 3.0.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.
Files changed (114) hide show
  1. package/.agent/README.md +4 -4
  2. package/.agent/agents/README.md +16 -12
  3. package/.agent/agents/architect.md +1 -0
  4. package/.agent/agents/backend-specialist.md +11 -0
  5. package/.agent/agents/code-reviewer.md +1 -0
  6. package/.agent/agents/database-architect.md +11 -0
  7. package/.agent/agents/devops-engineer.md +11 -0
  8. package/.agent/agents/e2e-runner.md +1 -0
  9. package/.agent/agents/explorer-agent.md +11 -0
  10. package/.agent/agents/frontend-specialist.md +11 -0
  11. package/.agent/agents/mobile-developer.md +11 -0
  12. package/.agent/agents/performance-optimizer.md +11 -0
  13. package/.agent/agents/planner.md +1 -0
  14. package/.agent/agents/refactor-cleaner.md +1 -0
  15. package/.agent/agents/reliability-engineer.md +11 -0
  16. package/.agent/agents/security-reviewer.md +1 -0
  17. package/.agent/agents/sprint-orchestrator.md +10 -0
  18. package/.agent/agents/tdd-guide.md +1 -0
  19. package/.agent/commands/code-review.md +1 -0
  20. package/.agent/commands/debug.md +1 -0
  21. package/.agent/commands/deploy.md +1 -0
  22. package/.agent/commands/help.md +252 -31
  23. package/.agent/commands/plan.md +1 -0
  24. package/.agent/commands/status.md +1 -0
  25. package/.agent/commands/tdd.md +1 -0
  26. package/.agent/contexts/brainstorm.md +26 -0
  27. package/.agent/contexts/debug.md +28 -0
  28. package/.agent/contexts/implement.md +29 -0
  29. package/.agent/contexts/review.md +27 -0
  30. package/.agent/contexts/ship.md +28 -0
  31. package/.agent/engine/identity.json +13 -0
  32. package/.agent/engine/loading-rules.json +23 -1
  33. package/.agent/engine/marketplace-index.json +29 -0
  34. package/.agent/engine/reliability-config.json +14 -0
  35. package/.agent/engine/sdlc-map.json +44 -0
  36. package/.agent/engine/workflow-state.json +28 -2
  37. package/.agent/hooks/hooks.json +27 -25
  38. package/.agent/manifest.json +12 -4
  39. package/.agent/rules.md +2 -1
  40. package/.agent/skills/README.md +10 -5
  41. package/.agent/skills/i18n-localization/SKILL.md +191 -0
  42. package/.agent/skills/mcp-integration/SKILL.md +224 -0
  43. package/.agent/skills/parallel-agents/SKILL.md +1 -1
  44. package/.agent/skills/shell-conventions/SKILL.md +92 -0
  45. package/.agent/skills/ui-ux-pro-max/SKILL.md +557 -0
  46. package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
  47. package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
  48. package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
  49. package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
  50. package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
  51. package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  52. package/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  53. package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  54. package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  55. package/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  56. package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  57. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  58. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  59. package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  60. package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  61. package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  62. package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  63. package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  64. package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  65. package/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
  66. package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
  67. package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  68. package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  69. package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  70. package/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
  71. package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
  72. package/.agent/skills/ui-ux-pro-max/scripts/search.py +114 -0
  73. package/.agent/templates/adr-template.md +32 -0
  74. package/.agent/templates/bug-report.md +37 -0
  75. package/.agent/templates/feature-request.md +32 -0
  76. package/.agent/workflows/README.md +92 -78
  77. package/.agent/workflows/brainstorm.md +154 -100
  78. package/.agent/workflows/create.md +142 -75
  79. package/.agent/workflows/debug.md +157 -98
  80. package/.agent/workflows/deploy.md +195 -144
  81. package/.agent/workflows/enhance.md +157 -65
  82. package/.agent/workflows/orchestrate.md +171 -114
  83. package/.agent/workflows/plan.md +147 -72
  84. package/.agent/workflows/preview.md +140 -83
  85. package/.agent/workflows/quality-gate.md +196 -0
  86. package/.agent/workflows/retrospective.md +197 -0
  87. package/.agent/workflows/review.md +188 -0
  88. package/.agent/workflows/status.md +142 -91
  89. package/.agent/workflows/test.md +168 -95
  90. package/.agent/workflows/ui-ux-pro-max.md +181 -127
  91. package/README.md +215 -78
  92. package/bin/ag-kit.js +344 -10
  93. package/lib/agent-registry.js +214 -0
  94. package/lib/agent-reputation.js +351 -0
  95. package/lib/cli-commands.js +235 -0
  96. package/lib/conflict-detector.js +245 -0
  97. package/lib/engineering-manager.js +354 -0
  98. package/lib/error-budget.js +294 -0
  99. package/lib/hook-system.js +252 -0
  100. package/lib/identity.js +245 -0
  101. package/lib/loading-engine.js +208 -0
  102. package/lib/marketplace.js +298 -0
  103. package/lib/plugin-system.js +604 -0
  104. package/lib/security-scanner.js +309 -0
  105. package/lib/self-healing.js +434 -0
  106. package/lib/session-manager.js +261 -0
  107. package/lib/skill-sandbox.js +244 -0
  108. package/lib/task-governance.js +523 -0
  109. package/lib/task-model.js +317 -0
  110. package/lib/updater.js +201 -0
  111. package/lib/verify.js +240 -0
  112. package/lib/workflow-engine.js +353 -0
  113. package/lib/workflow-persistence.js +160 -0
  114. package/package.json +7 -3
@@ -0,0 +1,557 @@
1
+ ---
2
+ name: ui-ux-pro-max
3
+ description: UI/UX design intelligence with anti-AI-slop philosophy. 50+ styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks.
4
+ ---
5
+
6
+ # ui-ux-pro-max
7
+
8
+ Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.
9
+
10
+ > **Design Philosophy**: Inspired by [Anthropic's frontend-design skill](https://skills.sh/anthropics/skills/frontend-design). Every interface must have a **bold, intentional aesthetic direction** β€” never generic, never default. Production-grade code with extraordinary creative vision.
11
+
12
+ ## Prerequisites
13
+
14
+ Check if Python is installed:
15
+
16
+ ```bash
17
+ python3 --version || python --version
18
+ ```
19
+
20
+ If Python is not installed, install it based on user's OS:
21
+
22
+ **macOS:**
23
+
24
+ ```bash
25
+ brew install python3
26
+ ```
27
+
28
+ **Ubuntu/Debian:**
29
+
30
+ ```bash
31
+ sudo apt update && sudo apt install python3
32
+ ```
33
+
34
+ **Windows:**
35
+
36
+ ```powershell
37
+ winget install Python.Python.3.12
38
+ ```
39
+
40
+ ---
41
+
42
+ ## When to Apply
43
+
44
+ Reference these guidelines when:
45
+
46
+ - Designing new UI components or pages
47
+ - Choosing color palettes and typography
48
+ - Reviewing code for UX issues
49
+ - Building landing pages or dashboards
50
+ - Implementing accessibility requirements
51
+
52
+ ## Quick Reference β€” Rule Categories by Priority
53
+
54
+ ### 1. Accessibility (CRITICAL)
55
+
56
+ - `color-contrast` β€” Minimum 4.5:1 ratio for normal text
57
+ - `focus-states` β€” Visible focus rings on interactive elements
58
+ - `alt-text` β€” Descriptive alt text for meaningful images
59
+ - `aria-labels` β€” `aria-label` for icon-only buttons
60
+ - `keyboard-nav` β€” Tab order matches visual order
61
+ - `form-labels` β€” Use `<label>` with `for` attribute
62
+
63
+ ### 2. Touch & Interaction (CRITICAL)
64
+
65
+ - `touch-target-size` β€” Minimum 44Γ—44px touch targets
66
+ - `hover-vs-tap` β€” Use click/tap for primary interactions
67
+ - `loading-buttons` β€” Disable button during async operations
68
+ - `error-feedback` β€” Clear error messages near the problem
69
+ - `cursor-pointer` β€” Add `cursor-pointer` to clickable elements
70
+
71
+ ### 3. Performance (HIGH)
72
+
73
+ - `image-optimization` β€” Use WebP, `srcset`, lazy loading
74
+ - `reduced-motion` β€” Check `prefers-reduced-motion`
75
+ - `content-jumping` β€” Reserve space for async content
76
+
77
+ ### 4. Layout & Responsive (HIGH)
78
+
79
+ - `viewport-meta` β€” `width=device-width, initial-scale=1`
80
+ - `readable-font-size` β€” Minimum 16px body text on mobile
81
+ - `horizontal-scroll` β€” Ensure content fits viewport width
82
+ - `z-index-management` β€” Define z-index scale (10, 20, 30, 50)
83
+
84
+ ### 5. Typography & Color (MEDIUM)
85
+
86
+ - `line-height` β€” Use 1.5–1.75 for body text
87
+ - `line-length` β€” Limit to 65–75 characters per line
88
+ - `font-pairing` β€” Match heading/body font personalities
89
+
90
+ ### 6. Animation (MEDIUM)
91
+
92
+ - `duration-timing` β€” Use 150–300ms for micro-interactions
93
+ - `transform-performance` β€” Use `transform`/`opacity`, not `width`/`height`
94
+ - `loading-states` β€” Skeleton screens or spinners
95
+
96
+ ### 7. Style Selection (MEDIUM)
97
+
98
+ - `style-match` β€” Match style to product type
99
+ - `consistency` β€” Use same style across all pages
100
+ - `no-emoji-icons` β€” Use SVG icons, not emojis
101
+
102
+ ### 8. Charts & Data (LOW)
103
+
104
+ - `chart-type` β€” Match chart type to data type
105
+ - `color-guidance` β€” Use accessible color palettes
106
+ - `data-table` β€” Provide table alternative for accessibility
107
+
108
+ ---
109
+
110
+ ## How to Use This Skill
111
+
112
+ When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
113
+
114
+ ### Step 0: Design Thinking β€” Commit to a Bold Aesthetic Direction (REQUIRED)
115
+
116
+ Before writing ANY code, answer these questions and commit to a clear creative direction:
117
+
118
+ 1. **Purpose**: What problem does this interface solve? Who uses it?
119
+ 2. **Aesthetic Tone**: Pick a BOLD direction β€” don't be timid. Choose from:
120
+ - Brutally minimal Β· Maximalist chaos Β· Retro-futuristic Β· Organic/natural
121
+ - Luxury/refined Β· Playful/toy-like Β· Editorial/magazine Β· Brutalist/raw
122
+ - Art deco/geometric Β· Soft/pastel Β· Industrial/utilitarian Β· Neo-gothic
123
+ - Or invent your own β€” the key is **intentionality, not intensity**
124
+ 3. **The Memorable Thing**: What's the ONE element someone will remember? A dramatic animation? An unusual color? A surprising layout? Name it explicitly.
125
+ 4. **Constraints**: Technical requirements (framework, performance, a11y)
126
+
127
+ > **CRITICAL**: Bold maximalism and refined minimalism both work. What NEVER works is the safe middle β€” generic, forgettable, "looks like every other AI-generated site." Execute your chosen direction with precision and conviction.
128
+
129
+ ### Step 1: Analyze User Requirements
130
+
131
+ Extract key information from user request:
132
+
133
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
134
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
135
+ - **Industry**: healthcare, fintech, gaming, education, etc.
136
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
137
+
138
+ ### Step 2: Generate Design System (REQUIRED)
139
+
140
+ **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
141
+
142
+ ```bash
143
+ python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
144
+ ```
145
+
146
+ This command:
147
+
148
+ 1. Searches 5 domains in parallel (product, style, color, landing, typography)
149
+ 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
150
+ 3. Returns complete design system: pattern, style, colors, typography, effects
151
+ 4. Includes anti-patterns to avoid
152
+
153
+ **Example:**
154
+
155
+ ```bash
156
+ python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
157
+ ```
158
+
159
+ ### Step 2b: Persist Design System (Master + Overrides Pattern)
160
+
161
+ To save the design system for hierarchical retrieval across sessions, add `--persist`:
162
+
163
+ ```bash
164
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
165
+ ```
166
+
167
+ This creates:
168
+
169
+ - `design-system/MASTER.md` β€” Global Source of Truth with all design rules
170
+ - `design-system/pages/` β€” Folder for page-specific overrides
171
+
172
+ **With page-specific override:**
173
+
174
+ ```bash
175
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
176
+ ```
177
+
178
+ This also creates:
179
+
180
+ - `design-system/pages/dashboard.md` β€” Page-specific deviations from Master
181
+
182
+ **How hierarchical retrieval works:**
183
+
184
+ 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
185
+ 2. If the page file exists, its rules **override** the Master file
186
+ 3. If not, use `design-system/MASTER.md` exclusively
187
+
188
+ ### Step 3: Supplement with Detailed Searches (as needed)
189
+
190
+ After getting the design system, use domain searches to get additional details:
191
+
192
+ ```bash
193
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
194
+ ```
195
+
196
+ **When to use detailed searches:**
197
+
198
+ | Need | Domain | Example |
199
+ | --------------------- | ------------ | --------------------------------------- |
200
+ | More style options | `style` | `--domain style "glassmorphism dark"` |
201
+ | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
202
+ | UX best practices | `ux` | `--domain ux "animation accessibility"` |
203
+ | Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
204
+ | Landing structure | `landing` | `--domain landing "hero social-proof"` |
205
+
206
+ ### Step 4: Stack Guidelines (Default: html-tailwind)
207
+
208
+ Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
209
+
210
+ ```bash
211
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
212
+ ```
213
+
214
+ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
215
+
216
+ ---
217
+
218
+ ## Search Reference
219
+
220
+ ### Available Domains
221
+
222
+ | Domain | Use For | Example Keywords |
223
+ | ------------ | ------------------------------------ | -------------------------------------------------------- |
224
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
225
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
226
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
227
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
228
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
229
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
230
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
231
+ | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
232
+ | `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
233
+ | `prompt` | AI prompts, CSS keywords | (style name) |
234
+
235
+ ### Available Stacks
236
+
237
+ | Stack | Focus |
238
+ | ----------------- | ----------------------------------------------------- |
239
+ | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
240
+ | `react` | State, hooks, performance, patterns |
241
+ | `nextjs` | SSR, routing, images, API routes |
242
+ | `vue` | Composition API, Pinia, Vue Router |
243
+ | `svelte` | Runes, stores, SvelteKit |
244
+ | `swiftui` | Views, State, Navigation, Animation |
245
+ | `react-native` | Components, Navigation, Lists |
246
+ | `flutter` | Widgets, State, Layout, Theming |
247
+ | `shadcn` | shadcn/ui components, theming, forms, patterns |
248
+ | `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
249
+
250
+ ---
251
+
252
+ ## Example Workflow
253
+
254
+ **User request:** "LΓ m landing page cho dα»‹ch vα»₯ chΔƒm sΓ³c da chuyΓͺn nghiệp"
255
+
256
+ ### Step 1: Analyze Requirements
257
+
258
+ - Product type: Beauty/Spa service
259
+ - Style keywords: elegant, professional, soft
260
+ - Industry: Beauty/Wellness
261
+ - Stack: html-tailwind (default)
262
+
263
+ ### Step 2: Generate Design System (REQUIRED)
264
+
265
+ ```bash
266
+ python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
267
+ ```
268
+
269
+ **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
270
+
271
+ ### Step 3: Supplement with Detailed Searches (as needed)
272
+
273
+ ```bash
274
+ # Get UX guidelines for animation and accessibility
275
+ python3 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
276
+
277
+ # Get alternative typography options if needed
278
+ python3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
279
+ ```
280
+
281
+ ### Step 4: Stack Guidelines
282
+
283
+ ```bash
284
+ python3 skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
285
+ ```
286
+
287
+ **Then:** Synthesize design system + detailed searches and implement the design.
288
+
289
+ ---
290
+
291
+ ## Output Formats
292
+
293
+ The `--design-system` flag supports two output formats:
294
+
295
+ ```bash
296
+ # ASCII box (default) - best for terminal display
297
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
298
+
299
+ # Markdown - best for documentation
300
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Tips for Better Results
306
+
307
+ 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
308
+ 2. **Search multiple times** - Different keywords reveal different insights
309
+ 3. **Combine domains** - Style + Typography + Color = Complete design system
310
+ 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
311
+ 5. **Use stack flag** - Get implementation-specific best practices
312
+ 6. **Iterate** - If first search doesn't match, try different keywords
313
+ 7. **Never converge** - Each design should feel unique; vary themes, fonts, layouts across projects
314
+
315
+ ---
316
+
317
+ ## Landing Page Strategy
318
+
319
+ > Inspired by [skill-zero/landing-page-design](https://skills.sh/skill-zero/s/landing-page-design). Conversion-focused design decisions for landing pages.
320
+
321
+ ### Above-the-Fold Formula
322
+
323
+ Everything visible before scrolling must communicate value in **5 seconds**:
324
+
325
+ ```
326
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
327
+ β”‚ [Logo] [Nav] [CTA Button] β”‚
328
+ β”‚ β”‚
329
+ β”‚ Headline (6-12 words) β”‚
330
+ β”‚ ───────────────────────── β”‚
331
+ β”‚ Subheadline (15-25 words) [Hero Image] β”‚
332
+ β”‚ showing the β”‚
333
+ β”‚ [Primary CTA Button] OUTCOME, not β”‚
334
+ β”‚ "Start Free Trial" the product β”‚
335
+ β”‚ β”‚
336
+ β”‚ Social proof: "Trusted by 10,000+ teams" β”‚
337
+ β”‚ [logo] [logo] [logo] [logo] [logo] β”‚
338
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
339
+ ```
340
+
341
+ ### Headlines
342
+
343
+ **Constraint**: 6–12 words. Say what it **DOES**, not what it **IS**.
344
+
345
+ | ❌ Bad | Why |
346
+ | ----------------------------------------------- | ------------------------ |
347
+ | "Welcome to Our Platform" | Says nothing about value |
348
+ | "The World's Most Advanced AI-Powered Solution" | Buzzwords, no specifics |
349
+ | "We Help Businesses Grow" | Vague, generic |
350
+ | "Next-Generation Enterprise Software" | What does it DO? |
351
+
352
+ | βœ… Good | Why |
353
+ | ------------------------------------------------------------- | --------------------- |
354
+ | "Turn customer feedback into product features, automatically" | Specific outcome |
355
+ | "The spreadsheet that thinks like a database" | Instant mental model |
356
+ | "Find and fix bugs before your users do" | Clear value + urgency |
357
+
358
+ ### Hero Images
359
+
360
+ **Rule**: Show the **OUTCOME**, not the product.
361
+
362
+ | ❌ Avoid | βœ… Use Instead |
363
+ | ----------------------------- | ----------------------------------------- |
364
+ | Screenshot of your dashboard | Person looking satisfied at clear results |
365
+ | Abstract geometric background | Before/after transformation |
366
+ | Stock photo of a handshake | The end result of using your product |
367
+
368
+ ### CTA Buttons
369
+
370
+ **Formula**: `Action verb` + `value/outcome` + `(optional: reduce risk)`
371
+
372
+ | ❌ Weak | βœ… Strong |
373
+ | ------------ | -------------------------------- |
374
+ | "Submit" | "Start Free Trial" |
375
+ | "Continue" | "Save API Key" |
376
+ | "Click Here" | "Get My Career Report β€” Free" |
377
+ | "Learn More" | "See How It Works in 60 Seconds" |
378
+
379
+ ### Proven Section Order
380
+
381
+ The high-conversion landing page sequence:
382
+
383
+ 1. **Hero** β€” Headline + subheadline + CTA + hero image
384
+ 2. **Social Proof** β€” Logos, testimonial count, or trust badges
385
+ 3. **Problem** β€” Name the pain your audience feels
386
+ 4. **Solution** β€” Show how your product solves it
387
+ 5. **Features/Benefits** β€” 3–5 key capabilities with outcomes
388
+ 6. **Testimonials** β€” Real quotes with names and photos
389
+ 7. **Pricing** (if applicable) β€” Clear tiers, highlight recommended
390
+ 8. **FAQ** β€” Address top 3–5 objections
391
+ 9. **Final CTA** β€” Repeat primary CTA with urgency or bonus
392
+ 10. **Footer** β€” Links, legal, trust badges
393
+
394
+ ### Social Proof Types
395
+
396
+ | Type | Best For | Example |
397
+ | ---------------------- | -------------------------- | -------------------------------------- |
398
+ | **Logo bar** | B2B, enterprise trust | "Trusted by Google, Stripe, Vercel" |
399
+ | **Stats** | Scale and credibility | "10,000+ teams" or "2M+ jobs analyzed" |
400
+ | **Testimonial quotes** | Emotional connection | Real photo + name + title + quote |
401
+ | **Case studies** | Complex/expensive products | "How Company X increased revenue 40%" |
402
+ | **Star ratings** | Consumer products | "4.8β˜… from 2,000+ reviews" |
403
+ | **Media mentions** | Brand awareness | "As seen in TechCrunch, Forbes" |
404
+
405
+ ### OG Image for Sharing
406
+
407
+ Every landing page needs a `1200Γ—630px` OG image:
408
+
409
+ - Include product name and tagline
410
+ - Use brand colors on a clean gradient or photo background
411
+ - Must be readable at thumbnail size (large text, high contrast)
412
+ - Set via `<meta property="og:image">` in `<head>`
413
+
414
+ ---
415
+
416
+ ## Common Rules for Professional UI
417
+
418
+ These are frequently overlooked issues that make UI look unprofessional:
419
+
420
+ ### Anti-AI-Slop Rules (MANDATORY)
421
+
422
+ These patterns are **BANNED** β€” they signal generic, AI-generated design:
423
+
424
+ | Banned Pattern | Why It's Bad | Do Instead |
425
+ | --------------------------------------------- | ----------------------------------- | ------------------------------------------------------- |
426
+ | Inter, Roboto, Arial as primary font | Overused default β€” zero personality | Choose distinctive display + body pairing |
427
+ | Purple gradients on white backgrounds | The #1 "AI-generated" clichΓ© | Commit to a curated, context-specific palette |
428
+ | Predictable card grids with rounded corners | Cookie-cutter, forgettable | Use asymmetry, overlap, diagonal flow, or grid-breaking |
429
+ | Generic hero with centered h1 + subtext + CTA | Every template ever | Create spatial interest β€” offset, layered, editorial |
430
+ | Same fonts/colors across different projects | Convergence = laziness | Each project gets a unique aesthetic identity |
431
+ | Solid white/dark backgrounds everywhere | Flat, lifeless, no atmosphere | Add depth: gradient meshes, noise, grain, textures |
432
+
433
+ ### Typography (Elevated)
434
+
435
+ - **Display fonts**: Choose something distinctive and characterful β€” NOT the usual suspects
436
+ - **Body fonts**: Pair a refined body font that complements (not matches) the display
437
+ - **Hierarchy**: Dominant sizes with sharp contrast; avoid evenly-stepped scales
438
+ - Use CSS `@font-face` or Google Fonts for premium choices
439
+
440
+ ### Color & Palette Philosophy
441
+
442
+ - **Dominant + accent** outperforms timid, evenly-distributed palettes
443
+ - Commit to a cohesive aesthetic through CSS custom properties
444
+ - One bold color choice > five safe ones
445
+
446
+ ### Motion & Animation
447
+
448
+ - **High-impact moments first**: One well-orchestrated page load with staggered `animation-delay` reveals creates more delight than scattered micro-interactions
449
+ - Prioritize CSS-only solutions; use Motion library (Framer Motion) for React when needed
450
+ - Scroll-triggered and hover states should **surprise**, not just confirm
451
+ - Match complexity to vision: maximalist designs need elaborate animations; minimal designs need surgical precision
452
+
453
+ ### Backgrounds & Visual Depth
454
+
455
+ Create **atmosphere** β€” never default to flat solid colors:
456
+
457
+ | Technique | When to Use |
458
+ | ---------------------- | ---------------------------------------- |
459
+ | Gradient meshes | Luxury, modern SaaS, organic themes |
460
+ | Noise / grain textures | Editorial, brutalist, vintage aesthetics |
461
+ | Geometric patterns | Art deco, tech, mathematical themes |
462
+ | Layered transparencies | Glass morphism, depth-focused layouts |
463
+ | Dramatic shadows | Bold, dramatic, high-contrast designs |
464
+ | Decorative borders | Refined, editorial, luxury aesthetics |
465
+
466
+ ### Spatial Composition
467
+
468
+ - **Unexpected layouts**: Asymmetry, overlap, diagonal flow, grid-breaking elements
469
+ - **Generous negative space** OR **controlled density** β€” both work, the middle doesn't
470
+ - Break the 12-column grid when the design demands it
471
+
472
+ ### Icons & Visual Elements
473
+
474
+ | Rule | Do | Don't |
475
+ | -------------------------- | ----------------------------------------------- | -------------------------------------- |
476
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 πŸš€ βš™οΈ as UI icons |
477
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
478
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
479
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
480
+
481
+ ### Interaction & Cursor
482
+
483
+ | Rule | Do | Don't |
484
+ | ---------------------- | ----------------------------------------------------- | -------------------------------------------- |
485
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
486
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
487
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
488
+
489
+ ### Light/Dark Mode Contrast
490
+
491
+ | Rule | Do | Don't |
492
+ | ------------------------- | ----------------------------------- | --------------------------------------- |
493
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
494
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
495
+ | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
496
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
497
+
498
+ ### Layout & Spacing
499
+
500
+ | Rule | Do | Don't |
501
+ | ------------------------ | ----------------------------------- | -------------------------------------- |
502
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
503
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
504
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
505
+
506
+ ---
507
+
508
+ ## Pre-Delivery Checklist
509
+
510
+ Before delivering UI code, verify these items:
511
+
512
+ ### Creative Intentionality (Step 0 Verification)
513
+
514
+ - [ ] Aesthetic direction was explicitly chosen and documented
515
+ - [ ] The "memorable thing" is identifiable β€” what will users remember?
516
+ - [ ] Design does NOT match any anti-AI-slop banned patterns
517
+ - [ ] Fonts are distinctive β€” NOT Inter, Roboto, Arial, or system defaults
518
+ - [ ] Background has depth/atmosphere β€” NOT a flat solid color
519
+ - [ ] Layout has spatial interest β€” NOT a predictable centered grid
520
+
521
+ ### Visual Quality
522
+
523
+ - [ ] No emojis used as icons (use SVG instead)
524
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
525
+ - [ ] Brand logos are correct (verified from Simple Icons)
526
+ - [ ] Hover states don't cause layout shift
527
+ - [ ] Use theme colors directly (bg-primary) not var() wrapper
528
+ - [ ] Color palette is cohesive with dominant + accent strategy
529
+
530
+ ### Interaction
531
+
532
+ - [ ] All clickable elements have `cursor-pointer`
533
+ - [ ] Hover states provide clear visual feedback
534
+ - [ ] Transitions are smooth (150-300ms)
535
+ - [ ] Focus states visible for keyboard navigation
536
+ - [ ] At least one high-impact animation moment (page load, scroll reveal, or hover surprise)
537
+
538
+ ### Light/Dark Mode
539
+
540
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
541
+ - [ ] Glass/transparent elements visible in light mode
542
+ - [ ] Borders visible in both modes
543
+ - [ ] Test both modes before delivery
544
+
545
+ ### Layout
546
+
547
+ - [ ] Floating elements have proper spacing from edges
548
+ - [ ] No content hidden behind fixed navbars
549
+ - [ ] Responsive at 375px, 768px, 1024px, 1440px
550
+ - [ ] No horizontal scroll on mobile
551
+
552
+ ### Accessibility
553
+
554
+ - [ ] All images have alt text
555
+ - [ ] Form inputs have labels
556
+ - [ ] Color is not the only indicator
557
+ - [ ] `prefers-reduced-motion` respected
@@ -0,0 +1,26 @@
1
+ No,Data Type,Keywords,Best Chart Type,Secondary Options,Color Guidance,Performance Impact,Accessibility Notes,Library Recommendation,Interactive Level
2
+ 1,Trend Over Time,"trend, time-series, line, growth, timeline, progress",Line Chart,"Area Chart, Smooth Area",Primary: #0080FF. Multiple series: use distinct colors. Fill: 20% opacity,⚑ Excellent (optimized),βœ“ Clear line patterns for colorblind users. Add pattern overlays.,"Chart.js, Recharts, ApexCharts",Hover + Zoom
3
+ 2,Compare Categories,"compare, categories, bar, comparison, ranking",Bar Chart (Horizontal or Vertical),"Column Chart, Grouped Bar",Each bar: distinct color. Category: grouped same color. Sorted: descending order,⚑ Excellent,βœ“ Easy to compare. Add value labels on bars for clarity.,"Chart.js, Recharts, D3.js",Hover + Sort
4
+ 3,Part-to-Whole,"part-to-whole, pie, donut, percentage, proportion, share",Pie Chart or Donut,"Stacked Bar, Treemap",Colors: 5-6 max. Contrasting palette. Large slices first. Use labels.,⚑ Good (limit 6 slices),⚠ Hard for accessibility. Better: Stacked bar with legend. Avoid pie if >5 items.,"Chart.js, Recharts, D3.js",Hover + Drill
5
+ 4,Correlation/Distribution,"correlation, distribution, scatter, relationship, pattern",Scatter Plot or Bubble Chart,"Heat Map, Matrix",Color axis: gradient (blue-red). Size: relative. Opacity: 0.6-0.8 to show density,⚠ Moderate (many points),⚠ Provide data table alternative. Use pattern + color distinction.,"D3.js, Plotly, Recharts",Hover + Brush
6
+ 5,Heatmap/Intensity,"heatmap, heat-map, intensity, density, matrix",Heat Map or Choropleth,"Grid Heat Map, Bubble Heat",Gradient: Cool (blue) to Hot (red). Scale: clear legend. Divergent for ±data,⚑ Excellent (color CSS),⚠ Colorblind: Use pattern overlay. Provide numerical legend.,"D3.js, Plotly, ApexCharts",Hover + Zoom
7
+ 6,Geographic Data,"geographic, map, location, region, geo, spatial","Choropleth Map, Bubble Map",Geographic Heat Map,Regional: single color gradient or categorized colors. Legend: clear scale,⚠ Moderate (rendering),⚠ Include text labels for regions. Provide data table alternative.,"D3.js, Mapbox, Leaflet",Pan + Zoom + Drill
8
+ 7,Funnel/Flow,funnel/flow,"Funnel Chart, Sankey",Waterfall (for flows),Stages: gradient (starting color β†’ ending color). Show conversion %,⚑ Good,βœ“ Clear stage labels + percentages. Good for accessibility if labeled.,"D3.js, Recharts, Custom SVG",Hover + Drill
9
+ 8,Performance vs Target,performance-vs-target,Gauge Chart or Bullet Chart,"Dial, Thermometer",Performance: Redβ†’Yellowβ†’Green gradient. Target: marker line. Threshold colors,⚑ Good,βœ“ Add numerical value + percentage label beside gauge.,"D3.js, ApexCharts, Custom SVG",Hover
10
+ 9,Time-Series Forecast,time-series-forecast,Line with Confidence Band,Ribbon Chart,Actual: solid line #0080FF. Forecast: dashed #FF9500. Band: light shading,⚑ Good,βœ“ Clearly distinguish actual vs forecast. Add legend.,"Chart.js, ApexCharts, Plotly",Hover + Toggle
11
+ 10,Anomaly Detection,anomaly-detection,Line Chart with Highlights,Scatter with Alert,Normal: blue #0080FF. Anomaly: red #FF0000 circle/square marker + alert,⚑ Good,βœ“ Circle/marker for anomalies. Add text alert annotation.,"D3.js, Plotly, ApexCharts",Hover + Alert
12
+ 11,Hierarchical/Nested Data,hierarchical/nested-data,Treemap,"Sunburst, Nested Donut, Icicle",Parent: distinct hues. Children: lighter shades. White borders 2-3px.,⚠ Moderate,⚠ Poor - provide table alternative. Label large areas.,"D3.js, Recharts, ApexCharts",Hover + Drilldown
13
+ 12,Flow/Process Data,flow/process-data,Sankey Diagram,"Alluvial, Chord Diagram",Gradient from source to target. Opacity 0.4-0.6 for flows.,⚠ Moderate,⚠ Poor - provide flow table alternative.,"D3.js (d3-sankey), Plotly",Hover + Drilldown
14
+ 13,Cumulative Changes,cumulative-changes,Waterfall Chart,"Stacked Bar, Cascade",Increases: #4CAF50. Decreases: #F44336. Start: #2196F3. End: #0D47A1.,⚑ Good,βœ“ Good - clear directional colors with labels.,"ApexCharts, Highcharts, Plotly",Hover
15
+ 14,Multi-Variable Comparison,multi-variable-comparison,Radar/Spider Chart,"Parallel Coordinates, Grouped Bar",Single: #0080FF 20% fill. Multiple: distinct colors per dataset.,⚑ Good,⚠ Moderate - limit 5-8 axes. Add data table.,"Chart.js, Recharts, ApexCharts",Hover + Toggle
16
+ 15,Stock/Trading OHLC,stock/trading-ohlc,Candlestick Chart,"OHLC Bar, Heikin-Ashi",Bullish: #26A69A. Bearish: #EF5350. Volume: 40% opacity below.,⚑ Good,⚠ Moderate - provide OHLC data table.,"Lightweight Charts (TradingView), ApexCharts",Real-time + Hover + Zoom
17
+ 16,Relationship/Connection Data,relationship/connection-data,Network Graph,"Hierarchical Tree, Adjacency Matrix",Node types: categorical colors. Edges: #90A4AE 60% opacity.,❌ Poor (500+ nodes struggles),❌ Very Poor - provide adjacency list alternative.,"D3.js (d3-force), Vis.js, Cytoscape.js",Drilldown + Hover + Drag
18
+ 17,Distribution/Statistical,distribution/statistical,Box Plot,"Violin Plot, Beeswarm",Box: #BBDEFB. Border: #1976D2. Median: #D32F2F. Outliers: #F44336.,⚑ Excellent,"βœ“ Good - include stats table (min, Q1, median, Q3, max).","Plotly, D3.js, Chart.js (plugin)",Hover
19
+ 18,Performance vs Target (Compact),performance-vs-target-(compact),Bullet Chart,"Gauge, Progress Bar","Ranges: #FFCDD2, #FFF9C4, #C8E6C9. Performance: #1976D2. Target: black 3px.",⚑ Excellent,βœ“ Excellent - compact with clear values.,"D3.js, Plotly, Custom SVG",Hover
20
+ 19,Proportional/Percentage,proportional/percentage,Waffle Chart,"Pictogram, Stacked Bar 100%",10x10 grid. 3-5 categories max. 2-3px spacing between squares.,⚑ Good,βœ“ Good - better than pie for accessibility.,"D3.js, React-Waffle, Custom CSS Grid",Hover
21
+ 20,Hierarchical Proportional,hierarchical-proportional,Sunburst Chart,"Treemap, Icicle, Circle Packing",Center to outer: darker to lighter. 15-20% lighter per level.,⚠ Moderate,⚠ Poor - provide hierarchy table alternative.,"D3.js (d3-hierarchy), Recharts, ApexCharts",Drilldown + Hover
22
+ 21,Root Cause Analysis,"root cause, decomposition, tree, hierarchy, drill-down, ai-split",Decomposition Tree,"Decision Tree, Flow Chart",Nodes: #2563EB (Primary) vs #EF4444 (Negative impact). Connectors: Neutral grey.,⚠ Moderate (calculation heavy),βœ“ clear hierarchy. Allow keyboard navigation for nodes.,"Power BI (native), React-Flow, Custom D3.js",Drill + Expand
23
+ 22,3D Spatial Data,"3d, spatial, immersive, terrain, molecular, volumetric",3D Scatter/Surface Plot,"Volumetric Rendering, Point Cloud",Depth cues: lighting/shading. Z-axis: color gradient (cool to warm).,❌ Heavy (WebGL required),❌ Poor - requires alternative 2D view or data table.,"Three.js, Deck.gl, Plotly 3D",Rotate + Zoom + VR
24
+ 23,Real-Time Streaming,"streaming, real-time, ticker, live, velocity, pulse",Streaming Area Chart,"Ticker Tape, Moving Gauge",Current: Bright Pulse (#00FF00). History: Fading opacity. Grid: Dark.,⚑ Optimized (canvas/webgl),⚠ Flashing elements - provide pause button. High contrast.,Smoothed D3.js, CanvasJS
25
+ 24,Sentiment/Emotion,"sentiment, emotion, nlp, opinion, feeling",Word Cloud with Sentiment,"Sentiment Arc, Radar Chart",Positive: #22C55E. Negative: #EF4444. Neutral: #94A3B8. Size = Frequency.,⚑ Good,⚠ Word clouds poor for screen readers. Use list view.,"D3-cloud, Highcharts, Nivo",Hover + Filter
26
+ 25,Process Mining,"process, mining, variants, path, bottleneck, log",Process Map / Graph,"Directed Acyclic Graph (DAG), Petri Net",Happy path: #10B981 (Thick). Deviations: #F59E0B (Thin). Bottlenecks: #EF4444.,⚠ Moderate to Heavy,⚠ Complex graphs hard to navigate. Provide path summary.,"React-Flow, Cytoscape.js, Recharts",Drag + Node-Click