@vudovn/antigravity-kit 1.0.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.
- package/README.md +311 -0
- package/bin/index.js +240 -0
- package/package.json +39 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/core.py +245 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/search.py +69 -0
- package/templates/.agent/rules/01-identity.md +17 -0
- package/templates/.agent/rules/02-task-classification.md +36 -0
- package/templates/.agent/rules/03-mode-consulting.md +54 -0
- package/templates/.agent/rules/04-mode-build.md +54 -0
- package/templates/.agent/rules/05-mode-debug.md +66 -0
- package/templates/.agent/rules/06-mode-optimize.md +64 -0
- package/templates/.agent/rules/07-technical-standards.md +61 -0
- package/templates/.agent/rules/08-communication.md +34 -0
- package/templates/.agent/rules/09-checklist.md +45 -0
- package/templates/.agent/rules/10-special-situations.md +81 -0
- package/templates/.agent/skills/accessibility-expert/SKILL.md +430 -0
- package/templates/.agent/skills/ai-sdk-expert/SKILL.md +541 -0
- package/templates/.agent/skills/auth-expert/SKILL.md +105 -0
- package/templates/.agent/skills/cli-expert/SKILL.md +848 -0
- package/templates/.agent/skills/code-review/SKILL.md +424 -0
- package/templates/.agent/skills/css-expert/SKILL.md +401 -0
- package/templates/.agent/skills/database-expert/SKILL.md +324 -0
- package/templates/.agent/skills/devops-expert/SKILL.md +784 -0
- package/templates/.agent/skills/docker-expert/SKILL.md +409 -0
- package/templates/.agent/skills/documentation-expert/SKILL.md +493 -0
- package/templates/.agent/skills/git-expert/SKILL.md +522 -0
- package/templates/.agent/skills/github-actions-expert/SKILL.md +454 -0
- package/templates/.agent/skills/jest-expert/SKILL.md +957 -0
- package/templates/.agent/skills/mongodb-expert/SKILL.md +761 -0
- package/templates/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/templates/.agent/skills/nextjs-expert/SKILL.md +443 -0
- package/templates/.agent/skills/nodejs-expert/SKILL.md +192 -0
- package/templates/.agent/skills/oracle/SKILL.md +340 -0
- package/templates/.agent/skills/playwright-expert/SKILL.md +214 -0
- package/templates/.agent/skills/postgres-expert/SKILL.md +642 -0
- package/templates/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/templates/.agent/skills/react-expert/SKILL.md +310 -0
- package/templates/.agent/skills/react-performance/SKILL.md +816 -0
- package/templates/.agent/skills/refactoring-expert/SKILL.md +394 -0
- package/templates/.agent/skills/research-expert/SKILL.md +231 -0
- package/templates/.agent/skills/rest-api-expert/SKILL.md +469 -0
- package/templates/.agent/skills/state-management-expert/SKILL.md +157 -0
- package/templates/.agent/skills/testing-expert/SKILL.md +621 -0
- package/templates/.agent/skills/triage-expert/SKILL.md +419 -0
- package/templates/.agent/skills/typescript-expert/SKILL.md +429 -0
- package/templates/.agent/skills/typescript-type/SKILL.md +790 -0
- package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
- package/templates/.agent/skills/vite-expert/SKILL.md +785 -0
- package/templates/.agent/skills/vitest-expert/SKILL.md +325 -0
- package/templates/.agent/skills/webpack-expert/SKILL.md +745 -0
- package/templates/.agent/workflows/request.md +82 -0
- package/templates/.agent/workflows/ui-ux-pro-max.md +231 -0
- package/templates/web/README.md +36 -0
- package/templates/web/eslint.config.mjs +18 -0
- package/templates/web/next.config.ts +8 -0
- package/templates/web/package-lock.json +6549 -0
- package/templates/web/package.json +27 -0
- package/templates/web/postcss.config.mjs +7 -0
- package/templates/web/public/favicon.ico +0 -0
- package/templates/web/public/images/antigravity-kit-logo.png +0 -0
- package/templates/web/public/images/claudekit.png +0 -0
- package/templates/web/public/images/logo.png +0 -0
- package/templates/web/src/app/globals.css +276 -0
- package/templates/web/src/app/layout.tsx +55 -0
- package/templates/web/src/app/page.tsx +23 -0
- package/templates/web/src/components/Credits.tsx +162 -0
- package/templates/web/src/components/Features.tsx +92 -0
- package/templates/web/src/components/Footer.tsx +74 -0
- package/templates/web/src/components/Hero.tsx +117 -0
- package/templates/web/src/components/HowItWorks.tsx +96 -0
- package/templates/web/src/components/Navbar.tsx +87 -0
- package/templates/web/src/components/Skills.tsx +182 -0
- package/templates/web/tsconfig.json +34 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-ux-pro-max
|
|
3
|
+
description: "UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 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."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UI/UX Pro Max - Design Intelligence
|
|
7
|
+
|
|
8
|
+
Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
Check if Python is installed:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
python3 --version || python --version
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
If Python is not installed, instruct the user to install it based on their OS.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## How to Use This Skill
|
|
23
|
+
|
|
24
|
+
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
|
|
25
|
+
|
|
26
|
+
### Step 1: Analyze User Requirements
|
|
27
|
+
|
|
28
|
+
Extract key information from user request:
|
|
29
|
+
- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
|
|
30
|
+
- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
|
|
31
|
+
- **Industry**: healthcare, fintech, gaming, education, etc.
|
|
32
|
+
- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
|
|
33
|
+
|
|
34
|
+
### Step 2: Search Relevant Domains
|
|
35
|
+
|
|
36
|
+
Use `run_shell_command` to execute the `search.py` script multiple times to gather comprehensive information. Search until you have enough context.
|
|
37
|
+
|
|
38
|
+
**Command Format:**
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Recommended search order:**
|
|
45
|
+
|
|
46
|
+
1. **Product** - Get style recommendations for product type
|
|
47
|
+
2. **Style** - Get detailed style guide (colors, effects, frameworks)
|
|
48
|
+
3. **Typography** - Get font pairings with Google Fonts imports
|
|
49
|
+
4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
|
|
50
|
+
5. **Landing** - Get page structure (if landing page)
|
|
51
|
+
6. **Chart** - Get chart recommendations (if dashboard/analytics)
|
|
52
|
+
7. **UX** - Get best practices and anti-patterns
|
|
53
|
+
8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
|
|
54
|
+
|
|
55
|
+
### Step 3: Stack Guidelines (Default: html-tailwind)
|
|
56
|
+
|
|
57
|
+
If user doesn't specify a stack, **default to `html-tailwind`**.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Search Reference
|
|
68
|
+
|
|
69
|
+
### Available Domains
|
|
70
|
+
|
|
71
|
+
| Domain | Use For | Example Keywords |
|
|
72
|
+
|--------|---------|------------------|
|
|
73
|
+
| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
|
|
74
|
+
| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
|
|
75
|
+
| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
|
|
76
|
+
| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
|
|
77
|
+
| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
|
|
78
|
+
| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
|
|
79
|
+
| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
|
|
80
|
+
| `prompt` | AI prompts, CSS keywords | (style name) |
|
|
81
|
+
|
|
82
|
+
### Available Stacks
|
|
83
|
+
|
|
84
|
+
| Stack | Focus |
|
|
85
|
+
|-------|-------|
|
|
86
|
+
| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
|
|
87
|
+
| `react` | State, hooks, performance, patterns |
|
|
88
|
+
| `nextjs` | SSR, routing, images, API routes |
|
|
89
|
+
| `vue` | Composition API, Pinia, Vue Router |
|
|
90
|
+
| `svelte` | Runes, stores, SvelteKit |
|
|
91
|
+
| `swiftui` | Views, State, Navigation, Animation |
|
|
92
|
+
| `react-native` | Components, Navigation, Lists |
|
|
93
|
+
| `flutter` | Widgets, State, Layout, Theming |
|
|
94
|
+
| `shadcn` | shadcn/ui components, theming, forms, patterns |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Example Workflow
|
|
99
|
+
|
|
100
|
+
**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
|
|
101
|
+
|
|
102
|
+
**AI should:**
|
|
103
|
+
|
|
104
|
+
1. Search product type:
|
|
105
|
+
```bash
|
|
106
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
2. Search style (based on industry: beauty, elegant):
|
|
110
|
+
```bash
|
|
111
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
3. Search typography:
|
|
115
|
+
```bash
|
|
116
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
4. Search color palette:
|
|
120
|
+
```bash
|
|
121
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
5. Search landing page structure:
|
|
125
|
+
```bash
|
|
126
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
6. Search UX guidelines:
|
|
130
|
+
```bash
|
|
131
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux
|
|
132
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
7. Search stack guidelines (default: html-tailwind):
|
|
136
|
+
```bash
|
|
137
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**Then:** Synthesize all search results and implement the design.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Tips for Better Results
|
|
145
|
+
|
|
146
|
+
1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
|
|
147
|
+
2. **Search multiple times** - Different keywords reveal different insights
|
|
148
|
+
3. **Combine domains** - Style + Typography + Color = Complete design system
|
|
149
|
+
4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
|
|
150
|
+
5. **Use stack flag** - Get implementation-specific best practices
|
|
151
|
+
6. **Iterate** - If first search doesn't match, try different keywords
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Common Rules for Professional UI
|
|
156
|
+
|
|
157
|
+
These are frequently overlooked issues that make UI look unprofessional:
|
|
158
|
+
|
|
159
|
+
### Icons & Visual Elements
|
|
160
|
+
|
|
161
|
+
| Rule | Do | Don't |
|
|
162
|
+
|------|----|----- |
|
|
163
|
+
| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
|
|
164
|
+
| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
|
|
165
|
+
| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
|
|
166
|
+
| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
|
|
167
|
+
|
|
168
|
+
### Interaction & Cursor
|
|
169
|
+
|
|
170
|
+
| Rule | Do | Don't |
|
|
171
|
+
|------|----|----- |
|
|
172
|
+
| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
|
|
173
|
+
| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
|
|
174
|
+
| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
|
|
175
|
+
|
|
176
|
+
### Light/Dark Mode Contrast
|
|
177
|
+
|
|
178
|
+
| Rule | Do | Don't |
|
|
179
|
+
|------|----|----- |
|
|
180
|
+
| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
|
|
181
|
+
| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
|
|
182
|
+
| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
|
|
183
|
+
| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
|
|
184
|
+
|
|
185
|
+
### Layout & Spacing
|
|
186
|
+
|
|
187
|
+
| Rule | Do | Don't |
|
|
188
|
+
|------|----|----- |
|
|
189
|
+
| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
|
|
190
|
+
| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
|
|
191
|
+
| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Pre-Delivery Checklist
|
|
196
|
+
|
|
197
|
+
Before delivering UI code, verify these items:
|
|
198
|
+
|
|
199
|
+
### Visual Quality
|
|
200
|
+
- [ ] No emojis used as icons (use SVG instead)
|
|
201
|
+
- [ ] All icons from consistent icon set (Heroicons, Lucide, Simple Icons)
|
|
202
|
+
- [ ] Brand logos are correct (verified from Simple Icons)
|
|
203
|
+
- [ ] Hover states don't cause layout shift
|
|
204
|
+
- [ ] Use theme colors directly (bg-primary) not var() wrapper
|
|
205
|
+
|
|
206
|
+
### Interaction
|
|
207
|
+
- [ ] All clickable elements have `cursor-pointer`
|
|
208
|
+
- [ ] Hover states provide clear visual feedback
|
|
209
|
+
- [ ] Transitions are smooth (150-300ms)
|
|
210
|
+
- [ ] Focus states visible for keyboard navigation
|
|
211
|
+
|
|
212
|
+
### Light/Dark Mode
|
|
213
|
+
- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
|
|
214
|
+
- [ ] Glass/transparent elements visible in light mode
|
|
215
|
+
- [ ] Borders visible in both modes
|
|
216
|
+
- [ ] Test both modes before delivery
|
|
217
|
+
|
|
218
|
+
### Layout
|
|
219
|
+
- [ ] Floating elements have proper spacing from edges
|
|
220
|
+
- [ ] No content hidden behind fixed navbars
|
|
221
|
+
- [ ] Responsive at 320px, 768px, 1024px, 1440px
|
|
222
|
+
- [ ] No horizontal scroll on mobile
|
|
223
|
+
|
|
224
|
+
### Accessibility
|
|
225
|
+
- [ ] All images have alt text
|
|
226
|
+
- [ ] Form inputs have labels
|
|
227
|
+
- [ ] Color is not the only indicator
|
|
228
|
+
- [ ] `prefers-reduced-motion` respected
|