@su-record/vibe 2.7.6 → 2.7.9

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 (69) hide show
  1. package/dist/cli/commands/init.d.ts +10 -0
  2. package/dist/cli/commands/init.d.ts.map +1 -1
  3. package/dist/cli/commands/init.js +78 -2
  4. package/dist/cli/commands/init.js.map +1 -1
  5. package/dist/cli/commands/update.d.ts.map +1 -1
  6. package/dist/cli/commands/update.js +17 -2
  7. package/dist/cli/commands/update.js.map +1 -1
  8. package/dist/cli/postinstall/codex-agents.d.ts +12 -0
  9. package/dist/cli/postinstall/codex-agents.d.ts.map +1 -0
  10. package/dist/cli/postinstall/codex-agents.js +51 -0
  11. package/dist/cli/postinstall/codex-agents.js.map +1 -0
  12. package/dist/cli/postinstall/codex-instruction.d.ts +10 -0
  13. package/dist/cli/postinstall/codex-instruction.d.ts.map +1 -0
  14. package/dist/cli/postinstall/codex-instruction.js +56 -0
  15. package/dist/cli/postinstall/codex-instruction.js.map +1 -0
  16. package/dist/cli/postinstall/constants.d.ts.map +1 -1
  17. package/dist/cli/postinstall/constants.js +1 -0
  18. package/dist/cli/postinstall/constants.js.map +1 -1
  19. package/dist/cli/postinstall/gemini-agents.d.ts +12 -0
  20. package/dist/cli/postinstall/gemini-agents.d.ts.map +1 -0
  21. package/dist/cli/postinstall/gemini-agents.js +80 -0
  22. package/dist/cli/postinstall/gemini-agents.js.map +1 -0
  23. package/dist/cli/postinstall/gemini-instruction.d.ts +10 -0
  24. package/dist/cli/postinstall/gemini-instruction.d.ts.map +1 -0
  25. package/dist/cli/postinstall/gemini-instruction.js +59 -0
  26. package/dist/cli/postinstall/gemini-instruction.js.map +1 -0
  27. package/dist/cli/postinstall/index.d.ts +4 -0
  28. package/dist/cli/postinstall/index.d.ts.map +1 -1
  29. package/dist/cli/postinstall/index.js +4 -0
  30. package/dist/cli/postinstall/index.js.map +1 -1
  31. package/dist/cli/postinstall/main.d.ts.map +1 -1
  32. package/dist/cli/postinstall/main.js +34 -1
  33. package/dist/cli/postinstall/main.js.map +1 -1
  34. package/dist/cli/postinstall.d.ts +1 -1
  35. package/dist/cli/postinstall.d.ts.map +1 -1
  36. package/dist/cli/postinstall.js +1 -1
  37. package/dist/cli/postinstall.js.map +1 -1
  38. package/dist/cli/setup/ProjectSetup.d.ts +15 -0
  39. package/dist/cli/setup/ProjectSetup.d.ts.map +1 -1
  40. package/dist/cli/setup/ProjectSetup.js +159 -0
  41. package/dist/cli/setup/ProjectSetup.js.map +1 -1
  42. package/dist/cli/setup.d.ts +1 -1
  43. package/dist/cli/setup.d.ts.map +1 -1
  44. package/dist/cli/setup.js +1 -1
  45. package/dist/cli/setup.js.map +1 -1
  46. package/dist/cli/utils/cli-detector.d.ts +25 -0
  47. package/dist/cli/utils/cli-detector.d.ts.map +1 -0
  48. package/dist/cli/utils/cli-detector.js +55 -0
  49. package/dist/cli/utils/cli-detector.js.map +1 -0
  50. package/hooks/gemini-hooks.json +73 -0
  51. package/package.json +1 -1
  52. package/skills/agents-md/SKILL.md +120 -0
  53. package/skills/brand-assets/SKILL.md +8 -0
  54. package/skills/characterization-test/SKILL.md +4 -0
  55. package/skills/commerce-patterns/SKILL.md +36 -338
  56. package/skills/commit-push-pr/SKILL.md +21 -64
  57. package/skills/core-capabilities/SKILL.md +26 -142
  58. package/skills/e2e-commerce/SKILL.md +37 -284
  59. package/skills/frontend-design/SKILL.md +12 -31
  60. package/skills/git-worktree/SKILL.md +34 -146
  61. package/skills/handoff/SKILL.md +8 -0
  62. package/skills/parallel-research/SKILL.md +7 -0
  63. package/skills/priority-todos/SKILL.md +34 -213
  64. package/skills/seo-checklist/SKILL.md +38 -225
  65. package/skills/tool-fallback/SKILL.md +53 -143
  66. package/skills/typescript-advanced-types/SKILL.md +30 -685
  67. package/skills/ui-ux-pro-max/SKILL.md +40 -220
  68. package/skills/vercel-react-best-practices/SKILL.md +38 -283
  69. package/skills/video-production/SKILL.md +35 -206
@@ -5,16 +5,11 @@ description: "UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairing
5
5
 
6
6
  # UI/UX Pro Max - Design Intelligence
7
7
 
8
- Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 9 technology stacks. Searchable database with priority-based recommendations.
8
+ Searchable database: 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, 25 chart types across 9 stacks.
9
9
 
10
- ## When to Apply
10
+ ## Pre-check (K1)
11
11
 
12
- Reference these guidelines when:
13
- - Designing new UI components or pages
14
- - Choosing color palettes and typography
15
- - Reviewing code for UX issues
16
- - Building landing pages or dashboards
17
- - Implementing accessibility requirements
12
+ > Does this project need custom UI/UX design? If using a pre-built template or admin framework (e.g., Retool, Vercel templates), skip this skill.
18
13
 
19
14
  ## Rule Categories by Priority
20
15
 
@@ -85,281 +80,99 @@ Reference these guidelines when:
85
80
  - `color-guidance` - Use accessible color palettes
86
81
  - `data-table` - Provide table alternative for accessibility
87
82
 
88
- ## How to Use
89
-
90
- Search specific domains using the CLI tool below.
91
-
92
- ---
93
-
94
- ## Prerequisites
95
-
96
- Check if Python is installed:
97
-
98
- ```bash
99
- python3 --version || python --version
100
- ```
101
-
102
- If Python is not installed, install it based on user's OS:
103
-
104
- **macOS:**
105
- ```bash
106
- brew install python3
107
- ```
108
-
109
- **Ubuntu/Debian:**
110
- ```bash
111
- sudo apt update && sudo apt install python3
112
- ```
113
-
114
- **Windows:**
115
- ```powershell
116
- winget install Python.Python.3.12
117
- ```
118
-
119
83
  ---
120
84
 
121
- ## How to Use This Skill
122
-
123
- When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
85
+ ## How to Use
124
86
 
125
- ### Step 1: Analyze User Requirements
87
+ ### Step 1: Analyze Requirements
126
88
 
127
- Extract key information from user request:
128
- - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
129
- - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
130
- - **Industry**: healthcare, fintech, gaming, education, etc.
131
- - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
89
+ Extract from user request: **product type**, **style keywords**, **industry**, **stack** (default: html-tailwind).
132
90
 
133
91
  ### Step 2: Generate Design System (REQUIRED)
134
92
 
135
- **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
136
-
137
93
  ```bash
138
94
  python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
139
95
  ```
140
96
 
141
- This command:
142
- 1. Searches 5 domains in parallel (product, style, color, landing, typography)
143
- 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
144
- 3. Returns complete design system: pattern, style, colors, typography, effects
145
- 4. Includes anti-patterns to avoid
146
-
147
- **Example:**
148
- ```bash
149
- python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
150
- ```
151
-
152
- ### Step 2b: Persist Design System (Master + Overrides Pattern)
153
-
154
- To save the design system for **hierarchical retrieval across sessions**, add `--persist`:
97
+ This searches 5 domains in parallel (product, style, color, landing, typography), applies reasoning rules, and returns complete design system.
155
98
 
99
+ **Persist for cross-session use:**
156
100
  ```bash
157
101
  python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
158
102
  ```
159
103
 
160
- This creates:
161
- - `design-system/MASTER.md` — Global Source of Truth with all design rules
162
- - `design-system/pages/` — Folder for page-specific overrides
104
+ Creates `design-system/MASTER.md` (global) + optional `design-system/pages/<page>.md` (overrides).
163
105
 
164
106
  **With page-specific override:**
165
107
  ```bash
166
- python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
108
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Name" --page "dashboard"
167
109
  ```
168
110
 
169
- This also creates:
170
- - `design-system/pages/dashboard.md` — Page-specific deviations from Master
111
+ **Hierarchical retrieval**: Page file overrides Master. No page file → Master exclusively.
171
112
 
172
- **How hierarchical retrieval works:**
173
- 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
174
- 2. If the page file exists, its rules **override** the Master file
175
- 3. If not, use `design-system/MASTER.md` exclusively
176
-
177
- **Context-aware retrieval prompt:**
178
- ```
179
- I am building the [Page Name] page. Please read design-system/MASTER.md.
180
- Also check if design-system/pages/[page-name].md exists.
181
- If the page file exists, prioritize its rules.
182
- If not, use the Master rules exclusively.
183
- Now, generate the code...
184
- ```
185
-
186
- ### Step 3: Supplement with Detailed Searches (as needed)
187
-
188
- After getting the design system, use domain searches to get additional details:
113
+ ### Step 3: Detailed Searches (as needed)
189
114
 
190
115
  ```bash
191
116
  python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
192
117
  ```
193
118
 
194
- **When to use detailed searches:**
195
-
196
- | Need | Domain | Example |
197
- |------|--------|---------|
198
- | More style options | `style` | `--domain style "glassmorphism dark"` |
199
- | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
200
- | UX best practices | `ux` | `--domain ux "animation accessibility"` |
201
- | Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
202
- | Landing structure | `landing` | `--domain landing "hero social-proof"` |
119
+ Domains: `product`, `style`, `typography`, `color`, `landing`, `chart`, `ux`, `react`, `web`, `prompt`
203
120
 
204
- ### Step 4: Stack Guidelines (Default: html-tailwind)
205
-
206
- Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
121
+ ### Step 4: Stack Guidelines (default: html-tailwind)
207
122
 
208
123
  ```bash
209
124
  python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
210
125
  ```
211
126
 
212
- Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
213
-
214
- ---
215
-
216
- ## Search Reference
217
-
218
- ### Available Domains
219
-
220
- | Domain | Use For | Example Keywords |
221
- |--------|---------|------------------|
222
- | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
223
- | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
224
- | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
225
- | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
226
- | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
227
- | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
228
- | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
229
- | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
230
- | `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
231
- | `prompt` | AI prompts, CSS keywords | (style name) |
232
-
233
- ### Available Stacks
234
-
235
- | Stack | Focus |
236
- |-------|-------|
237
- | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
238
- | `react` | State, hooks, performance, patterns |
239
- | `nextjs` | SSR, routing, images, API routes |
240
- | `vue` | Composition API, Pinia, Vue Router |
241
- | `svelte` | Runes, stores, SvelteKit |
242
- | `swiftui` | Views, State, Navigation, Animation |
243
- | `react-native` | Components, Navigation, Lists |
244
- | `flutter` | Widgets, State, Layout, Theming |
245
- | `shadcn` | shadcn/ui components, theming, forms, patterns |
246
- | `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
247
-
248
- ---
249
-
250
- ## Example Workflow
251
-
252
- **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
253
-
254
- ### Step 1: Analyze Requirements
255
- - Product type: Beauty/Spa service
256
- - Style keywords: elegant, professional, soft
257
- - Industry: Beauty/Wellness
258
- - Stack: html-tailwind (default)
259
-
260
- ### Step 2: Generate Design System (REQUIRED)
261
-
262
- ```bash
263
- python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
264
- ```
265
-
266
- **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
267
-
268
- ### Step 3: Supplement with Detailed Searches (as needed)
269
-
270
- ```bash
271
- # Get UX guidelines for animation and accessibility
272
- python3 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
273
-
274
- # Get alternative typography options if needed
275
- python3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
276
- ```
277
-
278
- ### Step 4: Stack Guidelines
279
-
280
- ```bash
281
- python3 skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
282
- ```
283
-
284
- **Then:** Synthesize design system + detailed searches and implement the design.
285
-
286
- ---
287
-
288
- ## Output Formats
289
-
290
- The `--design-system` flag supports two output formats:
291
-
292
- ```bash
293
- # ASCII box (default) - best for terminal display
294
- python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
295
-
296
- # Markdown - best for documentation
297
- python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
298
- ```
299
-
300
- ---
301
-
302
- ## Tips for Better Results
303
-
304
- 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
305
- 2. **Search multiple times** - Different keywords reveal different insights
306
- 3. **Combine domains** - Style + Typography + Color = Complete design system
307
- 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
308
- 5. **Use stack flag** - Get implementation-specific best practices
309
- 6. **Iterate** - If first search doesn't match, try different keywords
127
+ Stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
310
128
 
311
129
  ---
312
130
 
313
131
  ## Common Rules for Professional UI
314
132
 
315
- These are frequently overlooked issues that make UI look unprofessional:
316
-
317
133
  ### Icons & Visual Elements
318
134
 
319
135
  | Rule | Do | Don't |
320
136
  |------|----|----- |
321
- | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
137
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis as UI icons |
322
138
  | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
323
139
  | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
324
- | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
140
+ | **Consistent icon sizing** | Fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes |
325
141
 
326
142
  ### Interaction & Cursor
327
143
 
328
144
  | Rule | Do | Don't |
329
145
  |------|----|----- |
330
- | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
331
- | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
332
- | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
146
+ | **Cursor pointer** | `cursor-pointer` on all clickable elements | Default cursor on interactive elements |
147
+ | **Hover feedback** | Visual feedback (color, shadow, border) | No indication element is interactive |
148
+ | **Smooth transitions** | `transition-colors duration-200` | Instant changes or >500ms |
333
149
 
334
150
  ### Light/Dark Mode Contrast
335
151
 
336
152
  | Rule | Do | Don't |
337
153
  |------|----|----- |
338
- | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
339
- | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
340
- | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
341
- | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
154
+ | **Glass card light mode** | `bg-white/80` or higher opacity | `bg-white/10` (too transparent) |
155
+ | **Text contrast light** | `#0F172A` (slate-900) for text | `#94A3B8` (slate-400) for body |
156
+ | **Muted text light** | `#475569` (slate-600) minimum | gray-400 or lighter |
157
+ | **Border visibility** | `border-gray-200` in light mode | `border-white/10` (invisible) |
342
158
 
343
159
  ### Layout & Spacing
344
160
 
345
161
  | Rule | Do | Don't |
346
162
  |------|----|----- |
347
- | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
348
- | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
349
- | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
163
+ | **Floating navbar** | `top-4 left-4 right-4` spacing | Stick to `top-0 left-0 right-0` |
164
+ | **Content padding** | Account for fixed navbar height | Content hidden behind fixed elements |
165
+ | **Consistent max-width** | Same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
350
166
 
351
167
  ---
352
168
 
353
169
  ## Pre-Delivery Checklist
354
170
 
355
- Before delivering UI code, verify these items:
356
-
357
171
  ### Visual Quality
358
- - [ ] No emojis used as icons (use SVG instead)
359
- - [ ] All icons from consistent icon set (Heroicons/Lucide)
360
- - [ ] Brand logos are correct (verified from Simple Icons)
172
+ - [ ] No emojis used as icons (SVG instead)
173
+ - [ ] All icons from consistent set (Heroicons/Lucide)
174
+ - [ ] Brand logos verified (Simple Icons)
361
175
  - [ ] Hover states don't cause layout shift
362
- - [ ] Use theme colors directly (bg-primary) not var() wrapper
363
176
 
364
177
  ### Interaction
365
178
  - [ ] All clickable elements have `cursor-pointer`
@@ -368,13 +181,13 @@ Before delivering UI code, verify these items:
368
181
  - [ ] Focus states visible for keyboard navigation
369
182
 
370
183
  ### Light/Dark Mode
371
- - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
184
+ - [ ] Light mode text has sufficient contrast (4.5:1)
372
185
  - [ ] Glass/transparent elements visible in light mode
373
186
  - [ ] Borders visible in both modes
374
- - [ ] Test both modes before delivery
187
+ - [ ] Both modes tested before delivery
375
188
 
376
189
  ### Layout
377
- - [ ] Floating elements have proper spacing from edges
190
+ - [ ] Floating elements have proper edge spacing
378
191
  - [ ] No content hidden behind fixed navbars
379
192
  - [ ] Responsive at 375px, 768px, 1024px, 1440px
380
193
  - [ ] No horizontal scroll on mobile
@@ -384,3 +197,10 @@ Before delivering UI code, verify these items:
384
197
  - [ ] Form inputs have labels
385
198
  - [ ] Color is not the only indicator
386
199
  - [ ] `prefers-reduced-motion` respected
200
+
201
+ ## Done Criteria (K4)
202
+
203
+ - [ ] Design system generated before implementation
204
+ - [ ] All pre-delivery checklist items verified
205
+ - [ ] Both light and dark modes tested
206
+ - [ ] Responsive at all breakpoints