bobo-ai-cli 3.0.4 → 3.0.5

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 (238) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +259 -259
  3. package/bundled-skills/CORE_SKILLS.txt +18 -18
  4. package/bundled-skills/backend-expert/SKILL.md +97 -97
  5. package/bundled-skills/code-review/SKILL.md +280 -280
  6. package/bundled-skills/code-review-expert/SKILL.md +85 -85
  7. package/bundled-skills/context-budget-analyzer/SKILL.md +76 -76
  8. package/bundled-skills/context-compressor/SKILL.md +75 -75
  9. package/bundled-skills/context-optimization-suite/SKILL.md +162 -162
  10. package/bundled-skills/frontend-expert/SKILL.md +93 -93
  11. package/bundled-skills/github/SKILL.md +12 -12
  12. package/bundled-skills/high-agency/SKILL.md +473 -473
  13. package/bundled-skills/high-agency/references/builder-patterns.md +126 -126
  14. package/bundled-skills/high-agency/references/recovery-playbook.md +298 -298
  15. package/bundled-skills/memory-manager/SKILL.md +214 -214
  16. package/bundled-skills/memory-manager/references/advanced-config.md +65 -65
  17. package/bundled-skills/orchestrator/SKILL.md +681 -681
  18. package/bundled-skills/planning-with-files/SKILL.md +193 -193
  19. package/bundled-skills/skill-creator/SKILL.md +220 -220
  20. package/bundled-skills/testing-expert/SKILL.md +99 -99
  21. package/bundled-skills/verify/SKILL.md +15 -15
  22. package/dist/agent.d.ts +5 -0
  23. package/dist/agent.js +11 -1
  24. package/dist/agent.js.map +1 -1
  25. package/dist/agents/catalog.d.ts +47 -0
  26. package/dist/agents/catalog.js +63 -5
  27. package/dist/agents/catalog.js.map +1 -1
  28. package/dist/agents/router.d.ts +12 -1
  29. package/dist/agents/router.js +43 -3
  30. package/dist/agents/router.js.map +1 -1
  31. package/dist/agents/spawn.js +36 -18
  32. package/dist/agents/spawn.js.map +1 -1
  33. package/dist/autonomous.js +5 -5
  34. package/dist/cli.js +23 -21
  35. package/dist/cli.js.map +1 -1
  36. package/dist/compactor.js +39 -39
  37. package/dist/dream.js +29 -29
  38. package/dist/image-input.d.ts +44 -0
  39. package/dist/image-input.js +161 -0
  40. package/dist/image-input.js.map +1 -0
  41. package/dist/memory.js +13 -13
  42. package/dist/project.js +15 -15
  43. package/dist/repl.js +88 -0
  44. package/dist/repl.js.map +1 -1
  45. package/dist/skills.js +54 -54
  46. package/dist/sub-agents.js +65 -65
  47. package/dist/tools/browser.js +21 -21
  48. package/dist/tools/claude-code.js +10 -10
  49. package/dist/web.js +7 -7
  50. package/dist/wiki-commands.d.ts +2 -0
  51. package/dist/wiki-commands.js +249 -0
  52. package/dist/wiki-commands.js.map +1 -0
  53. package/dist/wiki.d.ts +90 -0
  54. package/dist/wiki.js +614 -0
  55. package/dist/wiki.js.map +1 -0
  56. package/knowledge/advanced-patterns.md +70 -70
  57. package/knowledge/agent-directives.md +74 -74
  58. package/knowledge/api-integration-patterns.md +102 -0
  59. package/knowledge/code-review-protocol.md +69 -0
  60. package/knowledge/dream.md +36 -36
  61. package/knowledge/engineering.md +52 -46
  62. package/knowledge/error-catalog.md +38 -33
  63. package/knowledge/event-driven-architecture.md +43 -0
  64. package/knowledge/external-alignment.md +47 -0
  65. package/knowledge/high-agency.md +73 -0
  66. package/knowledge/image-generation.md +48 -0
  67. package/knowledge/index.json +194 -169
  68. package/knowledge/llm-wiki-pattern.md +71 -0
  69. package/knowledge/long-task-management.md +79 -0
  70. package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -102
  71. package/knowledge/memory/engineering-patterns.md +134 -134
  72. package/knowledge/memory/feedback_root_structure.md +15 -15
  73. package/knowledge/memory/project-contexts.md +69 -69
  74. package/knowledge/memory/tools-and-services.md +85 -85
  75. package/knowledge/memory-management.md +72 -0
  76. package/knowledge/rules/advisor-strategy.md +204 -0
  77. package/knowledge/rules/agents.md +62 -62
  78. package/knowledge/rules/blocking-rules.md +323 -323
  79. package/knowledge/rules/cache-management.md +379 -379
  80. package/knowledge/rules/capability-evolution.md +132 -132
  81. package/knowledge/rules/coding.md +126 -126
  82. package/knowledge/rules/engineering-workflows.md +225 -225
  83. package/knowledge/rules/evomap-content-guidelines.md +354 -354
  84. package/knowledge/rules/evomap-guide.md +224 -224
  85. package/knowledge/rules/external-alignment.md +22 -0
  86. package/knowledge/rules/git.md +31 -31
  87. package/knowledge/rules/hooks.md +106 -106
  88. package/knowledge/rules/performance.md +101 -101
  89. package/knowledge/rules/remotion-auto-production.md +1120 -1120
  90. package/knowledge/rules/security.md +46 -46
  91. package/knowledge/rules/testing.md +32 -32
  92. package/knowledge/rules/work-mode.md +208 -208
  93. package/knowledge/rules.md +62 -62
  94. package/knowledge/self-evolution.md +78 -0
  95. package/knowledge/self-rationalization-guard.md +52 -0
  96. package/knowledge/skills/Skill_Seekers.md +1722 -1722
  97. package/knowledge/skills/ab-test-setup.md +557 -557
  98. package/knowledge/skills/agent-sdk-dev.md +238 -238
  99. package/knowledge/skills/agent-tools.md +136 -136
  100. package/knowledge/skills/analytics-tracking.md +597 -597
  101. package/knowledge/skills/artifacts-builder.md +89 -89
  102. package/knowledge/skills/asana.md +12 -12
  103. package/knowledge/skills/backend-expert.md +97 -97
  104. package/knowledge/skills/brand-voice.md +481 -481
  105. package/knowledge/skills/browser-use.md +419 -419
  106. package/knowledge/skills/cache-optimization-skill.md +179 -179
  107. package/knowledge/skills/canvas-design.md +147 -147
  108. package/knowledge/skills/citation-validator.md +203 -203
  109. package/knowledge/skills/clangd-lsp.md +52 -52
  110. package/knowledge/skills/code-review-expert.md +85 -85
  111. package/knowledge/skills/code-review.md +280 -280
  112. package/knowledge/skills/code-simplifier.md +12 -12
  113. package/knowledge/skills/commit-commands.md +258 -258
  114. package/knowledge/skills/competitor-alternatives.md +795 -795
  115. package/knowledge/skills/content-atomizer.md +910 -910
  116. package/knowledge/skills/content-research-writer.md +605 -605
  117. package/knowledge/skills/context-optimization-suite.md +162 -162
  118. package/knowledge/skills/context7.md +12 -12
  119. package/knowledge/skills/copy-editing.md +494 -494
  120. package/knowledge/skills/copywriting.md +510 -510
  121. package/knowledge/skills/csharp-lsp.md +40 -40
  122. package/knowledge/skills/decision-making-framework.md +154 -154
  123. package/knowledge/skills/developer-growth-analysis.md +335 -335
  124. package/knowledge/skills/direct-response-copy.md +2336 -2336
  125. package/knowledge/skills/docker-expert.md +229 -229
  126. package/knowledge/skills/document-skills.md +12 -12
  127. package/knowledge/skills/documentation-expert.md +126 -126
  128. package/knowledge/skills/email-sequence.md +1061 -1061
  129. package/knowledge/skills/email-sequences.md +910 -910
  130. package/knowledge/skills/example-plugin.md +72 -72
  131. package/knowledge/skills/explanatory-output-style.md +82 -82
  132. package/knowledge/skills/feature-dev.md +458 -458
  133. package/knowledge/skills/file-organizer.md +466 -466
  134. package/knowledge/skills/firebase.disabled.md +12 -12
  135. package/knowledge/skills/form-cro.md +488 -488
  136. package/knowledge/skills/free-tool-strategy.md +636 -636
  137. package/knowledge/skills/frontend-design-offical.md +55 -55
  138. package/knowledge/skills/frontend-design.md +41 -41
  139. package/knowledge/skills/frontend-expert.md +93 -93
  140. package/knowledge/skills/github.md +12 -12
  141. package/knowledge/skills/gitlab.md +12 -12
  142. package/knowledge/skills/gopls-lsp.md +32 -32
  143. package/knowledge/skills/got-controller.md +218 -218
  144. package/knowledge/skills/greptile.md +72 -72
  145. package/knowledge/skills/hookify.md +376 -376
  146. package/knowledge/skills/image-editor.md +189 -189
  147. package/knowledge/skills/image-enhancer.md +109 -109
  148. package/knowledge/skills/jdtls-lsp.md +49 -49
  149. package/knowledge/skills/json-canvas.md +654 -654
  150. package/knowledge/skills/keyword-research.md +559 -559
  151. package/knowledge/skills/kotlin-lsp.md +28 -28
  152. package/knowledge/skills/laravel-boost.md +12 -12
  153. package/knowledge/skills/launch-strategy.md +394 -394
  154. package/knowledge/skills/lead-magnet.md +393 -393
  155. package/knowledge/skills/learning-output-style.md +106 -106
  156. package/knowledge/skills/linear.md +12 -12
  157. package/knowledge/skills/lua-lsp.md +47 -47
  158. package/knowledge/skills/marketing-ideas.md +720 -720
  159. package/knowledge/skills/marketing-psychology.md +534 -534
  160. package/knowledge/skills/mcp-builder.md +369 -369
  161. package/knowledge/skills/meeting-insights-analyzer.md +347 -347
  162. package/knowledge/skills/memory-evolution-system.md +172 -172
  163. package/knowledge/skills/multi-lens-thinking.md +407 -407
  164. package/knowledge/skills/nano-banana-pro.md +116 -116
  165. package/knowledge/skills/newsletter.md +736 -736
  166. package/knowledge/skills/notebooklm.md +296 -296
  167. package/knowledge/skills/obsidian-bases.md +634 -634
  168. package/knowledge/skills/obsidian-markdown.md +651 -651
  169. package/knowledge/skills/onboarding-cro.md +494 -494
  170. package/knowledge/skills/orchestrator.md +681 -681
  171. package/knowledge/skills/page-cro.md +379 -379
  172. package/knowledge/skills/paid-ads.md +624 -624
  173. package/knowledge/skills/paywall-upgrade-cro.md +651 -651
  174. package/knowledge/skills/php-lsp.md +36 -36
  175. package/knowledge/skills/planning-with-files.md +193 -193
  176. package/knowledge/skills/playwright.md +12 -12
  177. package/knowledge/skills/plugin-dev.md +434 -434
  178. package/knowledge/skills/popup-cro.md +520 -520
  179. package/knowledge/skills/positioning-angles.md +330 -330
  180. package/knowledge/skills/pr-review-toolkit.md +359 -359
  181. package/knowledge/skills/pricing-strategy.md +777 -777
  182. package/knowledge/skills/programmatic-seo.md +714 -714
  183. package/knowledge/skills/pyright-lsp.md +43 -43
  184. package/knowledge/skills/quality-assurance-framework.md +168 -168
  185. package/knowledge/skills/question-refiner.md +160 -160
  186. package/knowledge/skills/ralph-loop.md +205 -205
  187. package/knowledge/skills/refactoring-expert.md +103 -103
  188. package/knowledge/skills/referral-program.md +668 -668
  189. package/knowledge/skills/research-executor.md +164 -164
  190. package/knowledge/skills/review-with-security.md +12 -12
  191. package/knowledge/skills/rust-analyzer-lsp.md +50 -50
  192. package/knowledge/skills/schema-markup.md +647 -647
  193. package/knowledge/skills/security-audit-expert.md +124 -124
  194. package/knowledge/skills/security-expert.md +140 -140
  195. package/knowledge/skills/security-guidance.md +12 -12
  196. package/knowledge/skills/seedance-prompt.md +139 -139
  197. package/knowledge/skills/self-evolution.md +1160 -1160
  198. package/knowledge/skills/seo-audit.md +432 -432
  199. package/knowledge/skills/seo-content.md +787 -787
  200. package/knowledge/skills/serena.md +12 -12
  201. package/knowledge/skills/signup-flow-cro.md +409 -409
  202. package/knowledge/skills/skill-creator.md +220 -220
  203. package/knowledge/skills/skill-manager.md +226 -226
  204. package/knowledge/skills/skill-share.md +98 -98
  205. package/knowledge/skills/slack.md +12 -12
  206. package/knowledge/skills/social-content.md +878 -878
  207. package/knowledge/skills/spec-flow-skill.md +124 -124
  208. package/knowledge/skills/stripe.md +12 -12
  209. package/knowledge/skills/supabase.md +12 -12
  210. package/knowledge/skills/swift-lsp.md +40 -40
  211. package/knowledge/skills/synthesizer.md +236 -236
  212. package/knowledge/skills/template-skill.md +16 -16
  213. package/knowledge/skills/testing-expert.md +99 -99
  214. package/knowledge/skills/theme-factory.md +72 -72
  215. package/knowledge/skills/tiktok-research.md +208 -208
  216. package/knowledge/skills/typescript-lsp.md +36 -36
  217. package/knowledge/skills/ui-ux-pro-max.md +247 -247
  218. package/knowledge/skills/verify.md +15 -15
  219. package/knowledge/skills/visual-prompt-engineer.md +102 -102
  220. package/knowledge/skills/webapp-testing.md +111 -111
  221. package/knowledge/skills/wide-research.md +191 -191
  222. package/knowledge/system.md +93 -93
  223. package/knowledge/task-router.md +46 -37
  224. package/knowledge/verification.md +38 -38
  225. package/knowledge/worker-prompt-craft.md +66 -0
  226. package/knowledge/workflows/3d-viz.md +47 -47
  227. package/knowledge/workflows/data-pipeline.md +47 -47
  228. package/knowledge/workflows/db-migration.md +51 -51
  229. package/knowledge/workflows/feature-dev.md +41 -41
  230. package/knowledge/workflows/tdd-flow.md +52 -52
  231. package/knowledge/workflows/ui-verify.md +51 -51
  232. package/package.json +74 -74
  233. package/dist/claude-bridge.d.ts +0 -18
  234. package/dist/claude-bridge.js +0 -91
  235. package/dist/claude-bridge.js.map +0 -1
  236. package/dist/tools/claude-bridge-tool.d.ts +0 -4
  237. package/dist/tools/claude-bridge-tool.js +0 -44
  238. package/dist/tools/claude-bridge-tool.js.map +0 -1
@@ -1,247 +1,247 @@
1
- ---
2
- id: "ui-ux-pro-max"
3
- title: "UI/UX Pro Max - Design Intelligence"
4
- category: "design"
5
- tags: ["prerequisites", "how to use this skill", "search reference", "example workflow", "1. search product type", "3. search typography", "4. search color palette", "6. search ux guidelines", "tips for better results", "pre-delivery checklist"]
6
- triggers: []
7
- dependencies: []
8
- source: "E:/Bobo's Coding cache/.claude/skills/ui-ux-pro-max"
9
- ---
10
-
11
- ---
12
- name: ui-ux-pro-max
13
- description: 'UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.'
14
- ---
15
-
16
- # UI/UX Pro Max - Design Intelligence
17
-
18
- Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
19
-
20
- ## Prerequisites
21
-
22
- Check if Python is installed:
23
-
24
- ```bash
25
- python3 --version || python --version
26
- ```
27
-
28
- If Python is not installed, install it based on user's OS:
29
-
30
- **macOS:**
31
-
32
- ```bash
33
- brew install python3
34
- ```
35
-
36
- **Ubuntu/Debian:**
37
-
38
- ```bash
39
- sudo apt update && sudo apt install python3
40
- ```
41
-
42
- **Windows:**
43
-
44
- ```powershell
45
- winget install Python.Python.3.12
46
- ```
47
-
48
- ---
49
-
50
- ## How to Use This Skill
51
-
52
- When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
53
-
54
- ### Step 1: Analyze User Requirements
55
-
56
- Extract key information from user request:
57
-
58
- - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
59
- - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
60
- - **Industry**: healthcare, fintech, gaming, education, etc.
61
- - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
62
-
63
- ### Step 2: Search Relevant Domains
64
-
65
- Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.
66
-
67
- ```bash
68
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
69
- ```
70
-
71
- **Recommended search order:**
72
-
73
- 1. **Product** - Get style recommendations for product type
74
- 2. **Style** - Get detailed style guide (colors, effects, frameworks)
75
- 3. **Typography** - Get font pairings with Google Fonts imports
76
- 4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
77
- 5. **Landing** - Get page structure (if landing page)
78
- 6. **Chart** - Get chart recommendations (if dashboard/analytics)
79
- 7. **UX** - Get best practices and anti-patterns
80
- 8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
81
-
82
- ### Step 3: Stack Guidelines (Default: html-tailwind)
83
-
84
- If user doesn't specify a stack, **default to `html-tailwind`**.
85
-
86
- ```bash
87
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
88
- ```
89
-
90
- Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`
91
-
92
- ---
93
-
94
- ## Search Reference
95
-
96
- ### Available Domains
97
-
98
- | Domain | Use For | Example Keywords |
99
- | ------------ | ------------------------------------ | -------------------------------------------------------- |
100
- | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
101
- | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
102
- | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
103
- | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
104
- | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
105
- | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
106
- | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
107
- | `prompt` | AI prompts, CSS keywords | (style name) |
108
-
109
- ### Available Stacks
110
-
111
- | Stack | Focus |
112
- | --------------- | ---------------------------------------------- |
113
- | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
114
- | `react` | State, hooks, performance, patterns |
115
- | `nextjs` | SSR, routing, images, API routes |
116
- | `vue` | Composition API, Pinia, Vue Router |
117
- | `svelte` | Runes, stores, SvelteKit |
118
- | `swiftui` | Views, State, Navigation, Animation |
119
- | `react-native` | Components, Navigation, Lists |
120
- | `flutter` | Widgets, State, Layout, Theming |
121
-
122
- ---
123
-
124
- ## Example Workflow
125
-
126
- **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
127
-
128
- **AI should:**
129
-
130
- ```bash
131
- # 1. Search product type
132
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
133
-
134
- # 2. Search style (based on industry: beauty, elegant)
135
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
136
-
137
- # 3. Search typography
138
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
139
-
140
- # 4. Search color palette
141
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
142
-
143
- # 5. Search landing page structure
144
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
145
-
146
- # 6. Search UX guidelines
147
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux
148
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
149
-
150
- # 7. Search stack guidelines (default: html-tailwind)
151
- python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
152
- ```
153
-
154
- **Then:** Synthesize all search results and implement the design.
155
-
156
- ---
157
-
158
- ## Tips for Better Results
159
-
160
- 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
161
- 2. **Search multiple times** - Different keywords reveal different insights
162
- 3. **Combine domains** - Style + Typography + Color = Complete design system
163
- 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
164
- 5. **Use stack flag** - Get implementation-specific best practices
165
- 6. **Iterate** - If first search doesn't match, try different keywords
166
-
167
- ---
168
-
169
- ## Common Rules for Professional UI
170
-
171
- These are frequently overlooked issues that make UI look unprofessional:
172
-
173
- ### Icons & Visual Elements
174
-
175
- | Rule | Do | Don't |
176
- | -------------------------- | ----------------------------------------------- | -------------------------------------- |
177
- | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
178
- | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
179
- | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
180
- | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
181
-
182
- ### Interaction & Cursor
183
-
184
- | Rule | Do | Don't |
185
- | ---------------------- | ----------------------------------------------------- | -------------------------------------------- |
186
- | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
187
- | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
188
- | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
189
-
190
- ### Light/Dark Mode Contrast
191
-
192
- | Rule | Do | Don't |
193
- | ------------------------- | ----------------------------------- | --------------------------------------- |
194
- | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
195
- | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
196
- | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
197
- | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
198
-
199
- ### Layout & Spacing
200
-
201
- | Rule | Do | Don't |
202
- | ------------------------ | ----------------------------------- | -------------------------------------- |
203
- | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
204
- | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
205
- | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
206
-
207
- ---
208
-
209
- ## Pre-Delivery Checklist
210
-
211
- Before delivering UI code, verify these items:
212
-
213
- ### Visual Quality
214
-
215
- - [ ] No emojis used as icons (use SVG instead)
216
- - [ ] All icons from consistent icon set (Heroicons/Lucide)
217
- - [ ] Brand logos are correct (verified from Simple Icons)
218
- - [ ] Hover states don't cause layout shift
219
- - [ ] Use theme colors directly (bg-primary) not var() wrapper
220
-
221
- ### Interaction
222
-
223
- - [ ] All clickable elements have `cursor-pointer`
224
- - [ ] Hover states provide clear visual feedback
225
- - [ ] Transitions are smooth (150-300ms)
226
- - [ ] Focus states visible for keyboard navigation
227
-
228
- ### Light/Dark Mode
229
-
230
- - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
231
- - [ ] Glass/transparent elements visible in light mode
232
- - [ ] Borders visible in both modes
233
- - [ ] Test both modes before delivery
234
-
235
- ### Layout
236
-
237
- - [ ] Floating elements have proper spacing from edges
238
- - [ ] No content hidden behind fixed navbars
239
- - [ ] Responsive at 320px, 768px, 1024px, 1440px
240
- - [ ] No horizontal scroll on mobile
241
-
242
- ### Accessibility
243
-
244
- - [ ] All images have alt text
245
- - [ ] Form inputs have labels
246
- - [ ] Color is not the only indicator
247
- - [ ] `prefers-reduced-motion` respected
1
+ ---
2
+ id: "ui-ux-pro-max"
3
+ title: "UI/UX Pro Max - Design Intelligence"
4
+ category: "design"
5
+ tags: ["prerequisites", "how to use this skill", "search reference", "example workflow", "1. search product type", "3. search typography", "4. search color palette", "6. search ux guidelines", "tips for better results", "pre-delivery checklist"]
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/ui-ux-pro-max"
9
+ ---
10
+
11
+ ---
12
+ name: ui-ux-pro-max
13
+ description: 'UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.'
14
+ ---
15
+
16
+ # UI/UX Pro Max - Design Intelligence
17
+
18
+ Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
19
+
20
+ ## Prerequisites
21
+
22
+ Check if Python is installed:
23
+
24
+ ```bash
25
+ python3 --version || python --version
26
+ ```
27
+
28
+ If Python is not installed, install it based on user's OS:
29
+
30
+ **macOS:**
31
+
32
+ ```bash
33
+ brew install python3
34
+ ```
35
+
36
+ **Ubuntu/Debian:**
37
+
38
+ ```bash
39
+ sudo apt update && sudo apt install python3
40
+ ```
41
+
42
+ **Windows:**
43
+
44
+ ```powershell
45
+ winget install Python.Python.3.12
46
+ ```
47
+
48
+ ---
49
+
50
+ ## How to Use This Skill
51
+
52
+ When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
53
+
54
+ ### Step 1: Analyze User Requirements
55
+
56
+ Extract key information from user request:
57
+
58
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
59
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
60
+ - **Industry**: healthcare, fintech, gaming, education, etc.
61
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
62
+
63
+ ### Step 2: Search Relevant Domains
64
+
65
+ Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.
66
+
67
+ ```bash
68
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
69
+ ```
70
+
71
+ **Recommended search order:**
72
+
73
+ 1. **Product** - Get style recommendations for product type
74
+ 2. **Style** - Get detailed style guide (colors, effects, frameworks)
75
+ 3. **Typography** - Get font pairings with Google Fonts imports
76
+ 4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
77
+ 5. **Landing** - Get page structure (if landing page)
78
+ 6. **Chart** - Get chart recommendations (if dashboard/analytics)
79
+ 7. **UX** - Get best practices and anti-patterns
80
+ 8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
81
+
82
+ ### Step 3: Stack Guidelines (Default: html-tailwind)
83
+
84
+ If user doesn't specify a stack, **default to `html-tailwind`**.
85
+
86
+ ```bash
87
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
88
+ ```
89
+
90
+ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`
91
+
92
+ ---
93
+
94
+ ## Search Reference
95
+
96
+ ### Available Domains
97
+
98
+ | Domain | Use For | Example Keywords |
99
+ | ------------ | ------------------------------------ | -------------------------------------------------------- |
100
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
101
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
102
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
103
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
104
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
105
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
106
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
107
+ | `prompt` | AI prompts, CSS keywords | (style name) |
108
+
109
+ ### Available Stacks
110
+
111
+ | Stack | Focus |
112
+ | --------------- | ---------------------------------------------- |
113
+ | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
114
+ | `react` | State, hooks, performance, patterns |
115
+ | `nextjs` | SSR, routing, images, API routes |
116
+ | `vue` | Composition API, Pinia, Vue Router |
117
+ | `svelte` | Runes, stores, SvelteKit |
118
+ | `swiftui` | Views, State, Navigation, Animation |
119
+ | `react-native` | Components, Navigation, Lists |
120
+ | `flutter` | Widgets, State, Layout, Theming |
121
+
122
+ ---
123
+
124
+ ## Example Workflow
125
+
126
+ **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
127
+
128
+ **AI should:**
129
+
130
+ ```bash
131
+ # 1. Search product type
132
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
133
+
134
+ # 2. Search style (based on industry: beauty, elegant)
135
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
136
+
137
+ # 3. Search typography
138
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
139
+
140
+ # 4. Search color palette
141
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
142
+
143
+ # 5. Search landing page structure
144
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
145
+
146
+ # 6. Search UX guidelines
147
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux
148
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
149
+
150
+ # 7. Search stack guidelines (default: html-tailwind)
151
+ python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
152
+ ```
153
+
154
+ **Then:** Synthesize all search results and implement the design.
155
+
156
+ ---
157
+
158
+ ## Tips for Better Results
159
+
160
+ 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
161
+ 2. **Search multiple times** - Different keywords reveal different insights
162
+ 3. **Combine domains** - Style + Typography + Color = Complete design system
163
+ 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
164
+ 5. **Use stack flag** - Get implementation-specific best practices
165
+ 6. **Iterate** - If first search doesn't match, try different keywords
166
+
167
+ ---
168
+
169
+ ## Common Rules for Professional UI
170
+
171
+ These are frequently overlooked issues that make UI look unprofessional:
172
+
173
+ ### Icons & Visual Elements
174
+
175
+ | Rule | Do | Don't |
176
+ | -------------------------- | ----------------------------------------------- | -------------------------------------- |
177
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
178
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
179
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
180
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
181
+
182
+ ### Interaction & Cursor
183
+
184
+ | Rule | Do | Don't |
185
+ | ---------------------- | ----------------------------------------------------- | -------------------------------------------- |
186
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
187
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
188
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
189
+
190
+ ### Light/Dark Mode Contrast
191
+
192
+ | Rule | Do | Don't |
193
+ | ------------------------- | ----------------------------------- | --------------------------------------- |
194
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
195
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
196
+ | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
197
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
198
+
199
+ ### Layout & Spacing
200
+
201
+ | Rule | Do | Don't |
202
+ | ------------------------ | ----------------------------------- | -------------------------------------- |
203
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
204
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
205
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
206
+
207
+ ---
208
+
209
+ ## Pre-Delivery Checklist
210
+
211
+ Before delivering UI code, verify these items:
212
+
213
+ ### Visual Quality
214
+
215
+ - [ ] No emojis used as icons (use SVG instead)
216
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
217
+ - [ ] Brand logos are correct (verified from Simple Icons)
218
+ - [ ] Hover states don't cause layout shift
219
+ - [ ] Use theme colors directly (bg-primary) not var() wrapper
220
+
221
+ ### Interaction
222
+
223
+ - [ ] All clickable elements have `cursor-pointer`
224
+ - [ ] Hover states provide clear visual feedback
225
+ - [ ] Transitions are smooth (150-300ms)
226
+ - [ ] Focus states visible for keyboard navigation
227
+
228
+ ### Light/Dark Mode
229
+
230
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
231
+ - [ ] Glass/transparent elements visible in light mode
232
+ - [ ] Borders visible in both modes
233
+ - [ ] Test both modes before delivery
234
+
235
+ ### Layout
236
+
237
+ - [ ] Floating elements have proper spacing from edges
238
+ - [ ] No content hidden behind fixed navbars
239
+ - [ ] Responsive at 320px, 768px, 1024px, 1440px
240
+ - [ ] No horizontal scroll on mobile
241
+
242
+ ### Accessibility
243
+
244
+ - [ ] All images have alt text
245
+ - [ ] Form inputs have labels
246
+ - [ ] Color is not the only indicator
247
+ - [ ] `prefers-reduced-motion` respected
@@ -1,15 +1,15 @@
1
- ---
2
- id: "verify"
3
- title: "Verify"
4
- category: "dev-tools"
5
- tags: []
6
- triggers: []
7
- dependencies: []
8
- source: "E:/Bobo's Coding cache/.claude/skills/verify"
9
- ---
10
-
11
- 启动开发服务器并检查:
12
-
13
- 1. 视觉元素正确渲染
14
- 2. 3D 连接正确附着
15
- 3. 无控制台错误
1
+ ---
2
+ id: "verify"
3
+ title: "Verify"
4
+ category: "dev-tools"
5
+ tags: []
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/verify"
9
+ ---
10
+
11
+ 启动开发服务器并检查:
12
+
13
+ 1. 视觉元素正确渲染
14
+ 2. 3D 连接正确附着
15
+ 3. 无控制台错误