@brunosps00/dev-workflow 0.1.2 → 0.2.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 (79) hide show
  1. package/README.md +2 -3
  2. package/lib/constants.js +2 -17
  3. package/lib/install-deps.js +5 -0
  4. package/package.json +1 -1
  5. package/scaffold/en/commands/dw-analyze-project.md +5 -0
  6. package/scaffold/en/commands/dw-brainstorm.md +8 -0
  7. package/scaffold/en/commands/dw-create-techspec.md +8 -0
  8. package/scaffold/en/commands/dw-functional-doc.md +1 -0
  9. package/scaffold/en/commands/dw-help.md +17 -2
  10. package/scaffold/en/commands/dw-redesign-ui.md +117 -0
  11. package/scaffold/en/commands/dw-refactoring-analysis.md +5 -0
  12. package/scaffold/en/commands/dw-run-qa.md +6 -0
  13. package/scaffold/pt-br/commands/dw-analyze-project.md +5 -0
  14. package/scaffold/pt-br/commands/dw-brainstorm.md +8 -0
  15. package/scaffold/pt-br/commands/dw-create-techspec.md +8 -0
  16. package/scaffold/pt-br/commands/dw-functional-doc.md +1 -0
  17. package/scaffold/pt-br/commands/dw-help.md +15 -0
  18. package/scaffold/pt-br/commands/dw-redesign-ui.md +117 -0
  19. package/scaffold/pt-br/commands/dw-refactoring-analysis.md +5 -0
  20. package/scaffold/pt-br/commands/dw-run-qa.md +6 -0
  21. package/scaffold/skills/ui-ux-pro-max/LICENSE +21 -0
  22. package/scaffold/skills/ui-ux-pro-max/SKILL.md +659 -0
  23. package/scaffold/skills/ui-ux-pro-max/data/_sync_all.py +414 -0
  24. package/scaffold/skills/ui-ux-pro-max/data/app-interface.csv +31 -0
  25. package/scaffold/skills/ui-ux-pro-max/data/charts.csv +26 -0
  26. package/scaffold/skills/ui-ux-pro-max/data/colors.csv +162 -0
  27. package/scaffold/skills/ui-ux-pro-max/data/design.csv +1776 -0
  28. package/scaffold/skills/ui-ux-pro-max/data/draft.csv +1779 -0
  29. package/scaffold/skills/ui-ux-pro-max/data/google-fonts.csv +1924 -0
  30. package/scaffold/skills/ui-ux-pro-max/data/icons.csv +106 -0
  31. package/scaffold/skills/ui-ux-pro-max/data/landing.csv +35 -0
  32. package/scaffold/skills/ui-ux-pro-max/data/products.csv +162 -0
  33. package/scaffold/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  34. package/scaffold/skills/ui-ux-pro-max/data/stacks/angular.csv +51 -0
  35. package/scaffold/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  36. package/scaffold/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  37. package/scaffold/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  38. package/scaffold/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  39. package/scaffold/skills/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
  40. package/scaffold/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  41. package/scaffold/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  42. package/scaffold/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  43. package/scaffold/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  44. package/scaffold/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  45. package/scaffold/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  46. package/scaffold/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  47. package/scaffold/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  48. package/scaffold/skills/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
  49. package/scaffold/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  50. package/scaffold/skills/ui-ux-pro-max/data/styles.csv +85 -0
  51. package/scaffold/skills/ui-ux-pro-max/data/typography.csv +74 -0
  52. package/scaffold/skills/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
  53. package/scaffold/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  54. package/scaffold/skills/ui-ux-pro-max/scripts/core.py +262 -0
  55. package/scaffold/skills/ui-ux-pro-max/scripts/design_system.py +1148 -0
  56. package/scaffold/skills/ui-ux-pro-max/scripts/search.py +114 -0
  57. package/scaffold/skills/ui-ux-pro-max/skills/brand/SKILL.md +97 -0
  58. package/scaffold/skills/ui-ux-pro-max/skills/design/SKILL.md +302 -0
  59. package/scaffold/skills/ui-ux-pro-max/skills/design-system/SKILL.md +244 -0
  60. package/scaffold/skills/ui-ux-pro-max/templates/base/quick-reference.md +297 -0
  61. package/scaffold/skills/ui-ux-pro-max/templates/base/skill-content.md +358 -0
  62. package/scaffold/skills/ui-ux-pro-max/templates/platforms/agent.json +21 -0
  63. package/scaffold/skills/ui-ux-pro-max/templates/platforms/augment.json +18 -0
  64. package/scaffold/skills/ui-ux-pro-max/templates/platforms/claude.json +21 -0
  65. package/scaffold/skills/ui-ux-pro-max/templates/platforms/codebuddy.json +21 -0
  66. package/scaffold/skills/ui-ux-pro-max/templates/platforms/codex.json +21 -0
  67. package/scaffold/skills/ui-ux-pro-max/templates/platforms/continue.json +21 -0
  68. package/scaffold/skills/ui-ux-pro-max/templates/platforms/copilot.json +21 -0
  69. package/scaffold/skills/ui-ux-pro-max/templates/platforms/cursor.json +21 -0
  70. package/scaffold/skills/ui-ux-pro-max/templates/platforms/droid.json +21 -0
  71. package/scaffold/skills/ui-ux-pro-max/templates/platforms/gemini.json +21 -0
  72. package/scaffold/skills/ui-ux-pro-max/templates/platforms/kilocode.json +21 -0
  73. package/scaffold/skills/ui-ux-pro-max/templates/platforms/kiro.json +21 -0
  74. package/scaffold/skills/ui-ux-pro-max/templates/platforms/opencode.json +21 -0
  75. package/scaffold/skills/ui-ux-pro-max/templates/platforms/qoder.json +21 -0
  76. package/scaffold/skills/ui-ux-pro-max/templates/platforms/roocode.json +21 -0
  77. package/scaffold/skills/ui-ux-pro-max/templates/platforms/trae.json +21 -0
  78. package/scaffold/skills/ui-ux-pro-max/templates/platforms/warp.json +18 -0
  79. package/scaffold/skills/ui-ux-pro-max/templates/platforms/windsurf.json +21 -0
@@ -0,0 +1,358 @@
1
+ # {{TITLE}}
2
+
3
+ {{DESCRIPTION}}
4
+ {{QUICK_REFERENCE}}
5
+ # Prerequisites
6
+
7
+ Check if Python is installed:
8
+
9
+ ```bash
10
+ python3 --version || python --version
11
+ ```
12
+
13
+ If Python is not installed, install it based on user's OS:
14
+
15
+ **macOS:**
16
+ ```bash
17
+ brew install python3
18
+ ```
19
+
20
+ **Ubuntu/Debian:**
21
+ ```bash
22
+ sudo apt update && sudo apt install python3
23
+ ```
24
+
25
+ **Windows:**
26
+ ```powershell
27
+ winget install Python.Python.3.12
28
+ ```
29
+
30
+ ---
31
+
32
+ ## How to Use This Skill
33
+
34
+ Use this skill when the user requests any of the following:
35
+
36
+ | Scenario | Trigger Examples | Start From |
37
+ |----------|-----------------|------------|
38
+ | **New project / page** | "做一个 landing page"、"Build a dashboard" | Step 1 → Step 2 (design system) |
39
+ | **New component** | "Create a pricing card"、"Add a modal" | Step 3 (domain search: style, ux) |
40
+ | **Choose style / color / font** | "What style fits a fintech app?"、"推荐配色" | Step 2 (design system) |
41
+ | **Review existing UI** | "Review this page for UX issues"、"检查无障碍" | Quick Reference checklist above |
42
+ | **Fix a UI bug** | "Button hover is broken"、"Layout shifts on load" | Quick Reference → relevant section |
43
+ | **Improve / optimize** | "Make this faster"、"Improve mobile experience" | Step 3 (domain search: ux, react) |
44
+ | **Implement dark mode** | "Add dark mode support" | Step 3 (domain: style "dark mode") |
45
+ | **Add charts / data viz** | "Add an analytics dashboard chart" | Step 3 (domain: chart) |
46
+ | **Stack best practices** | "React performance tips"、"SwiftUI navigation" | Step 4 (stack search) |
47
+
48
+ Follow this workflow:
49
+
50
+ ### Step 1: Analyze User Requirements
51
+
52
+ Extract key information from user request:
53
+ - **Product type**: Entertainment (social, video, music, gaming), Tool (scanner, editor, converter), Productivity (task manager, notes, calendar), or hybrid
54
+ - **Target audience**: C-end consumer users; consider age group, usage context (commute, leisure, work)
55
+ - **Style keywords**: playful, vibrant, minimal, dark mode, content-first, immersive, etc.
56
+ - **Stack**: React Native (this project's only tech stack)
57
+
58
+ ### Step 2: Generate Design System (REQUIRED)
59
+
60
+ **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
61
+
62
+ ```bash
63
+ python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
64
+ ```
65
+
66
+ This command:
67
+ 1. Searches domains in parallel (product, style, color, landing, typography)
68
+ 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
69
+ 3. Returns complete design system: pattern, style, colors, typography, effects
70
+ 4. Includes anti-patterns to avoid
71
+
72
+ **Example:**
73
+ ```bash
74
+ python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
75
+ ```
76
+
77
+ ### Step 2b: Persist Design System (Master + Overrides Pattern)
78
+
79
+ To save the design system for **hierarchical retrieval across sessions**, add `--persist`:
80
+
81
+ ```bash
82
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
83
+ ```
84
+
85
+ This creates:
86
+ - `design-system/MASTER.md` — Global Source of Truth with all design rules
87
+ - `design-system/pages/` — Folder for page-specific overrides
88
+
89
+ **With page-specific override:**
90
+ ```bash
91
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
92
+ ```
93
+
94
+ This also creates:
95
+ - `design-system/pages/dashboard.md` — Page-specific deviations from Master
96
+
97
+ **How hierarchical retrieval works:**
98
+ 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
99
+ 2. If the page file exists, its rules **override** the Master file
100
+ 3. If not, use `design-system/MASTER.md` exclusively
101
+
102
+ **Context-aware retrieval prompt:**
103
+ ```
104
+ I am building the [Page Name] page. Please read design-system/MASTER.md.
105
+ Also check if design-system/pages/[page-name].md exists.
106
+ If the page file exists, prioritize its rules.
107
+ If not, use the Master rules exclusively.
108
+ Now, generate the code...
109
+ ```
110
+
111
+ ### Step 3: Supplement with Detailed Searches (as needed)
112
+
113
+ After getting the design system, use domain searches to get additional details:
114
+
115
+ ```bash
116
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
117
+ ```
118
+
119
+ **When to use detailed searches:**
120
+
121
+ | Need | Domain | Example |
122
+ |------|--------|---------|
123
+ | Product type patterns | `product` | `--domain product "entertainment social"` |
124
+ | More style options | `style` | `--domain style "glassmorphism dark"` |
125
+ | Color palettes | `color` | `--domain color "entertainment vibrant"` |
126
+ | Font pairings | `typography` | `--domain typography "playful modern"` |
127
+ | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
128
+ | UX best practices | `ux` | `--domain ux "animation accessibility"` |
129
+ | Landing structure | `landing` | `--domain landing "hero social-proof"` |
130
+ | React Native perf | `react` | `--domain react "rerender memo list"` |
131
+ | App interface a11y | `web` | `--domain web "accessibilityLabel touch safe-areas"` |
132
+ | AI prompt / CSS keywords | `prompt` | `--domain prompt "minimalism"` |
133
+
134
+ ### Step 4: Stack Guidelines (React Native)
135
+
136
+ Get React Native implementation-specific best practices:
137
+
138
+ ```bash
139
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack react-native
140
+ ```
141
+
142
+ ---
143
+
144
+ ## Search Reference
145
+
146
+ ### Available Domains
147
+
148
+ | Domain | Use For | Example Keywords |
149
+ |--------|---------|------------------|
150
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
151
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
152
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
153
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
154
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
155
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
156
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
157
+ | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
158
+ | `web` | App interface guidelines (iOS/Android/React Native) | accessibilityLabel, touch targets, safe areas, Dynamic Type |
159
+ | `prompt` | AI prompts, CSS keywords | (style name) |
160
+
161
+ ### Available Stacks
162
+
163
+ | Stack | Focus |
164
+ |-------|-------|
165
+ | `react-native` | Components, Navigation, Lists |
166
+
167
+ ---
168
+
169
+ ## Example Workflow
170
+
171
+ **User request:** "Make an AI search homepage。"
172
+
173
+ ### Step 1: Analyze Requirements
174
+ - Product type: Tool (AI search engine)
175
+ - Target audience: C-end users looking for fast, intelligent search
176
+ - Style keywords: modern, minimal, content-first, dark mode
177
+ - Stack: React Native
178
+
179
+ ### Step 2: Generate Design System (REQUIRED)
180
+
181
+ ```bash
182
+ python3 skills/ui-ux-pro-max/scripts/search.py "AI search tool modern minimal" --design-system -p "AI Search"
183
+ ```
184
+
185
+ **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
186
+
187
+ ### Step 3: Supplement with Detailed Searches (as needed)
188
+
189
+ ```bash
190
+ # Get style options for a modern tool product
191
+ python3 skills/ui-ux-pro-max/scripts/search.py "minimalism dark mode" --domain style
192
+
193
+ # Get UX best practices for search interaction and loading
194
+ python3 skills/ui-ux-pro-max/scripts/search.py "search loading animation" --domain ux
195
+ ```
196
+
197
+ ### Step 4: Stack Guidelines
198
+
199
+ ```bash
200
+ python3 skills/ui-ux-pro-max/scripts/search.py "list performance navigation" --stack react-native
201
+ ```
202
+
203
+ **Then:** Synthesize design system + detailed searches and implement the design.
204
+
205
+ ---
206
+
207
+ ## Output Formats
208
+
209
+ The `--design-system` flag supports two output formats:
210
+
211
+ ```bash
212
+ # ASCII box (default) - best for terminal display
213
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
214
+
215
+ # Markdown - best for documentation
216
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
217
+ ```
218
+
219
+ ---
220
+
221
+ ## Tips for Better Results
222
+
223
+ ### Query Strategy
224
+
225
+ - Use **multi-dimensional keywords** — combine product + industry + tone + density: `"entertainment social vibrant content-dense"` not just `"app"`
226
+ - Try different keywords for the same need: `"playful neon"` → `"vibrant dark"` → `"content-first minimal"`
227
+ - Use `--design-system` first for full recommendations, then `--domain` to deep-dive any dimension you're unsure about
228
+ - Always add `--stack react-native` for implementation-specific guidance
229
+
230
+ ### Common Sticking Points
231
+
232
+ | Problem | What to Do |
233
+ |---------|------------|
234
+ | Can't decide on style/color | Re-run `--design-system` with different keywords |
235
+ | Dark mode contrast issues | Quick Reference §6: `color-dark-mode` + `color-accessible-pairs` |
236
+ | Animations feel unnatural | Quick Reference §7: `spring-physics` + `easing` + `exit-faster-than-enter` |
237
+ | Form UX is poor | Quick Reference §8: `inline-validation` + `error-clarity` + `focus-management` |
238
+ | Navigation feels confusing | Quick Reference §9: `nav-hierarchy` + `bottom-nav-limit` + `back-behavior` |
239
+ | Layout breaks on small screens | Quick Reference §5: `mobile-first` + `breakpoint-consistency` |
240
+ | Performance / jank | Quick Reference §3: `virtualize-lists` + `main-thread-budget` + `debounce-throttle` |
241
+
242
+ ### Pre-Delivery Checklist
243
+
244
+ - Run `--domain ux "animation accessibility z-index loading"` as a UX validation pass before implementation
245
+ - Run through Quick Reference **§1–§3** (CRITICAL + HIGH) as a final review
246
+ - Test on 375px (small phone) and landscape orientation
247
+ - Verify behavior with **reduced-motion** enabled and **Dynamic Type** at largest size
248
+ - Check dark mode contrast independently (don't assume light mode values work)
249
+ - Confirm all touch targets ≥44pt and no content hidden behind safe areas
250
+
251
+ ---
252
+
253
+ ## Common Rules for Professional UI
254
+
255
+ These are frequently overlooked issues that make UI look unprofessional:
256
+ Scope notice: The rules below are for App UI (iOS/Android/React Native/Flutter), not desktop-web interaction patterns.
257
+
258
+ ### Icons & Visual Elements
259
+
260
+ - 默认图标库使用 **Phosphor (`@phosphor-icons/react`)**。`src/ui-ux-pro-max/data/icons.csv` 中列出的只是常用推荐图标,不是完整集合。
261
+ - 当推荐表中找不到合适的图标时:
262
+ - **优先继续从 Phosphor 的完整图标集中选择任何语义更贴切的图标**;
263
+ - 如果 Phosphor 也没有理想选项,可以使用 **Heroicons (`@heroicons/react`)** 作为备选,注意保持风格一致(线性/填充、笔画粗细、圆角风格)。
264
+
265
+ | Rule | Standard | Avoid | Why It Matters |
266
+ |------|----------|--------|----------------|
267
+ | **No Emoji as Structural Icons** | Use vector-based icons (e.g., Phosphor `@phosphor-icons/react`, Heroicons `@heroicons/react`, react-native-vector-icons, @expo/vector-icons). | Using emojis (🎨 🚀 ⚙️) for navigation, settings, or system controls. | Emojis are font-dependent, inconsistent across platforms, and cannot be controlled via design tokens. |
268
+ | **Vector-Only Assets** | Use SVG or platform vector icons that scale cleanly and support theming. | Raster PNG icons that blur or pixelate. | Ensures scalability, crisp rendering, and dark/light mode adaptability. |
269
+ | **Stable Interaction States** | Use color, opacity, or elevation transitions for press states without changing layout bounds. | Layout-shifting transforms that move surrounding content or trigger visual jitter. | Prevents unstable interactions and preserves smooth motion/perceived quality on mobile. |
270
+ | **Correct Brand Logos** | Use official brand assets and follow their usage guidelines (spacing, color, clear space). | Guessing logo paths, recoloring unofficially, or modifying proportions. | Prevents brand misuse and ensures legal/platform compliance. |
271
+ | **Consistent Icon Sizing** | Define icon sizes as design tokens (e.g., icon-sm, icon-md = 24pt, icon-lg). | Mixing arbitrary values like 20pt / 24pt / 28pt randomly. | Maintains rhythm and visual hierarchy across the interface. |
272
+ | **Stroke Consistency** | Use a consistent stroke width within the same visual layer (e.g., 1.5px or 2px). | Mixing thick and thin stroke styles arbitrarily. | Inconsistent strokes reduce perceived polish and cohesion. |
273
+ | **Filled vs Outline Discipline** | Use one icon style per hierarchy level. | Mixing filled and outline icons at the same hierarchy level. | Maintains semantic clarity and stylistic coherence. |
274
+ | **Touch Target Minimum** | Minimum 44×44pt interactive area (use hitSlop if icon is smaller). | Small icons without expanded tap area. | Meets accessibility and platform usability standards. |
275
+ | **Icon Alignment** | Align icons to text baseline and maintain consistent padding. | Misaligned icons or inconsistent spacing around them. | Prevents subtle visual imbalance that reduces perceived quality. |
276
+ | **Icon Contrast** | Follow WCAG contrast standards: 4.5:1 for small elements, 3:1 minimum for larger UI glyphs. | Low-contrast icons that blend into the background. | Ensures accessibility in both light and dark modes. |
277
+
278
+
279
+ ### Interaction (App)
280
+
281
+ | Rule | Do | Don't |
282
+ |------|----|----- |
283
+ | **Tap feedback** | Provide clear pressed feedback (ripple/opacity/elevation) within 80-150ms | No visual response on tap |
284
+ | **Animation timing** | Keep micro-interactions around 150-300ms with platform-native easing | Instant transitions or slow animations (>500ms) |
285
+ | **Accessibility focus** | Ensure screen reader focus order matches visual order and labels are descriptive | Unlabeled controls or confusing focus traversal |
286
+ | **Disabled state clarity** | Use disabled semantics (`disabled`/native disabled props), reduced emphasis, and no tap action | Controls that look tappable but do nothing |
287
+ | **Touch target minimum** | Keep tap areas >=44x44pt (iOS) or >=48x48dp (Android), expand hit area when icon is smaller | Tiny tap targets or icon-only hit areas without padding |
288
+ | **Gesture conflict prevention** | Keep one primary gesture per region and avoid nested tap/drag conflicts | Overlapping gestures causing accidental actions |
289
+ | **Semantic native controls** | Prefer native interactive primitives (`Button`, `Pressable`, platform equivalents) with proper accessibility roles | Generic containers used as primary controls without semantics |
290
+
291
+ ### Light/Dark Mode Contrast
292
+
293
+ | Rule | Do | Don't |
294
+ |------|----|----- |
295
+ | **Surface readability (light)** | Keep cards/surfaces clearly separated from background with sufficient opacity/elevation | Overly transparent surfaces that blur hierarchy |
296
+ | **Text contrast (light)** | Maintain body text contrast >=4.5:1 against light surfaces | Low-contrast gray body text |
297
+ | **Text contrast (dark)** | Maintain primary text contrast >=4.5:1 and secondary text >=3:1 on dark surfaces | Dark mode text that blends into background |
298
+ | **Border and divider visibility** | Ensure separators are visible in both themes (not just light mode) | Theme-specific borders disappearing in one mode |
299
+ | **State contrast parity** | Keep pressed/focused/disabled states equally distinguishable in light and dark themes | Defining interaction states for one theme only |
300
+ | **Token-driven theming** | Use semantic color tokens mapped per theme across app surfaces/text/icons | Hardcoded per-screen hex values |
301
+ | **Scrim and modal legibility** | Use a modal scrim strong enough to isolate foreground content (typically 40-60% black) | Weak scrim that leaves background visually competing |
302
+
303
+ ### Layout & Spacing
304
+
305
+ | Rule | Do | Don't |
306
+ |------|----|----- |
307
+ | **Safe-area compliance** | Respect top/bottom safe areas for all fixed headers, tab bars, and CTA bars | Placing fixed UI under notch, status bar, or gesture area |
308
+ | **System bar clearance** | Add spacing for status/navigation bars and gesture home indicator | Let tappable content collide with OS chrome |
309
+ | **Consistent content width** | Keep predictable content width per device class (phone/tablet) | Mixing arbitrary widths between screens |
310
+ | **8dp spacing rhythm** | Use a consistent 4/8dp spacing system for padding/gaps/section spacing | Random spacing increments with no rhythm |
311
+ | **Readable text measure** | Keep long-form text readable on large devices (avoid edge-to-edge paragraphs on tablets) | Full-width long text that hurts readability |
312
+ | **Section spacing hierarchy** | Define clear vertical rhythm tiers (e.g., 16/24/32/48) by hierarchy | Similar UI levels with inconsistent spacing |
313
+ | **Adaptive gutters by breakpoint** | Increase horizontal insets on larger widths and in landscape | Same narrow gutter on all device sizes/orientations |
314
+ | **Scroll and fixed element coexistence** | Add bottom/top content insets so lists are not hidden behind fixed bars | Scroll content obscured by sticky headers/footers |
315
+
316
+ ---
317
+
318
+ ## Pre-Delivery Checklist
319
+
320
+ Before delivering UI code, verify these items:
321
+ Scope notice: This checklist is for App UI (iOS/Android/React Native/Flutter).
322
+
323
+ ### Visual Quality
324
+ - [ ] No emojis used as icons (use SVG instead)
325
+ - [ ] All icons come from a consistent icon family and style
326
+ - [ ] Official brand assets are used with correct proportions and clear space
327
+ - [ ] Pressed-state visuals do not shift layout bounds or cause jitter
328
+ - [ ] Semantic theme tokens are used consistently (no ad-hoc per-screen hardcoded colors)
329
+
330
+ ### Interaction
331
+ - [ ] All tappable elements provide clear pressed feedback (ripple/opacity/elevation)
332
+ - [ ] Touch targets meet minimum size (>=44x44pt iOS, >=48x48dp Android)
333
+ - [ ] Micro-interaction timing stays in the 150-300ms range with native-feeling easing
334
+ - [ ] Disabled states are visually clear and non-interactive
335
+ - [ ] Screen reader focus order matches visual order, and interactive labels are descriptive
336
+ - [ ] Gesture regions avoid nested/conflicting interactions (tap/drag/back-swipe conflicts)
337
+
338
+ ### Light/Dark Mode
339
+ - [ ] Primary text contrast >=4.5:1 in both light and dark mode
340
+ - [ ] Secondary text contrast >=3:1 in both light and dark mode
341
+ - [ ] Dividers/borders and interaction states are distinguishable in both modes
342
+ - [ ] Modal/drawer scrim opacity is strong enough to preserve foreground legibility (typically 40-60% black)
343
+ - [ ] Both themes are tested before delivery (not inferred from a single theme)
344
+
345
+ ### Layout
346
+ - [ ] Safe areas are respected for headers, tab bars, and bottom CTA bars
347
+ - [ ] Scroll content is not hidden behind fixed/sticky bars
348
+ - [ ] Verified on small phone, large phone, and tablet (portrait + landscape)
349
+ - [ ] Horizontal insets/gutters adapt correctly by device size and orientation
350
+ - [ ] 4/8dp spacing rhythm is maintained across component, section, and page levels
351
+ - [ ] Long-form text measure remains readable on larger devices (no edge-to-edge paragraphs)
352
+
353
+ ### Accessibility
354
+ - [ ] All meaningful images/icons have accessibility labels
355
+ - [ ] Form fields have labels, hints, and clear error messages
356
+ - [ ] Color is not the only indicator
357
+ - [ ] Reduced motion and dynamic text size are supported without layout breakage
358
+ - [ ] Accessibility traits/roles/states (selected, disabled, expanded) are announced correctly
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "antigravity",
3
+ "displayName": "Antigravity / Generic Agent",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".agents",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks."
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "platform": "augment",
3
+ "displayName": "Augment",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".augment",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": null,
12
+ "sections": {
13
+ "quickReference": false
14
+ },
15
+ "title": "ui-ux-pro-max",
16
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
17
+ "skillOrWorkflow": "Skill"
18
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "claude",
3
+ "displayName": "Claude Code",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".claude",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 16 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Nuxt, Nuxt UI, Tailwind, shadcn/ui, Jetpack Compose, Three.js, Angular, Laravel). 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. Integrations: shadcn/ui MCP for component search and examples."
14
+ },
15
+ "sections": {
16
+ "quickReference": true
17
+ },
18
+ "title": "UI/UX Pro Max - Design Intelligence",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "codebuddy",
3
+ "displayName": "CodeBuddy",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".codebuddy",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence with searchable database"
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "codex",
3
+ "displayName": "Codex",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".agents",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence with searchable database"
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "continue",
3
+ "displayName": "Continue",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".continue",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence with searchable database"
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "copilot",
3
+ "displayName": "GitHub Copilot",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".github",
7
+ "skillPath": "prompts/ui-ux-pro-max",
8
+ "filename": "PROMPT.md"
9
+ },
10
+ "scriptPath": "prompts/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks."
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Workflow"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "cursor",
3
+ "displayName": "Cursor",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".cursor",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks."
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "droid",
3
+ "displayName": "Droid (Factory)",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".factory",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 16 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). 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
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "UI/UX Pro Max - Design Intelligence",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "gemini",
3
+ "displayName": "Gemini CLI",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".gemini",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence with searchable database"
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "kilocode",
3
+ "displayName": "KiloCode",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".kilocode",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks."
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "kiro",
3
+ "displayName": "Kiro",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".kiro",
7
+ "skillPath": "steering/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "steering/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks."
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Workflow"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "platform": "opencode",
3
+ "displayName": "OpenCode",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".opencode",
7
+ "skillPath": "skills/ui-ux-pro-max",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
+ "frontmatter": {
12
+ "name": "ui-ux-pro-max",
13
+ "description": "UI/UX design intelligence with searchable database"
14
+ },
15
+ "sections": {
16
+ "quickReference": false
17
+ },
18
+ "title": "ui-ux-pro-max",
19
+ "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks. Searchable database with priority-based recommendations.",
20
+ "skillOrWorkflow": "Skill"
21
+ }