vibes-plug 1.0.0 → 2.11.0

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 (183) hide show
  1. package/.claude/rules/vibes-plug-core.md +32 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +51 -0
  3. package/.cursorrules +42 -0
  4. package/AGENTS.md +96 -0
  5. package/BLUEPRINT.md +309 -125
  6. package/CHANGELOG.md +183 -1
  7. package/CLAUDE.md +70 -0
  8. package/LICENSE +1 -1
  9. package/README.md +641 -263
  10. package/index.js +19 -0
  11. package/package.json +61 -25
  12. package/plugin.json +24 -7
  13. package/scripts/generate_swarm_gif.py +295 -0
  14. package/scripts/install.js +201 -0
  15. package/skills/accessibility-testing-expert/SKILL.md +116 -0
  16. package/skills/ai-cost-token-optimizer/SKILL.md +82 -0
  17. package/skills/ai-evals-benchmark-expert/SKILL.md +188 -0
  18. package/skills/ai-llm-integration-expert/SKILL.md +147 -122
  19. package/skills/ai-media-generation-expert/SKILL.md +172 -0
  20. package/skills/ai-prompt-engineering-expert/SKILL.md +84 -0
  21. package/skills/angular-expert/SKILL.md +148 -0
  22. package/skills/api-design-expert/SKILL.md +316 -309
  23. package/skills/api-gateway-proxy-expert/SKILL.md +81 -0
  24. package/skills/app-analyzer-optimizer/SKILL.md +195 -188
  25. package/skills/apple-ecosystem-expert/SKILL.md +145 -0
  26. package/skills/{asisten_ramah → asisten-ramah}/SKILL.md +7 -1
  27. package/skills/astro-framework-expert/SKILL.md +200 -0
  28. package/skills/async-queue-temporal-expert/SKILL.md +240 -0
  29. package/skills/authentication-identity-expert/SKILL.md +279 -45
  30. package/skills/auto-doc-updater/SKILL.md +219 -203
  31. package/skills/autonomous-chaos-monkey/SKILL.md +63 -0
  32. package/skills/autonomous-red-teamer/SKILL.md +203 -0
  33. package/skills/autonomous-tdd-debugger/SKILL.md +71 -0
  34. package/skills/background-jobs-queue-expert/SKILL.md +235 -0
  35. package/skills/biome-linter-formatter-expert/SKILL.md +89 -0
  36. package/skills/blockchain-web3-expert/SKILL.md +115 -0
  37. package/skills/bootstrap-to-modern/SKILL.md +93 -86
  38. package/skills/brainstorming/SKILL.md +381 -353
  39. package/skills/browser-automation-expert/SKILL.md +222 -0
  40. package/skills/bun-runtime-expert/SKILL.md +7 -1
  41. package/skills/chatbot-messaging-expert/SKILL.md +114 -0
  42. package/skills/ci-cd-devops-architect/SKILL.md +81 -45
  43. package/skills/cloud-hosting-expert/SKILL.md +249 -243
  44. package/skills/coderabbit/SKILL.md +197 -191
  45. package/skills/compliance-gdpr-privacy-expert/SKILL.md +85 -0
  46. package/skills/cron-scheduler-expert/SKILL.md +304 -0
  47. package/skills/data-pipeline-etl-expert/SKILL.md +84 -0
  48. package/skills/data-telemetry-expert/SKILL.md +218 -212
  49. package/skills/data-visualization-expert/SKILL.md +154 -0
  50. package/skills/database-migration-versioning-expert/SKILL.md +90 -0
  51. package/skills/database-orm-expert/SKILL.md +303 -293
  52. package/skills/dependency-upgrade-migrator/SKILL.md +301 -0
  53. package/skills/design-system-architect/SKILL.md +278 -242
  54. package/skills/desktop-electron-expert/SKILL.md +128 -0
  55. package/skills/documentation-site-expert/SKILL.md +59 -0
  56. package/skills/doku-mcp-server/SKILL.md +257 -0
  57. package/skills/doku-payment-gateway/SKILL.md +233 -0
  58. package/skills/domain-driven-design-expert/SKILL.md +82 -0
  59. package/skills/e2e-testing-expert/SKILL.md +320 -314
  60. package/skills/ecommerce-expert/SKILL.md +87 -0
  61. package/skills/edge-serverless-db-expert/SKILL.md +99 -0
  62. package/skills/email-notification-expert/SKILL.md +368 -0
  63. package/skills/error-resilience-expert/SKILL.md +486 -0
  64. package/skills/event-driven-architect/SKILL.md +86 -80
  65. package/skills/feature-flag-analytics-expert/SKILL.md +66 -0
  66. package/skills/file-upload-media-expert/SKILL.md +437 -0
  67. package/skills/firebase-security-expert/SKILL.md +7 -1
  68. package/skills/form-validation-expert/SKILL.md +407 -0
  69. package/skills/fullstack-expert/SKILL.md +260 -201
  70. package/skills/fullstack-expert/references/api_design_guide.md +466 -466
  71. package/skills/fullstack-expert/references/multi_language_backend.md +528 -528
  72. package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -253
  73. package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -326
  74. package/skills/gemini-agent-booster/SKILL.md +142 -104
  75. package/skills/geospatial-maps-expert/SKILL.md +80 -0
  76. package/skills/global-a11y-i18n-expert/SKILL.md +86 -80
  77. package/skills/glsl-shader-expert/SKILL.md +107 -0
  78. package/skills/go-programming-expert/SKILL.md +300 -294
  79. package/skills/graph-rag-knowledge-expert/SKILL.md +159 -0
  80. package/skills/graphql-apollo-expert/SKILL.md +114 -0
  81. package/skills/headless-cms-expert/SKILL.md +181 -0
  82. package/skills/hig/SKILL.md +193 -187
  83. package/skills/js-backend-expert/SKILL.md +218 -191
  84. package/skills/legacy-code-translator/SKILL.md +71 -0
  85. package/skills/local-slm-edge-ai-expert/SKILL.md +167 -0
  86. package/skills/logging-error-tracking-expert/SKILL.md +344 -0
  87. package/skills/mcp-client-orchestrator/SKILL.md +76 -0
  88. package/skills/mcp-server-architect/SKILL.md +226 -126
  89. package/skills/micro-frontend-architect/SKILL.md +112 -0
  90. package/skills/mobile-expo-expert/SKILL.md +191 -185
  91. package/skills/mobile-push-notification-expert/SKILL.md +71 -0
  92. package/skills/modern-css-native-expert/SKILL.md +189 -0
  93. package/skills/monday-design-aesthetic/SKILL.md +72 -66
  94. package/skills/monorepo-architect/SKILL.md +232 -226
  95. package/skills/mpa-orchestrator/SKILL.md +120 -101
  96. package/skills/multi-agent-orchestration/SKILL.md +173 -153
  97. package/skills/multiple-entry-points/SKILL.md +91 -55
  98. package/skills/mvc-expert/SKILL.md +237 -231
  99. package/skills/n8n-automation-expert/SKILL.md +89 -0
  100. package/skills/nextjs-app-router-expert/SKILL.md +148 -0
  101. package/skills/openapi-swagger-codegen-expert/SKILL.md +67 -0
  102. package/skills/payment-gateway-expert/SKILL.md +129 -45
  103. package/skills/pdf-document-generation-expert/SKILL.md +91 -0
  104. package/skills/performance-web-vitals/SKILL.md +337 -331
  105. package/skills/post-quantum-crypto-migrator/SKILL.md +57 -0
  106. package/skills/prd-architect/SKILL.md +206 -190
  107. package/skills/proactive-background-watcher/SKILL.md +68 -0
  108. package/skills/production-ready-hardener/PRODUCTION_READINESS_REPORT.md +67 -0
  109. package/skills/production-ready-hardener/SKILL.md +461 -468
  110. package/skills/production-ready-hardener/references/production_checklist.md +161 -161
  111. package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +881 -875
  112. package/skills/project-context-mapper/SKILL.md +85 -0
  113. package/skills/pwa-offline-first-expert/SKILL.md +185 -0
  114. package/skills/python-programming-expert/SKILL.md +407 -270
  115. package/skills/rate-limit-abuse-prevention/SKILL.md +377 -0
  116. package/skills/realtime-collaboration-expert/SKILL.md +99 -45
  117. package/skills/rich-text-editor-expert/SKILL.md +177 -0
  118. package/skills/rust-programming-expert/SKILL.md +240 -234
  119. package/skills/saas-billing/SKILL.md +382 -376
  120. package/skills/saas-multi-tenant/SKILL.md +256 -236
  121. package/skills/saas-mvp-launcher/SKILL.md +30 -1
  122. package/skills/saas-transformer/SKILL.md +499 -445
  123. package/skills/saas-transformer/references/billing_integration_guide.md +401 -401
  124. package/skills/saas-transformer/references/feature_gating_patterns.md +137 -137
  125. package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -121
  126. package/skills/saas-transformer/scripts/saas_transformation_scanner.py +39 -29
  127. package/skills/scalability-clean-code/SKILL.md +234 -228
  128. package/skills/search-engine-expert/SKILL.md +89 -0
  129. package/skills/secure-fuzz-testing/SKILL.md +7 -1
  130. package/skills/self-evolving-memory-graph/SKILL.md +91 -0
  131. package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -0
  132. package/skills/senior-frontend/SKILL.md +85 -105
  133. package/skills/seo/SKILL.md +258 -224
  134. package/skills/session-context-loader/SKILL.md +83 -0
  135. package/skills/session-handoff-resume/SKILL.md +163 -157
  136. package/skills/{skill_baru → skill-baru}/SKILL.md +177 -146
  137. package/skills/solidjs-expert/SKILL.md +80 -0
  138. package/skills/spa-orchestrator/SKILL.md +306 -287
  139. package/skills/sse-websocket-streaming-expert/SKILL.md +93 -0
  140. package/skills/state-management-expert/SKILL.md +277 -271
  141. package/skills/supabase-migration/SKILL.md +47 -1
  142. package/skills/supabase-security-expert/SKILL.md +248 -242
  143. package/skills/svelte-sveltekit-expert/SKILL.md +91 -0
  144. package/skills/svg-animation-motion-expert/SKILL.md +115 -0
  145. package/skills/tailwind-expert/SKILL.md +139 -187
  146. package/skills/tanstack-query-expert/SKILL.md +204 -198
  147. package/skills/tauri-expert/SKILL.md +7 -1
  148. package/skills/token-saver/SKILL.md +118 -110
  149. package/skills/typescript-expert/SKILL.md +329 -278
  150. package/skills/ui-components-expert/SKILL.md +166 -63
  151. package/skills/ui-ux-pro-max/SKILL.md +221 -200
  152. package/skills/vector-db-rag-expert/SKILL.md +208 -0
  153. package/skills/vibe-code-gardener/SKILL.md +180 -172
  154. package/skills/visual-qa-vision-agent/SKILL.md +71 -0
  155. package/skills/voice-ai-realtime-agent/SKILL.md +202 -0
  156. package/skills/vue-frontend-expert/SKILL.md +132 -0
  157. package/skills/wasm-edge-computing-expert/SKILL.md +97 -0
  158. package/skills/web-3d-graphics-expert/SKILL.md +137 -0
  159. package/skills/web-game-engine-expert/SKILL.md +102 -0
  160. package/skills/web-scraper/SKILL.md +98 -146
  161. package/skills/website-design-cloner/SKILL.md +180 -0
  162. package/skills/webxr-ar-vr-expert/SKILL.md +123 -0
  163. package/skills/wordpress-headless-expert/SKILL.md +144 -0
  164. package/skills/zero-to-prod-orchestrator/SKILL.md +231 -180
  165. package/skills/zero-trust-secret-vault/SKILL.md +88 -0
  166. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  167. package/CONTRIBUTING.md +0 -199
  168. package/SECURITY.md +0 -21
  169. package/banner.png +0 -0
  170. package/skills/senior-fullstack/SKILL.md +0 -167
  171. package/skills/senior-fullstack/references/architecture_patterns.md +0 -160
  172. package/skills/senior-fullstack/references/development_workflows.md +0 -222
  173. package/skills/senior-fullstack/references/tech_stack_guide.md +0 -190
  174. package/skills/senior-fullstack/scripts/code_quality_analyzer.py +0 -114
  175. package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +0 -114
  176. package/skills/senior-fullstack/scripts/project_scaffolder.py +0 -114
  177. package/skills/seo-aeo-landing-page-writer/SKILL.md +0 -97
  178. package/skills/seo-geo/SKILL.md +0 -188
  179. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
  180. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  181. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
  182. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  183. package/skills/ui_ux_expert/SKILL.md +0 -114
@@ -1,201 +1,222 @@
1
- ---
2
- name: ui-ux-pro-max
3
- description: "Comprehensive design guide & BM25 search engine for web and mobile applications across 11 tech stacks / Panduan desain komprehensif & mesin pencari BM25 untuk aplikasi web dan mobile di 11 tech stack."
1
+ ---
2
+ name: ui-ux-pro-max
3
+ description: "Comprehensive design guide & BM25 search engine for web and mobile applications across 11 tech stacks / Panduan desain komprehensif & mesin pencari BM25 untuk aplikasi web dan mobile di 11 tech stack."
4
4
  author: "Roedy Rustam"
5
- ---
6
-
7
- # UI/UX Pro Max - Design Intelligence System
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Description
17
- UI/UX Pro Max is a comprehensive design intelligence engine equipped with an offline BM25 search index covering color palettes, typography, responsive patterns, icon sets, chart recommendations, UX guidelines, and stack-specific best practices across **11 technology stacks**.
18
-
19
- ### Trigger Conditions
20
- Reference these guidelines or run the CLI search engine when:
21
- - Designing new UI components, landing pages, or dashboards.
22
- - Choosing color schemes, font pairings, and design tokens.
23
- - Generating a complete design system recommendation for a project.
24
- - Auditing code for UX, accessibility (a11y), or performance issues.
25
- - Needing stack-specific code patterns (React, Next.js, Vue, Nuxt, Svelte, Tailwind, SwiftUI, React Native, Flutter, Shadcn).
26
-
27
- ---
28
-
29
- ### Python BM25 Search CLI Integration
30
-
31
- The skill includes a fast Python search engine in `scripts/search.py` that queries 12 domain CSV datasets and 11 tech-stack CSV datasets.
32
-
33
- #### 1. Generate Complete Design System Recommendation
34
- Run this before starting design/coding to get an aggregated design system spec:
35
- ```bash
36
- python scripts/search.py "<project/topic query>" --design-system -p "Project Name" -f markdown
37
- ```
38
- *Example:* `python scripts/search.py "SaaS analytics dashboard" --design-system -p "MetricsApp" -f markdown`
39
-
40
- #### 2. Domain-Specific Search
41
- Search specific design domains:
42
- ```bash
43
- python scripts/search.py "<query>" --domain <domain> --max-results 3
44
- ```
45
- - **Available Domains (`--domain`)**:
46
- - `style`: Visual design styles (Minimalism, Glassmorphism, Dark Mode, Aurora, Brutalism, Bento Grid, etc.)
47
- - `prompt`: Copy-paste ready AI prompts & CSS implementation checklists
48
- - `color`: Hex color palettes tailored by product type (Primary, Secondary, CTA, Background, Text)
49
- - `chart`: Chart type recommendations, library suggestions, accessibility & color guidance
50
- - `landing`: High-converting landing page layouts, section orders & CTA placement
51
- - `product`: Product-type specific design system blueprints (SaaS, E-commerce, Fintech, Crypto, etc.)
52
- - `ux`: UX anti-patterns, usability best practices, severity, and good/bad code examples
53
- - `typography`: Google font pairings, heading/body recommendations, mood keywords & CSS imports
54
- - `icons`: Icon usage guidance, SVG libraries (Lucide, Heroicons), and code imports
55
- - `react`: React & Next.js performance optimizations, re-render fixes & dynamic imports
56
- - `web`: Web interface guidelines (ARIA, focus traps, virtual list, form inputs)
57
-
58
- *Example:* `python scripts/search.py "fintech dark theme" --domain color`
59
-
60
- #### 3. Stack-Specific Guidelines Search
61
- Search guidelines tailored to your exact tech stack:
62
- ```bash
63
- python scripts/search.py "<query>" --stack <stack> --max-results 3
64
- ```
65
- - **Supported Stacks (`--stack`)**:
66
- - `html-tailwind` | `react` | `nextjs` | `vue` | `nuxtjs` | `nuxt-ui` | `svelte` | `swiftui` | `react-native` | `flutter` | `shadcn`
67
-
68
- *Example:* `python scripts/search.py "virtualized list performance" --stack react`
69
-
70
- ---
71
-
72
- ### Quick Reference for Professional Rules
73
-
74
- #### 1. Accessibility (WCAG 2.2) - CRITICAL
75
- - **Color Contrast**: Minimum 4.5:1 ratio for normal text, 3:1 for large text/UI components.
76
- - **Focus States**: Visible focus rings (`focus-visible:ring-2 focus-visible:ring-offset-2`) during keyboard navigation.
77
- - **Alt Text & ARIA**: Descriptive alt text for imagery; proper `aria-expanded`, `aria-controls`, and semantic HTML tags.
78
-
79
- #### 2. Touch & Interaction - CRITICAL
80
- - **Touch Target Size**: Minimum 44x44px for mobile devices.
81
- - **Loading & State**: Disable buttons during async requests to prevent duplicate submissions; show subtle spinners or skeleton loaders.
82
- - **Cursor Pointer**: Always add `cursor-pointer` to clickable/interactive elements.
83
-
84
- #### 3. Performance & Animation - HIGH / MEDIUM
85
- - **Image & Assets**: Use WebP/AVIF formats, `srcset`, explicit `width`/`height` attributes, and `loading="lazy"`.
86
- - **Micro-interactions**: Keep transition durations between 150ms–300ms (`ease-in-out`) for fast and responsive UI feel.
87
- - **Reduced Motion**: Respect `prefers-reduced-motion: reduce`.
88
-
89
- #### 4. Light/Dark Mode Contrast
90
- - **Light Mode**: High-contrast text (e.g. Slate-900 `#0F172A`); avoid pale grays for primary text. Ensure borders (`border-slate-200`) remain visible.
91
- - **Dark Mode**: High contrast foreground elements over dark slate/gray backgrounds; avoid pure black `#000000` text containers unless requested.
92
-
93
- #### 5. Dashboard & Information Hierarchy
94
- - **Layout Flow**: KPI summary cards top -> Trend charts middle -> Detailed data tables bottom.
95
- - **Visual Grid**: Consistent gaps/padding (16px / 24px). Clean subtle borders instead of heavy black dividers.
96
- - **Data Viz**: Maximum 3–5 coordinated colors in graphs. Responsive tooltips and legend alignment.
97
-
98
- ---
99
-
100
- ### UI/UX Design Pre-Delivery Checklist
101
- - [ ] **Visual Quality**: No emojis used as UI icons (use SVG icons from Lucide/Heroicons). Hover states do not cause layout shifts.
102
- - [ ] **Interaction**: `cursor-pointer` applied to all interactive elements. Smooth 150–300ms transitions.
103
- - [ ] **Contrast**: Text contrast ratio >= 4.5:1 in light mode. Visible borders in both light and dark modes.
104
- - [ ] **Layout & Responsive**: Tested across 375px, 768px, 1024px, 1440px breakpoints. No unintentional horizontal scrolling on mobile.
105
- - [ ] **Accessibility**: All images have meaningful `alt` text. Form inputs have explicitly connected `<label>` elements or `aria-label`.
106
-
107
- ---
108
-
109
- <a name="bahasa-indonesia"></a>
110
- ## Bahasa Indonesia
111
-
112
- ### Deskripsi
113
- UI/UX Pro Max adalah mesin kecerdasan desain komprehensif yang dilengkapi indeks pencarian BM25 offline. Mencakup palet warna, tipografi, pola tata letak responsif, rekomendasi ikon, grafik visualisasi data, pedoman UX, serta praktik terbaik untuk **11 tumpukan teknologi (technology stacks)**.
114
-
115
- ### Kondisi Pemicu
116
- Gunakan pedoman ini atau jalankan mesin pencari CLI ketika:
117
- - Mendesain komponen UI baru, landing page, atau dashboard.
118
- - Memilih skema warna, pasangan font, dan token desain.
119
- - Menghasilkan rekomendasi sistem desain (design system) lengkap untuk proyek.
120
- - Mengaudit kode untuk masalah UX, aksesibilitas (a11y), atau kinerja.
121
- - Membutuhkan pola kode spesifik stack (React, Next.js, Vue, Nuxt, Svelte, Tailwind, SwiftUI, React Native, Flutter, Shadcn).
122
-
123
- ---
124
-
125
- ### Integrasi CLI Pencarian Python BM25
126
-
127
- Skill ini dilengkapi mesin pencari Python cepat di `scripts/search.py` yang dapat mengueri 12 dataset CSV domain dan 11 dataset CSV tech-stack.
128
-
129
- #### 1. Generasi Rekomendasi Sistem Desain Lengkap
130
- Jalankan ini sebelum memulai desain/coding untuk mendapatkan spesifikasi sistem desain terintegrasi:
131
- ```bash
132
- python scripts/search.py "<kueri proyek/topik>" --design-system -p "Nama Proyek" -f markdown
133
- ```
134
- *Contoh:* `python scripts/search.py "SaaS analytics dashboard" --design-system -p "MetricsApp" -f markdown`
135
-
136
- #### 2. Pencarian Berdasarkan Domain
137
- Cari domain desain tertentu:
138
- ```bash
139
- python scripts/search.py "<kueri>" --domain <domain> --max-results 3
140
- ```
141
- - **Domain yang Tersedia (`--domain`)**:
142
- - `style`: Gaya desain visual (Minimalism, Glassmorphism, Dark Mode, Aurora, Brutalism, Bento Grid, dll.)
143
- - `prompt`: Prompt AI siap pakai & checklist implementasi CSS
144
- - `color`: Palet warna Hex sesuai jenis produk (Utama, Sekunder, CTA, Background, Teks)
145
- - `chart`: Rekomendasi jenis grafik, pustaka grafik, panduan kontras & aksesibilitas
146
- - `landing`: Tata letak landing page konversi tinggi, urutan seksi & penempatan CTA
147
- - `product`: Cetak biru sistem desain spesifik jenis produk (SaaS, E-commerce, Fintech, Crypto, dll.)
148
- - `ux`: Anti-pattern UX, praktik terbaik kegunaan, tingkat keparahan, serta contoh kode baik/buruk
149
- - `typography`: Pasangan font Google Fonts, rekomendasi font judul/isi, mood & CSS import
150
- - `icons`: Panduan penggunaan ikon, pustaka SVG (Lucide, Heroicons), & import kode
151
- - `react`: Optimasi performa React & Next.js, perbaikan re-render & dynamic import
152
- - `web`: Pedoman antarmuka web (ARIA, focus trap, virtual list, input form)
153
-
154
- *Contoh:* `python scripts/search.py "fintech dark theme" --domain color`
155
-
156
- #### 3. Pencarian Pedoman Spesifik Tech Stack
157
- Cari pedoman yang disesuaikan persis dengan tech stack proyek:
158
- ```bash
159
- python scripts/search.py "<kueri>" --stack <stack> --max-results 3
160
- ```
161
- - **Tech Stack yang Didukung (`--stack`)**:
162
- - `html-tailwind` | `react` | `nextjs` | `vue` | `nuxtjs` | `nuxt-ui` | `svelte` | `swiftui` | `react-native` | `flutter` | `shadcn`
163
-
164
- *Contoh:* `python scripts/search.py "virtualized list performance" --stack react`
165
-
166
- ---
167
-
168
- ### Acuan Cepat Aturan Profesional
169
-
170
- #### 1. Aksesibilitas (WCAG 2.2) - KRITIS
171
- - **Kontras Warna**: Rasio kontras minimal 4.5:1 untuk teks normal, 3:1 untuk teks besar/komponen UI.
172
- - **Focus States**: Tampilkan cincin fokus yang jelas (`focus-visible:ring-2 focus-visible:ring-offset-2`) saat menggunakan navigasi keyboard.
173
- - **Alt Text & ARIA**: Sediakan alt text deskriptif pada gambar; gunakan atribut `aria-expanded`, `aria-controls`, serta elemen HTML semantik.
174
-
175
- #### 2. Sentuhan & Interaksi - KRITIS
176
- - **Touch Target Size**: Ukuran area sentuh minimal 44x44px untuk perangkat mobile.
177
- - **Loading & State**: Nonaktifkan tombol selama operasi asinkron agar tidak terjadi submit ganda; tampilkan spinner halus atau skeleton loader.
178
- - **Cursor Pointer**: Wajib menambahkan `cursor-pointer` pada elemen interaktif yang dapat diklik.
179
-
180
- #### 3. Performa & Animasi - TINGGI / MENENGAH
181
- - **Aset Gambar**: Gunakan format WebP/AVIF, atribut `srcset`, dimensi `width`/`height` eksplisit, serta `loading="lazy"`.
182
- - **Mikro-interaksi**: Durasi transisi antara 150ms–300ms (`ease-in-out`) agar antarmuka terasa cepat dan responsif.
183
- - **Reduced Motion**: Hormati preferensi `prefers-reduced-motion: reduce`.
184
-
185
- #### 4. Kontras Mode Terang & Gelap
186
- - **Mode Terang**: Teks gelap kontras tinggi (misal Slate-900 `#0F172A`); hindari teks abu-abu pudar. Pastikan batas/border (`border-slate-200`) tetap terlihat.
187
- - **Mode Gelap**: Kontras tinggi antara elemen latar depan dengan latar belakang gelap; hindari kontainer teks serba hitam pekat `#000000` kecuali diminta khusus.
188
-
189
- #### 5. Dashboard & Hierarki Informasi
190
- - **Alur Tata Letak**: Kartu ringkasan KPI di atas -> Grafik tren di tengah -> Tabel detail data di bawah.
191
- - **Grid Visual**: Konsistensi gap/padding (16px / 24px). Gunakan border halus daripada pembatas tebal hitam.
192
- - **Visualisasi Data**: Maksimal 3–5 warna terkoordinasi dalam grafik. Tooltip responsif & perataan legenda yang rapi.
193
-
194
- ---
195
-
196
- ### Checklist Desain UI/UX Sebelum Delivery
197
- - [ ] **Visual**: Tidak menggunakan emoji sebagai ikon UI (gunakan ikon SVG seperti Lucide/Heroicons). Efek hover tidak menggeser tata letak.
198
- - [ ] **Interaksi**: `cursor-pointer` diterapkan pada semua elemen interaktif. Transisi halus 150–300ms.
199
- - [ ] **Kontras**: Rasio kontras teks minimal 4.5:1 pada mode terang. Border terlihat di kedua mode (terang & gelap).
200
- - [ ] **Tata Letak & Responsif**: Diuji pada breakpoint 375px, 768px, 1024px, 1440px. Tidak ada scroll horizontal tak disengaja pada perangkat mobile.
201
- - [ ] **Aksesibilitas**: Semua gambar memiliki `alt` text yang bermakna. Form input memiliki `<label>` terhubung atau `aria-label`.
5
+ ---
6
+
7
+ # UI/UX Pro Max - Design Intelligence System
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Orchestration & Integration
17
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `project-context-mapper` to ensure cohesive execution.
18
+
19
+ ### Description
20
+ UI/UX Pro Max is a comprehensive design intelligence engine equipped with an offline BM25 search index covering color palettes, typography, responsive patterns, icon sets, chart recommendations, UX guidelines, **Material Design 3 (M3)**, and stack-specific best practices across **11 technology stacks**.
21
+
22
+ ### Trigger Conditions
23
+ Reference these guidelines or run the CLI search engine when:
24
+ - Designing new UI components, landing pages, or dashboards.
25
+ - Choosing color schemes, font pairings, and design tokens.
26
+ - Learning, reverse-engineering, or cloning website design templates & components directly from a target URL (Combine with `website-design-cloner`).
27
+ - Generating a complete design system recommendation for a project.
28
+ - Auditing code for UX, accessibility (a11y), or performance issues.
29
+ - Needing stack-specific code patterns (React, Next.js, Vue, Nuxt, Svelte, Tailwind, SwiftUI, React Native, Flutter, Shadcn).
30
+
31
+ ---
32
+
33
+ ### Python BM25 Search CLI Integration
34
+
35
+ The skill includes a fast Python search engine in `scripts/search.py` that queries 12 domain CSV datasets and 11 tech-stack CSV datasets.
36
+
37
+ #### 1. Generate Complete Design System Recommendation
38
+ Run this before starting design/coding to get an aggregated design system spec:
39
+ ```bash
40
+ python scripts/search.py "<project/topic query>" --design-system -p "Project Name" -f markdown
41
+ ```
42
+ *Example:* `python scripts/search.py "SaaS analytics dashboard" --design-system -p "MetricsApp" -f markdown`
43
+
44
+ #### 2. Domain-Specific Search
45
+ Search specific design domains:
46
+ ```bash
47
+ python scripts/search.py "<query>" --domain <domain> --max-results 3
48
+ ```
49
+ - **Available Domains (`--domain`)**:
50
+ - `style`: Visual design styles (Minimalism, Glassmorphism, Dark Mode, Aurora, Brutalism, Bento Grid, Spatial UI, WebGL 3D elements, etc.)
51
+ - `prompt`: Copy-paste ready AI prompts & CSS implementation checklists
52
+ - `color`: Hex color palettes tailored by product type (Primary, Secondary, CTA, Background, Text)
53
+ - `chart`: Chart type recommendations, library suggestions, accessibility & color guidance
54
+ - `landing`: High-converting landing page layouts, section orders & CTA placement
55
+ - `product`: Product-type specific design system blueprints (SaaS, E-commerce, Fintech, Crypto, AI-Native Chat Interfaces, etc.)
56
+ - `ux`: UX anti-patterns, usability best practices, severity, and good/bad code examples
57
+ - `typography`: Google font pairings, heading/body recommendations, mood keywords & CSS imports
58
+ - `icons`: Icon usage guidance, SVG libraries (Lucide, Heroicons), and code imports
59
+ - `react`: React & Next.js performance optimizations, re-render fixes & dynamic imports
60
+ - `web`: Web interface guidelines (ARIA, focus traps, virtual list, form inputs)
61
+ - `m3`: Material Design 3 specific design tokens, color roles, elevation, and component specs
62
+
63
+ *Example:* `python scripts/search.py "fintech dark theme" --domain color`
64
+
65
+ #### 3. Stack-Specific Guidelines Search
66
+ Search guidelines tailored to your exact tech stack:
67
+ ```bash
68
+ python scripts/search.py "<query>" --stack <stack> --max-results 3
69
+ ```
70
+ - **Supported Stacks (`--stack`)**:
71
+ - `html-tailwind` | `react` | `nextjs` | `vue` | `nuxtjs` | `nuxt-ui` | `svelte` | `swiftui` | `react-native` | `flutter` | `shadcn`
72
+
73
+ *Example:* `python scripts/search.py "virtualized list performance" --stack react`
74
+
75
+ ---
76
+
77
+ ### Quick Reference for Professional Rules
78
+
79
+ #### 1. Accessibility (WCAG 2.2) - CRITICAL
80
+ - **Color Contrast**: Minimum 4.5:1 ratio for normal text, 3:1 for large text/UI components.
81
+ - **Focus States**: Visible focus rings (`focus-visible:ring-2 focus-visible:ring-offset-2`) during keyboard navigation.
82
+ - **Alt Text & ARIA**: Descriptive alt text for imagery; proper `aria-expanded`, `aria-controls`, and semantic HTML tags.
83
+
84
+ #### 2. Touch & Interaction - CRITICAL
85
+ - **Touch Target Size**: Minimum 44x44px for mobile devices.
86
+ - **Loading & State**: Disable buttons during async requests to prevent duplicate submissions; show subtle spinners or skeleton loaders.
87
+ - **Cursor Pointer**: Always add `cursor-pointer` to clickable/interactive elements.
88
+
89
+ #### 3. Performance & Animation - HIGH / MEDIUM
90
+ - **Image & Assets**: Use WebP/AVIF formats, `srcset`, explicit `width`/`height` attributes, and `loading="lazy"`.
91
+ - **Micro-interactions**: Keep transition durations between 150ms–300ms (`ease-in-out`) for fast and responsive UI feel.
92
+ - **Reduced Motion**: Respect `prefers-reduced-motion: reduce`.
93
+
94
+ #### 4. Light/Dark Mode Contrast
95
+ - **Light Mode**: High-contrast text (e.g. Slate-900 `#0F172A`); avoid pale grays for primary text. Ensure borders (`border-slate-200`) remain visible.
96
+ - **Dark Mode**: High contrast foreground elements over dark slate/gray backgrounds; avoid pure black `#000000` text containers unless requested.
97
+
98
+ #### 5. Dashboard & Information Hierarchy
99
+ - **Material Design 3 (M3) Integration**: Follow M3 Layouts (compact, medium, expanded). Use M3 elevation for layering instead of heavy borders.
100
+ - **Layout Flow**: KPI summary cards top -> Trend charts middle -> Detailed data tables bottom.
101
+ - **Visual Grid**: Consistent gaps/padding (16px / 24px). Clean subtle borders instead of heavy black dividers.
102
+ - **Data Viz**: Maximum 3–5 coordinated colors in graphs. Responsive tooltips and legend alignment.
103
+
104
+ ---
105
+
106
+ ### UI/UX Design Pre-Delivery Checklist
107
+ - [ ] **Visual Quality**: No emojis used as UI icons (use SVG icons from Lucide/Heroicons). Hover states do not cause layout shifts.
108
+ - [ ] **Interaction**: `cursor-pointer` applied to all interactive elements. Smooth 150–300ms transitions.
109
+ - [ ] **Contrast**: Text contrast ratio >= 4.5:1 in light mode. Visible borders in both light and dark modes.
110
+ - [ ] **Layout & Responsive**: Tested across 375px, 768px, 1024px, 1440px breakpoints. No unintentional horizontal scrolling on mobile.
111
+ - [ ] **Accessibility**: All images have meaningful `alt` text. Form inputs have explicitly connected `<label>` elements or `aria-label`.
112
+
113
+ ---
114
+
115
+ <a name="bahasa-indonesia"></a>
116
+ ## Bahasa Indonesia
117
+
118
+ ### Integrasi Orkestrasi
119
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
120
+
121
+ ### Deskripsi
122
+ UI/UX Pro Max adalah mesin kecerdasan desain komprehensif yang dilengkapi indeks pencarian BM25 offline. Mencakup palet warna, tipografi, pola tata letak responsif, rekomendasi ikon, grafik visualisasi data, pedoman UX, **Material Design 3 (M3)**, serta praktik terbaik untuk **11 tumpukan teknologi (technology stacks)**.
123
+
124
+ ### Kondisi Pemicu
125
+ Gunakan pedoman ini atau jalankan mesin pencari CLI ketika:
126
+ - Mendesain komponen UI baru, landing page, atau dashboard.
127
+ - Memilih skema warna, pasangan font, dan token desain.
128
+ - Menghasilkan rekomendasi sistem desain (design system) lengkap untuk proyek.
129
+ - Mengaudit kode untuk masalah UX, aksesibilitas (a11y), atau kinerja.
130
+ - Membutuhkan pola kode spesifik stack (React, Next.js, Vue, Nuxt, Svelte, Tailwind, SwiftUI, React Native, Flutter, Shadcn).
131
+
132
+ ---
133
+
134
+ ### Integrasi CLI Pencarian Python BM25
135
+
136
+ Skill ini dilengkapi mesin pencari Python cepat di `scripts/search.py` yang dapat mengueri 12 dataset CSV domain dan 11 dataset CSV tech-stack.
137
+
138
+ #### 1. Generasi Rekomendasi Sistem Desain Lengkap
139
+ Jalankan ini sebelum memulai desain/coding untuk mendapatkan spesifikasi sistem desain terintegrasi:
140
+ ```bash
141
+ python scripts/search.py "<kueri proyek/topik>" --design-system -p "Nama Proyek" -f markdown
142
+ ```
143
+ *Contoh:* `python scripts/search.py "SaaS analytics dashboard" --design-system -p "MetricsApp" -f markdown`
144
+
145
+ #### 2. Pencarian Berdasarkan Domain
146
+ Cari domain desain tertentu:
147
+ ```bash
148
+ python scripts/search.py "<kueri>" --domain <domain> --max-results 3
149
+ ```
150
+ - **Domain yang Tersedia (`--domain`)**:
151
+ - `style`: Gaya desain visual (Minimalism, Glassmorphism, Dark Mode, Aurora, Brutalism, Bento Grid, Spatial UI, elemen WebGL 3D, dll.)
152
+ - `prompt`: Prompt AI siap pakai & checklist implementasi CSS
153
+ - `color`: Palet warna Hex sesuai jenis produk (Utama, Sekunder, CTA, Background, Teks)
154
+ - `chart`: Rekomendasi jenis grafik, pustaka grafik, panduan kontras & aksesibilitas
155
+ - `landing`: Tata letak landing page konversi tinggi, urutan seksi & penempatan CTA
156
+ - `product`: Cetak biru sistem desain spesifik jenis produk (SaaS, E-commerce, Fintech, Crypto, Antarmuka Chat AI-Native, dll.)
157
+ - `ux`: Anti-pattern UX, praktik terbaik kegunaan, tingkat keparahan, serta contoh kode baik/buruk
158
+ - `typography`: Pasangan font Google Fonts, rekomendasi font judul/isi, mood & CSS import
159
+ - `icons`: Panduan penggunaan ikon, pustaka SVG (Lucide, Heroicons), & import kode
160
+ - `react`: Optimasi performa React & Next.js, perbaikan re-render & dynamic import
161
+ - `web`: Pedoman antarmuka web (ARIA, focus trap, virtual list, input form)
162
+ - `m3`: Token desain spesifik Material Design 3, peran warna, elevasi, dan spesifikasi komponen
163
+
164
+ *Contoh:* `python scripts/search.py "fintech dark theme" --domain color`
165
+
166
+ #### 3. Pencarian Pedoman Spesifik Tech Stack
167
+ Cari pedoman yang disesuaikan persis dengan tech stack proyek:
168
+ ```bash
169
+ python scripts/search.py "<kueri>" --stack <stack> --max-results 3
170
+ ```
171
+ - **Tech Stack yang Didukung (`--stack`)**:
172
+ - `html-tailwind` | `react` | `nextjs` | `vue` | `nuxtjs` | `nuxt-ui` | `svelte` | `swiftui` | `react-native` | `flutter` | `shadcn`
173
+
174
+ *Contoh:* `python scripts/search.py "virtualized list performance" --stack react`
175
+
176
+ ---
177
+
178
+ ### Acuan Cepat Aturan Profesional
179
+
180
+ #### 1. Aksesibilitas (WCAG 2.2) - KRITIS
181
+ - **Kontras Warna**: Rasio kontras minimal 4.5:1 untuk teks normal, 3:1 untuk teks besar/komponen UI.
182
+ - **Focus States**: Tampilkan cincin fokus yang jelas (`focus-visible:ring-2 focus-visible:ring-offset-2`) saat menggunakan navigasi keyboard.
183
+ - **Alt Text & ARIA**: Sediakan alt text deskriptif pada gambar; gunakan atribut `aria-expanded`, `aria-controls`, serta elemen HTML semantik.
184
+
185
+ #### 2. Sentuhan & Interaksi - KRITIS
186
+ - **Touch Target Size**: Ukuran area sentuh minimal 44x44px untuk perangkat mobile.
187
+ - **Loading & State**: Nonaktifkan tombol selama operasi asinkron agar tidak terjadi submit ganda; tampilkan spinner halus atau skeleton loader.
188
+ - **Cursor Pointer**: Wajib menambahkan `cursor-pointer` pada elemen interaktif yang dapat diklik.
189
+
190
+ #### 3. Performa & Animasi - TINGGI / MENENGAH
191
+ - **Aset Gambar**: Gunakan format WebP/AVIF, atribut `srcset`, dimensi `width`/`height` eksplisit, serta `loading="lazy"`.
192
+ - **Mikro-interaksi**: Durasi transisi antara 150ms–300ms (`ease-in-out`) agar antarmuka terasa cepat dan responsif.
193
+ - **Reduced Motion**: Hormati preferensi `prefers-reduced-motion: reduce`.
194
+
195
+ #### 4. Kontras Mode Terang & Gelap
196
+ - **Mode Terang**: Teks gelap kontras tinggi (misal Slate-900 `#0F172A`); hindari teks abu-abu pudar. Pastikan batas/border (`border-slate-200`) tetap terlihat.
197
+ - **Mode Gelap**: Kontras tinggi antara elemen latar depan dengan latar belakang gelap; hindari kontainer teks serba hitam pekat `#000000` kecuali diminta khusus.
198
+
199
+ #### 5. Dashboard & Hierarki Informasi
200
+ - **Integrasi Material Design 3 (M3)**: Ikuti tata letak M3 (compact, medium, expanded). Gunakan elevasi M3 untuk pelapisan alih-alih border tebal.
201
+ - **Alur Tata Letak**: Kartu ringkasan KPI di atas -> Grafik tren di tengah -> Tabel detail data di bawah.
202
+ - **Grid Visual**: Konsistensi gap/padding (16px / 24px). Gunakan border halus daripada pembatas tebal hitam.
203
+ - **Visualisasi Data**: Maksimal 3–5 warna terkoordinasi dalam grafik. Tooltip responsif & perataan legenda yang rapi.
204
+
205
+ ---
206
+
207
+ ### Checklist Desain UI/UX Sebelum Delivery
208
+ - [ ] **Visual**: Tidak menggunakan emoji sebagai ikon UI (gunakan ikon SVG seperti Lucide/Heroicons). Efek hover tidak menggeser tata letak.
209
+ - [ ] **Interaksi**: `cursor-pointer` diterapkan pada semua elemen interaktif. Transisi halus 150–300ms.
210
+ - [ ] **Kontras**: Rasio kontras teks minimal 4.5:1 pada mode terang. Border terlihat di kedua mode (terang & gelap).
211
+ - [ ] **Tata Letak & Responsif**: Diuji pada breakpoint 375px, 768px, 1024px, 1440px. Tidak ada scroll horizontal tak disengaja pada perangkat mobile.
212
+ - [ ] **Aksesibilitas**: Semua gambar memiliki `alt` text yang bermakna. Form input memiliki `<label>` terhubung atau `aria-label`.
213
+
214
+ ---
215
+ ### 🎨 Automatic Visual Assets Generation Mandate (CRITICAL)
216
+ **MANDATORY**: Whenever you are building a new application, scaffolding a project, or finalizing the initial UI/UX, you MUST automatically use the `generate_image` tool to create a custom logo that perfectly matches the application's core concept and aesthetic.
217
+ This generated image MUST be explicitly used as:
218
+ 1. The primary application logo (e.g., in the header/navbar).
219
+ 2. The website favicon (`favicon.ico` or equivalent).
220
+ 3. The Open Graph (OG) image for SEO metadata (`og:image`).
221
+
222
+ Do not use placeholders for these assets. Generate and integrate them automatically.