start-vibing 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/template/.claude/CLAUDE.md +86 -20
  3. package/template/.claude/agents/sd-audit.md +197 -0
  4. package/template/.claude/agents/sd-fix-verify-semantic.md +112 -0
  5. package/template/.claude/agents/sd-fix-verify-technical.md +36 -0
  6. package/template/.claude/agents/sd-fix.md +194 -0
  7. package/template/.claude/agents/sd-research.md +61 -0
  8. package/template/.claude/agents/sd-synthesis.md +74 -0
  9. package/template/.claude/commands/super-design.md +15 -0
  10. package/template/.claude/hooks/super-design-session-start.sh +4 -0
  11. package/template/.claude/settings.json +14 -0
  12. package/template/.claude/skills/codebase-knowledge/SKILL.md +145 -0
  13. package/template/.claude/skills/codebase-knowledge/TEMPLATE.md +35 -0
  14. package/template/.claude/skills/codebase-knowledge/domains/claude-system.md +93 -0
  15. package/template/.claude/skills/composition-patterns/SKILL.md +89 -0
  16. package/template/.claude/skills/docs-tracker/SKILL.md +239 -0
  17. package/template/.claude/skills/mcp-builder/SKILL.md +236 -0
  18. package/template/.claude/skills/quality-gate/scripts/check-all.sh +83 -0
  19. package/template/.claude/skills/react-best-practices/SKILL.md +146 -0
  20. package/template/.claude/skills/security-scan/reference/owasp-top-10.md +257 -0
  21. package/template/.claude/skills/security-scan/scripts/scan.py +190 -0
  22. package/template/.claude/skills/super-design/README.md +37 -0
  23. package/template/.claude/skills/super-design/SKILL.md +105 -0
  24. package/template/.claude/skills/super-design/hooks/guard-paths.py +35 -0
  25. package/template/.claude/skills/super-design/hooks/post-edit-lint.py +57 -0
  26. package/template/.claude/skills/super-design/references/audit-methodology.md +513 -0
  27. package/template/.claude/skills/super-design/references/change-detection-playbook.md +1432 -0
  28. package/template/.claude/skills/super-design/references/design-theory.md +706 -0
  29. package/template/.claude/skills/super-design/references/fix-agent-playbook.md +118 -0
  30. package/template/.claude/skills/super-design/references/market-research-playbook.md +773 -0
  31. package/template/.claude/skills/super-design/references/playwright-mcp-reference.md +1057 -0
  32. package/template/.claude/skills/super-design/references/skills-subagents-reference.md +784 -0
  33. package/template/.claude/skills/super-design/references/superpowers-and-distribution.md +136 -0
  34. package/template/.claude/skills/super-design/scripts/detect-changes.sh +61 -0
  35. package/template/.claude/skills/super-design/scripts/diff-tokens.sh +13 -0
  36. package/template/.claude/skills/super-design/scripts/discover-routes.sh +45 -0
  37. package/template/.claude/skills/super-design/scripts/extract-tokens.mjs +41 -0
  38. package/template/.claude/skills/super-design/scripts/hash-pages.sh +42 -0
  39. package/template/.claude/skills/super-design/scripts/validate-state.sh +15 -0
  40. package/template/.claude/skills/super-design/scripts/verify-audit.sh +19 -0
  41. package/template/.claude/skills/super-design/templates/audit-state.schema.json +57 -0
  42. package/template/.claude/skills/super-design/templates/findings.schema.json +57 -0
  43. package/template/.claude/skills/super-design/templates/fix-history.md.tpl +26 -0
  44. package/template/.claude/skills/super-design/templates/overview.md.tpl +52 -0
  45. package/template/.claude/skills/test-coverage/reference/playwright-patterns.md +260 -0
  46. package/template/.claude/skills/test-coverage/scripts/coverage-check.sh +52 -0
  47. package/template/.claude/skills/typeui-ant/SKILL.md +133 -0
  48. package/template/.claude/skills/typeui-application/SKILL.md +128 -0
  49. package/template/.claude/skills/typeui-artistic/SKILL.md +133 -0
  50. package/template/.claude/skills/typeui-bento/SKILL.md +127 -0
  51. package/template/.claude/skills/typeui-bold/SKILL.md +127 -0
  52. package/template/.claude/skills/typeui-clean/SKILL.md +128 -0
  53. package/template/.claude/skills/typeui-dashboard/SKILL.md +133 -0
  54. package/template/.claude/skills/typeui-doodle/SKILL.md +142 -0
  55. package/template/.claude/skills/typeui-dramatic/SKILL.md +127 -0
  56. package/template/.claude/skills/typeui-enterprise/SKILL.md +132 -0
  57. package/template/.claude/skills/typeui-neobrutalism/SKILL.md +127 -0
  58. package/template/.claude/skills/typeui-paper/SKILL.md +127 -0
  59. package/template/.claude/skills/ui-ux-audit/QUICK-START.md +450 -0
  60. package/template/.claude/skills/ui-ux-audit/README.md +470 -0
  61. package/template/.claude/skills/ui-ux-audit/templates/audit-report.md +591 -0
  62. package/template/.claude/skills/ui-ux-audit/templates/competitor-analysis.md +363 -0
  63. package/template/.claude/skills/ui-ux-audit/templates/component-spec.md +491 -0
  64. package/template/.claude/skills/ui-ux-audit/templates/improvement-recommendation.md +450 -0
  65. package/template/.claude/skills/web-design-guidelines/SKILL.md +39 -0
  66. package/template/.claude/skills/webapp-testing/SKILL.md +96 -0
  67. package/template/.claude/skills/workflow-state/workflow-state.json +77 -0
@@ -0,0 +1,470 @@
1
+ # UI/UX Audit System - UseFlow Marketplace
2
+
3
+ ## Purpose
4
+
5
+ This directory contains all UI/UX research, audits, and design documentation for the UseFlow marketplace platform.
6
+
7
+ ---
8
+
9
+ ## Directory Structure
10
+
11
+ ```
12
+ ui-ux-audit/
13
+ ├── README.md # This file - Index and overview
14
+ ├── SKILL.md # Skill definition and workflow
15
+ ├── research/ # Competitor research and market analysis
16
+ ├── audits/ # UI/UX audit reports
17
+ ├── templates/ # Documentation templates
18
+ └── cache/ # Cached research data
19
+ ```
20
+
21
+ ---
22
+
23
+ ## Current Design System
24
+
25
+ ### Technology Stack
26
+
27
+ | Component | Technology |
28
+ | --------------- | ------------------------- |
29
+ | Framework | Next.js 15.2.4 + React 19 |
30
+ | Styling | Tailwind CSS 3.4.17 |
31
+ | UI Components | shadcn/ui (Radix UI) |
32
+ | Animations | Framer Motion 12.23.26 |
33
+ | Icons | Lucide React 0.454.0 |
34
+ | Charts | Recharts (latest) |
35
+ | Form Management | React Hook Form |
36
+ | Validation | Zod 3.24.1 |
37
+
38
+ ### Design Tokens
39
+
40
+ #### Colors
41
+
42
+ **Primary Palette - Violet (Modern)**
43
+
44
+ - Primary: `hsl(262, 83%, 58%)` - #8B5CF6
45
+ - Primary variants: 50-900 scale
46
+ - Warm gray scale for neutrals
47
+
48
+ **Semantic Colors**
49
+
50
+ - Success: `#22C55E` (green)
51
+ - Warning: `#EAB308` (yellow)
52
+ - Error: `#EF4444` (red)
53
+ - Info: `#3B82F6` (blue)
54
+
55
+ **Platform Colors**
56
+
57
+ - Instagram: `#E1306C` + gradient
58
+ - YouTube: `#FF0000` + gradient
59
+ - TikTok: `#000000` with cyan/pink accents
60
+
61
+ #### Typography
62
+
63
+ **Font Families**
64
+
65
+ - Sans: Inter (default)
66
+ - Display: Plus Jakarta Sans
67
+ - Mono: JetBrains Mono
68
+
69
+ **Scale**
70
+
71
+ - Uses Tailwind default scale
72
+ - Custom spacing: 18, 88, 128
73
+
74
+ #### Spacing
75
+
76
+ **System**
77
+
78
+ - 4px base scale (Tailwind default)
79
+ - Container padding: 2rem
80
+ - Max width: 1400px (2xl breakpoint)
81
+
82
+ #### Border Radius
83
+
84
+ - Default: 0.75rem (12px)
85
+ - sm: calc(0.75rem - 4px)
86
+ - md: calc(0.75rem - 2px)
87
+ - lg: 0.75rem
88
+ - xl: 12px
89
+ - 2xl: 16px
90
+
91
+ #### Shadows
92
+
93
+ - soft: `0 2px 8px -2px rgba(0, 0, 0, 0.1)`
94
+ - medium: `0 4px 16px -4px rgba(0, 0, 0, 0.1)`
95
+ - large: `0 8px 32px -8px rgba(0, 0, 0, 0.15)`
96
+ - glow-primary: `0 0 20px rgba(139, 92, 246, 0.3)`
97
+ - glow-pink: `0 0 20px rgba(236, 72, 153, 0.3)`
98
+
99
+ #### Animations
100
+
101
+ **Built-in Animations**
102
+
103
+ - accordion-down/up
104
+ - fade-in, fade-in-up
105
+ - slide-up, slide-down, slide-in-right, slide-in-left
106
+ - scale-in
107
+ - spin-slow, pulse-soft
108
+ - shimmer, float, gradient-x, bounce-soft
109
+
110
+ **Custom Keyframes**
111
+
112
+ - blob, gradient-shift, particles
113
+
114
+ ---
115
+
116
+ ## Component Inventory
117
+
118
+ ### UI Components (shadcn/ui)
119
+
120
+ **Layout**
121
+
122
+ - accordion
123
+ - card
124
+ - collapsible
125
+ - resizable
126
+ - scroll-area
127
+ - separator
128
+ - sidebar
129
+ - tabs
130
+
131
+ **Navigation**
132
+
133
+ - breadcrumb
134
+ - command
135
+ - context-menu
136
+ - dropdown-menu
137
+ - menubar
138
+ - navigation-menu
139
+ - pagination
140
+
141
+ **Forms**
142
+
143
+ - button
144
+ - checkbox
145
+ - form
146
+ - input
147
+ - input-otp
148
+ - label
149
+ - radio-group
150
+ - select
151
+ - slider
152
+ - switch
153
+ - textarea
154
+
155
+ **Overlays**
156
+
157
+ - alert-dialog
158
+ - dialog
159
+ - drawer
160
+ - hover-card
161
+ - popover
162
+ - sheet
163
+ - tooltip
164
+
165
+ **Feedback**
166
+
167
+ - alert
168
+ - badge
169
+ - progress
170
+ - skeleton
171
+ - sonner (toast)
172
+ - toast
173
+ - toaster
174
+
175
+ **Data Display**
176
+
177
+ - aspect-ratio
178
+ - avatar
179
+ - calendar
180
+ - carousel
181
+ - chart
182
+ - table
183
+
184
+ **Utility**
185
+
186
+ - toggle
187
+ - toggle-group
188
+ - use-mobile (hook)
189
+ - use-toast (hook)
190
+
191
+ ### Magic UI Components (Custom Animations)
192
+
193
+ - animated-card
194
+ - animated-list
195
+ - animated-skeleton
196
+ - number-ticker
197
+ - shimmer-button
198
+
199
+ ### Marketplace Components
200
+
201
+ **Filter System**
202
+
203
+ - FilterSidebar (desktop)
204
+ - MobileFilters (mobile)
205
+
206
+ ### Feature Components
207
+
208
+ **Admin**
209
+
210
+ - AccountsManagement
211
+ - AdminStats
212
+ - AnalyticsDashboard
213
+ - EscrowManagement
214
+ - IntentsManagement
215
+ - ReportsGenerator
216
+ - ReportsManagement
217
+ - SystemLogs
218
+ - TransactionsManagement
219
+ - UsersManagement
220
+
221
+ **Escrow**
222
+
223
+ - DeadlineTimer
224
+
225
+ **Profile**
226
+
227
+ - ProfileStats
228
+ - PurchasesList
229
+ - SalesList
230
+
231
+ **Purchases**
232
+
233
+ - BuyerEscrowModal
234
+ - PurchaseCard
235
+ - PurchaseStatsCards
236
+
237
+ **Sales**
238
+
239
+ - AccountCard
240
+ - EditAccountModal
241
+ - EscrowModal
242
+ - FiltersSection
243
+ - StatsCards
244
+ - TransactionCard
245
+
246
+ **Wallet**
247
+
248
+ - DepositModal
249
+ - IntentsHistory
250
+ - QRCodeModal
251
+
252
+ **Global**
253
+
254
+ - AccountStatusModal
255
+ - AuthGuard
256
+ - ImageUpload
257
+ - NotificationBell
258
+
259
+ ### Providers
260
+
261
+ - DepositModalContext
262
+ - ModalContext
263
+ - Providers (root provider)
264
+ - SessionProvider
265
+ - UserContext
266
+ - theme-provider
267
+
268
+ ---
269
+
270
+ ## Page Inventory
271
+
272
+ ### Public Pages
273
+
274
+ - `/` - Homepage/Landing
275
+ - `/marketplace` - Marketplace listing
276
+ - `/marketplace/[id]` - Account detail
277
+ - `/login` - Login
278
+ - `/registro` - Registration
279
+ - `/forgot-password` - Password recovery
280
+ - `/verify-email` - Email verification
281
+ - `/termos` - Terms of service
282
+ - `/contato` - Contact
283
+
284
+ ### Authenticated Pages
285
+
286
+ - `/carteira` - Wallet
287
+ - `/perfil` - Profile
288
+ - `/vender` - Sell account
289
+ - `/minhas-vendas` - My sales
290
+ - `/minhas-compras` - My purchases
291
+ - `/escrow` - Escrow list
292
+ - `/escrow/[id]` - Escrow detail
293
+ - `/logout` - Logout
294
+
295
+ ### Admin Pages
296
+
297
+ - `/admin` - Admin dashboard
298
+
299
+ ---
300
+
301
+ ## Current UI/UX Patterns
302
+
303
+ ### Layout Strategy
304
+
305
+ **Desktop (1280px+)**
306
+
307
+ - Sidebar navigation
308
+ - Multi-column layouts
309
+ - Dense information display
310
+ - Hover interactions
311
+
312
+ **Mobile (375px+)**
313
+
314
+ - Bottom navigation
315
+ - Single column stack
316
+ - Touch-friendly (44x44px targets)
317
+ - Swipe gestures
318
+
319
+ ### Loading States
320
+
321
+ **Pattern: Skeleton Loading**
322
+
323
+ - All components have matching skeletons
324
+ - Same dimensions as final content
325
+ - `animate-pulse` animation
326
+ - Maintains layout structure
327
+
328
+ ### Interactive Patterns
329
+
330
+ **Cards**
331
+
332
+ - Hover lift effect
333
+ - Smooth transitions (0.3s cubic-bezier)
334
+ - Shadow on hover
335
+ - Optional scale effect
336
+
337
+ **Buttons**
338
+
339
+ - Primary: Violet gradient
340
+ - Secondary: Muted background
341
+ - Disabled: 50% opacity
342
+ - Focus ring: 2px primary
343
+
344
+ **Forms**
345
+
346
+ - Inline validation
347
+ - Error messages below field
348
+ - Focus ring on inputs
349
+ - Label above input
350
+
351
+ ### Responsive Strategy
352
+
353
+ **Mobile-First**
354
+
355
+ - Base styles for mobile
356
+ - Progressive enhancement
357
+ - Breakpoints: sm (640), md (768), lg (1024), xl (1280), 2xl (1400)
358
+
359
+ **Overflow Prevention**
360
+
361
+ - No horizontal scroll allowed
362
+ - `min-w-0` on flex children
363
+ - `overflow-hidden` on containers
364
+ - `flex-shrink-0` on fixed width elements
365
+
366
+ ---
367
+
368
+ ## Research Index
369
+
370
+ ### Completed Research
371
+
372
+ (None yet - to be added by research agent)
373
+
374
+ ### Pending Research
375
+
376
+ 1. Competitor marketplace analysis
377
+ 2. Filter/search UX patterns
378
+ 3. Escrow flow best practices
379
+ 4. Mobile marketplace navigation
380
+ 5. Trust indicators and badges
381
+
382
+ ---
383
+
384
+ ## Audit Index
385
+
386
+ ### Completed Audits
387
+
388
+ (None yet - to be added by ui-ux-reviewer agent)
389
+
390
+ ### Pending Audits
391
+
392
+ 1. WCAG 2.1 compliance
393
+ 2. Responsive design validation
394
+ 3. Touch target sizes
395
+ 4. Color contrast ratios
396
+ 5. Keyboard navigation
397
+
398
+ ---
399
+
400
+ ## Templates
401
+
402
+ See `templates/` directory for:
403
+
404
+ - Competitor analysis template
405
+ - Component specification template
406
+ - Improvement recommendation template
407
+ - Audit report template
408
+
409
+ ---
410
+
411
+ ## Usage Guidelines
412
+
413
+ ### For Research Agent
414
+
415
+ 1. Store competitor research in `research/[topic].md`
416
+ 2. Use template from `templates/competitor-analysis.md`
417
+ 3. Include screenshots and URLs
418
+ 4. Update this README with research index
419
+
420
+ ### For UI/UX Reviewer Agent
421
+
422
+ 1. Store audit reports in `audits/[feature]-audit.md`
423
+ 2. Use template from `templates/audit-report.md`
424
+ 3. Include WCAG compliance checklist
425
+ 4. Update this README with audit index
426
+
427
+ ### For Implementer Agents
428
+
429
+ 1. Check existing research before new features
430
+ 2. Follow design system tokens
431
+ 3. Use existing component patterns
432
+ 4. Create matching skeleton loaders
433
+ 5. Test all required viewports
434
+
435
+ ---
436
+
437
+ ## Quality Standards
438
+
439
+ ### Accessibility (WCAG 2.1 Level AA)
440
+
441
+ - [ ] Text contrast: 4.5:1 normal, 3:1 large
442
+ - [ ] Touch targets: Minimum 44x44px
443
+ - [ ] Keyboard navigation: All interactive elements
444
+ - [ ] Screen reader: Semantic HTML + ARIA
445
+ - [ ] Alt text: All images
446
+ - [ ] Form labels: All inputs
447
+
448
+ ### Responsiveness
449
+
450
+ - [ ] Mobile (375px): Single column, touch-friendly
451
+ - [ ] Tablet (768px): Optimized layout
452
+ - [ ] Desktop (1280px): Full features
453
+ - [ ] FullHD (1920px): No overflow
454
+ - [ ] Zero horizontal scroll
455
+
456
+ ### Performance
457
+
458
+ - [ ] Skeleton loading states
459
+ - [ ] Lazy loading images
460
+ - [ ] Code splitting
461
+ - [ ] Optimized animations (prefers-reduced-motion)
462
+ - [ ] Minimal layout shift
463
+
464
+ ---
465
+
466
+ ## Version
467
+
468
+ - **v1.0.0** - Initial structure (2025-12-19)
469
+ - Created by: Documenter Agent
470
+ - Last updated: 2025-12-19