heraspec 0.1.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.
- package/LICENSE +22 -0
- package/README.md +57 -0
- package/bin/heraspec.js +3803 -0
- package/bin/heraspec.js.map +7 -0
- package/dist/core/templates/skills/CHANGELOG.md +117 -0
- package/dist/core/templates/skills/README-template.md +58 -0
- package/dist/core/templates/skills/README.md +36 -0
- package/dist/core/templates/skills/content-optimization-skill.md +104 -0
- package/dist/core/templates/skills/data/charts.csv +26 -0
- package/dist/core/templates/skills/data/colors.csv +97 -0
- package/dist/core/templates/skills/data/landing.csv +31 -0
- package/dist/core/templates/skills/data/pages-proposed.csv +22 -0
- package/dist/core/templates/skills/data/pages.csv +10 -0
- package/dist/core/templates/skills/data/products.csv +97 -0
- package/dist/core/templates/skills/data/prompts.csv +24 -0
- package/dist/core/templates/skills/data/stacks/flutter.csv +53 -0
- package/dist/core/templates/skills/data/stacks/html-tailwind.csv +56 -0
- package/dist/core/templates/skills/data/stacks/nextjs.csv +53 -0
- package/dist/core/templates/skills/data/stacks/react-native.csv +52 -0
- package/dist/core/templates/skills/data/stacks/react.csv +54 -0
- package/dist/core/templates/skills/data/stacks/svelte.csv +54 -0
- package/dist/core/templates/skills/data/stacks/swiftui.csv +51 -0
- package/dist/core/templates/skills/data/stacks/vue.csv +50 -0
- package/dist/core/templates/skills/data/styles.csv +59 -0
- package/dist/core/templates/skills/data/typography.csv +58 -0
- package/dist/core/templates/skills/data/ux-guidelines.csv +100 -0
- package/dist/core/templates/skills/documents-skill.md +114 -0
- package/dist/core/templates/skills/e2e-test-skill.md +119 -0
- package/dist/core/templates/skills/integration-test-skill.md +118 -0
- package/dist/core/templates/skills/module-codebase-skill.md +110 -0
- package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -0
- package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -0
- package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -0
- package/dist/core/templates/skills/scripts/core.py +385 -0
- package/dist/core/templates/skills/scripts/search.py +73 -0
- package/dist/core/templates/skills/suggestion-skill.md +118 -0
- package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -0
- package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -0
- package/dist/core/templates/skills/templates/page-types-guide.md +338 -0
- package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -0
- package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -0
- package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -0
- package/dist/core/templates/skills/templates/responsive-design.md +40 -0
- package/dist/core/templates/skills/ui-ux-skill.md +584 -0
- package/dist/core/templates/skills/unit-test-skill.md +111 -0
- package/dist/index.js +1736 -0
- package/package.json +71 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
# Proposed Additional Page Types
|
|
2
|
+
|
|
3
|
+
This file lists common page types proposed to be added to the system. Please review and confirm which pages you want to integrate.
|
|
4
|
+
|
|
5
|
+
## 📋 Overview
|
|
6
|
+
|
|
7
|
+
**Currently have:** 9 page types (Home, About, Post Details, Category, Pricing, FAQ, Contact, Product Category, Product Details)
|
|
8
|
+
|
|
9
|
+
**Proposed additions:** 21 common page types
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 🎯 Group 1: E-Commerce & Shopping (4 pages)
|
|
14
|
+
|
|
15
|
+
### 10. Cart (Shopping Cart)
|
|
16
|
+
**Description:** Shopping cart page displaying added products, allowing quantity adjustment, product removal, and navigation to checkout.
|
|
17
|
+
|
|
18
|
+
**When to use:** All e-commerce websites
|
|
19
|
+
|
|
20
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - essential for e-commerce)
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
### 11. Checkout
|
|
25
|
+
**Description:** Checkout page with shipping address form, payment method selection, and order summary.
|
|
26
|
+
|
|
27
|
+
**When to use:** All e-commerce websites
|
|
28
|
+
|
|
29
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - essential for e-commerce)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
### 12. Thank You (Order Confirmation)
|
|
34
|
+
**Description:** Confirmation page after successful order placement, displaying order number and next steps.
|
|
35
|
+
|
|
36
|
+
**When to use:** All e-commerce websites
|
|
37
|
+
|
|
38
|
+
**Priority:** ⭐⭐⭐⭐ (High - improves UX)
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
### 13. Compare (Product Comparison)
|
|
43
|
+
**Description:** Product comparison page with side-by-side comparison, helping users decide between options.
|
|
44
|
+
|
|
45
|
+
**When to use:** E-commerce with many similar products
|
|
46
|
+
|
|
47
|
+
**Priority:** ⭐⭐⭐ (Medium - optional)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 🔐 Group 2: User Account & Authentication (4 pages)
|
|
52
|
+
|
|
53
|
+
### 14. Login
|
|
54
|
+
**Description:** Login page with email/password form, forgot password link, and social login options.
|
|
55
|
+
|
|
56
|
+
**When to use:** All websites with user accounts
|
|
57
|
+
|
|
58
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - essential)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### 15. Register (Sign Up)
|
|
63
|
+
**Description:** Registration page for new accounts with signup form and terms & conditions.
|
|
64
|
+
|
|
65
|
+
**When to use:** All websites with user accounts
|
|
66
|
+
|
|
67
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - essential)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
### 16. Dashboard (User Dashboard)
|
|
72
|
+
**Description:** User account overview page with statistics, personal information, and navigation.
|
|
73
|
+
|
|
74
|
+
**When to use:** All websites with user accounts
|
|
75
|
+
|
|
76
|
+
**Priority:** ⭐⭐⭐⭐ (High - improves UX)
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### 17. Account Settings
|
|
81
|
+
**Description:** Account settings page to change personal information, password, and preferences.
|
|
82
|
+
|
|
83
|
+
**When to use:** All websites with user accounts
|
|
84
|
+
|
|
85
|
+
**Priority:** ⭐⭐⭐⭐ (High - improves UX)
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 📝 Group 3: Content & Blog (2 pages)
|
|
90
|
+
|
|
91
|
+
### 18. Blog Listing
|
|
92
|
+
**Description:** Main blog listing page (different from Category - this is the index page for the entire blog).
|
|
93
|
+
|
|
94
|
+
**When to use:** Websites with blog/content
|
|
95
|
+
|
|
96
|
+
**Priority:** ⭐⭐⭐⭐ (High - distinguishes from Category)
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### 19. Search Results
|
|
101
|
+
**Description:** Search results page with filters, sort options, and empty state when no results found.
|
|
102
|
+
|
|
103
|
+
**When to use:** All websites with search functionality
|
|
104
|
+
|
|
105
|
+
**Priority:** ⭐⭐⭐⭐ (High - improves UX)
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 🎨 Group 4: Business & Services (4 pages)
|
|
110
|
+
|
|
111
|
+
### 20. Services
|
|
112
|
+
**Description:** Page introducing services/solutions that the company provides.
|
|
113
|
+
|
|
114
|
+
**When to use:** Service-based businesses (agency, consulting, etc.)
|
|
115
|
+
|
|
116
|
+
**Priority:** ⭐⭐⭐⭐ (High - common for service businesses)
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### 21. Portfolio
|
|
121
|
+
**Description:** Page showcasing projects/work done with filters and lightbox.
|
|
122
|
+
|
|
123
|
+
**When to use:** Creative agencies, freelancers, designers
|
|
124
|
+
|
|
125
|
+
**Priority:** ⭐⭐⭐ (Medium - industry-dependent)
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
### 22. Testimonials (Standalone)
|
|
130
|
+
**Description:** Separate page for testimonials/reviews with filters and video testimonials.
|
|
131
|
+
|
|
132
|
+
**When to use:** All business types (can be integrated into Home but standalone is better)
|
|
133
|
+
|
|
134
|
+
**Priority:** ⭐⭐⭐ (Medium - optional)
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### 23. Team (Standalone)
|
|
139
|
+
**Description:** Separate page introducing team (different from About - About may have team but Team page is more detailed).
|
|
140
|
+
|
|
141
|
+
**When to use:** Companies wanting to highlight team members
|
|
142
|
+
|
|
143
|
+
**Priority:** ⭐⭐⭐ (Medium - optional)
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 💼 Group 5: Business Operations (2 pages)
|
|
148
|
+
|
|
149
|
+
### 24. Careers (Jobs)
|
|
150
|
+
**Description:** Careers page with open positions list, company culture, and application form.
|
|
151
|
+
|
|
152
|
+
**When to use:** Companies that are hiring
|
|
153
|
+
|
|
154
|
+
**Priority:** ⭐⭐⭐ (Medium - as needed)
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
### 25. Events
|
|
159
|
+
**Description:** Events page with calendar, events list, and registration.
|
|
160
|
+
|
|
161
|
+
**When to use:** Event organizers, conferences, workshops
|
|
162
|
+
|
|
163
|
+
**Priority:** ⭐⭐ (Low - industry-dependent)
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 📚 Group 6: Documentation & Help (1 page)
|
|
168
|
+
|
|
169
|
+
### 26. Documentation (Help Center)
|
|
170
|
+
**Description:** Technical documentation page with search, sidebar navigation, code examples.
|
|
171
|
+
|
|
172
|
+
**When to use:** Developer tools, SaaS platforms, technical products
|
|
173
|
+
|
|
174
|
+
**Priority:** ⭐⭐⭐ (Medium - product-dependent)
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## ⚖️ Group 7: Legal Pages (2 pages)
|
|
179
|
+
|
|
180
|
+
### 27. Privacy Policy
|
|
181
|
+
**Description:** Privacy policy page - legal requirement for most websites.
|
|
182
|
+
|
|
183
|
+
**When to use:** All websites (legal requirement)
|
|
184
|
+
|
|
185
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - mandatory)
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
### 28. Terms of Service
|
|
190
|
+
**Description:** Terms of service page - legal requirement for most websites.
|
|
191
|
+
|
|
192
|
+
**When to use:** All websites (legal requirement)
|
|
193
|
+
|
|
194
|
+
**Priority:** ⭐⭐⭐⭐⭐ (Very high - mandatory)
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## 🚧 Group 8: Utility Pages (2 pages)
|
|
199
|
+
|
|
200
|
+
### 29. 404 Error (Not Found)
|
|
201
|
+
**Description:** Friendly 404 error page with navigation and search to help users find content again.
|
|
202
|
+
|
|
203
|
+
**When to use:** All websites
|
|
204
|
+
|
|
205
|
+
**Priority:** ⭐⭐⭐⭐ (High - improves UX)
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
### 30. Coming Soon
|
|
210
|
+
**Description:** "Coming soon" page with countdown timer and email signup form.
|
|
211
|
+
|
|
212
|
+
**When to use:** Pre-launch websites, maintenance mode
|
|
213
|
+
|
|
214
|
+
**Priority:** ⭐⭐ (Low - situation-dependent)
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 📊 Summary of Proposals
|
|
219
|
+
|
|
220
|
+
### Very High Priority (Should integrate immediately):
|
|
221
|
+
1. ✅ **Cart** - E-commerce
|
|
222
|
+
2. ✅ **Checkout** - E-commerce
|
|
223
|
+
3. ✅ **Login** - User accounts
|
|
224
|
+
4. ✅ **Register** - User accounts
|
|
225
|
+
5. ✅ **Privacy Policy** - Legal requirement
|
|
226
|
+
6. ✅ **Terms of Service** - Legal requirement
|
|
227
|
+
|
|
228
|
+
### High Priority (Should integrate):
|
|
229
|
+
7. ✅ **Thank You** - E-commerce UX
|
|
230
|
+
8. ✅ **Dashboard** - User accounts
|
|
231
|
+
9. ✅ **Account Settings** - User accounts
|
|
232
|
+
10. ✅ **Blog Listing** - Content sites
|
|
233
|
+
11. ✅ **Search Results** - All sites
|
|
234
|
+
12. ✅ **Services** - Service businesses
|
|
235
|
+
13. ✅ **404 Error** - All sites
|
|
236
|
+
|
|
237
|
+
### Medium Priority (Optional):
|
|
238
|
+
14. ⚠️ **Compare** - E-commerce
|
|
239
|
+
15. ⚠️ **Portfolio** - Creative agencies
|
|
240
|
+
16. ⚠️ **Testimonials** - All businesses
|
|
241
|
+
17. ⚠️ **Team** - All businesses
|
|
242
|
+
18. ⚠️ **Careers** - Hiring companies
|
|
243
|
+
19. ⚠️ **Documentation** - Technical products
|
|
244
|
+
|
|
245
|
+
### Low Priority (Situation-dependent):
|
|
246
|
+
20. ⚠️ **Events** - Event organizers
|
|
247
|
+
21. ⚠️ **Coming Soon** - Pre-launch
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 🎯 Integration Recommendation
|
|
252
|
+
|
|
253
|
+
**Integrate immediately (13 pages):**
|
|
254
|
+
- Cart, Checkout, Thank You
|
|
255
|
+
- Login, Register, Dashboard, Account Settings
|
|
256
|
+
- Blog Listing, Search Results
|
|
257
|
+
- Services
|
|
258
|
+
- Privacy Policy, Terms of Service
|
|
259
|
+
- 404 Error
|
|
260
|
+
|
|
261
|
+
**Integrate later (8 pages):**
|
|
262
|
+
- Compare, Portfolio, Testimonials, Team, Careers, Documentation, Events, Coming Soon
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## 📝 Notes
|
|
267
|
+
|
|
268
|
+
- Each page has detailed description in `pages-proposed.csv` file
|
|
269
|
+
- Can integrate by group or all at once depending on needs
|
|
270
|
+
- Legal pages (Privacy Policy, Terms) should be integrated early due to legal requirements
|
|
271
|
+
- E-commerce pages (Cart, Checkout, Thank You) are essential for e-commerce websites
|
|
272
|
+
|
|
273
|
+
**Please confirm which pages you want to integrate into the system!** 🚀
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Pre-Delivery Checklist for UI/UX
|
|
2
|
+
|
|
3
|
+
Before delivering UI code, verify these items:
|
|
4
|
+
|
|
5
|
+
## Visual Quality
|
|
6
|
+
|
|
7
|
+
- [ ] No emojis used as icons (use SVG instead - Heroicons, Lucide, Simple Icons)
|
|
8
|
+
- [ ] All icons from consistent icon set
|
|
9
|
+
- [ ] Brand logos are correct (verified from Simple Icons)
|
|
10
|
+
- [ ] Hover states don't cause layout shift (use color/opacity, not scale)
|
|
11
|
+
|
|
12
|
+
## Interaction
|
|
13
|
+
|
|
14
|
+
- [ ] All clickable elements have `cursor-pointer`
|
|
15
|
+
- [ ] Hover states provide clear visual feedback
|
|
16
|
+
- [ ] Transitions are smooth (150-300ms)
|
|
17
|
+
- [ ] Focus states visible for keyboard navigation
|
|
18
|
+
|
|
19
|
+
## Light/Dark Mode
|
|
20
|
+
|
|
21
|
+
- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
|
|
22
|
+
- [ ] Glass/transparent elements visible in light mode (`bg-white/80` not `bg-white/10`)
|
|
23
|
+
- [ ] Borders visible in both modes (`border-gray-200` in light mode)
|
|
24
|
+
- [ ] Test both modes before delivery
|
|
25
|
+
|
|
26
|
+
## Layout
|
|
27
|
+
|
|
28
|
+
- [ ] Floating elements have proper spacing from edges
|
|
29
|
+
- [ ] No content hidden behind fixed navbars
|
|
30
|
+
- [ ] Responsive at 320px, 768px, 1024px, 1440px
|
|
31
|
+
- [ ] No horizontal scroll on mobile
|
|
32
|
+
- [ ] Consistent max-width (`max-w-6xl` or `max-w-7xl`)
|
|
33
|
+
|
|
34
|
+
## Accessibility
|
|
35
|
+
|
|
36
|
+
- [ ] All images have alt text
|
|
37
|
+
- [ ] Form inputs have labels
|
|
38
|
+
- [ ] Color is not the only indicator
|
|
39
|
+
- [ ] `prefers-reduced-motion` respected
|
|
40
|
+
- [ ] Keyboard navigation works
|
|
41
|
+
- [ ] Screen reader friendly
|
|
42
|
+
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
# Prompt Template: Creating Full Theme Packages
|
|
2
|
+
|
|
3
|
+
## Basic Template (Copy & Paste)
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Create a complete website package for [PRODUCT_TYPE] with the following requirements:
|
|
7
|
+
|
|
8
|
+
**Project Information:**
|
|
9
|
+
- Product type: [SaaS / E-commerce / Service / Portfolio / etc.]
|
|
10
|
+
- Style: [minimal / elegant / modern / bold / etc.]
|
|
11
|
+
- Industry: [Healthcare / Fintech / Beauty / etc.]
|
|
12
|
+
- Stack: [html-tailwind / react / nextjs / etc.]
|
|
13
|
+
- Pages to create: home, about, [add other pages if needed]
|
|
14
|
+
|
|
15
|
+
**Process:**
|
|
16
|
+
1. Use skill ui-ux to search design intelligence:
|
|
17
|
+
- Product type recommendations (--mode hybrid)
|
|
18
|
+
- Style guide (--mode hybrid)
|
|
19
|
+
- Color palette
|
|
20
|
+
- Typography (--mode vector)
|
|
21
|
+
- Page types for each page (--domain pages)
|
|
22
|
+
- UX guidelines
|
|
23
|
+
- Stack-specific guidelines (--stack [stack])
|
|
24
|
+
|
|
25
|
+
2. Create shared components first:
|
|
26
|
+
- Header/Navigation
|
|
27
|
+
- Footer
|
|
28
|
+
- Button components
|
|
29
|
+
- Card components
|
|
30
|
+
- Form components
|
|
31
|
+
|
|
32
|
+
3. Implement pages in order:
|
|
33
|
+
- Home → About → [other pages]
|
|
34
|
+
- Ensure consistency in colors, typography, spacing
|
|
35
|
+
|
|
36
|
+
4. Verify with pre-delivery checklist
|
|
37
|
+
|
|
38
|
+
**Quality Requirements:**
|
|
39
|
+
- ✅ Consistent design system (same colors, fonts, spacing)
|
|
40
|
+
- ✅ Responsive (320px, 768px, 1024px, 1440px)
|
|
41
|
+
- ✅ Accessible (WCAG AA minimum)
|
|
42
|
+
- ✅ Performance optimized
|
|
43
|
+
- ✅ Follow search results from ui-ux skill
|
|
44
|
+
|
|
45
|
+
**Notes:**
|
|
46
|
+
- Use hybrid/vector mode for better search results
|
|
47
|
+
- Split components into separate files
|
|
48
|
+
- Follow best practices from search results
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Template for E-Commerce
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Create a complete website package for online [PRODUCT_TYPE] store with the following requirements:
|
|
57
|
+
|
|
58
|
+
**Information:**
|
|
59
|
+
- Product type: E-commerce [Luxury / General]
|
|
60
|
+
- Style: [elegant / modern / vibrant]
|
|
61
|
+
- Industry: [Fashion / Electronics / etc.]
|
|
62
|
+
- Stack: [html-tailwind / nextjs / react]
|
|
63
|
+
- Pages: home, about, product category, product details, cart, checkout, thank you, faq, contact
|
|
64
|
+
|
|
65
|
+
**Process:**
|
|
66
|
+
1. Search with skill ui-ux (use hybrid mode):
|
|
67
|
+
- E-commerce product recommendations
|
|
68
|
+
- Style guide
|
|
69
|
+
- Color palette
|
|
70
|
+
- Page types: product category, product details, cart, checkout, thank you
|
|
71
|
+
- E-commerce UX guidelines
|
|
72
|
+
- Stack guidelines
|
|
73
|
+
|
|
74
|
+
2. Create design system and shared components
|
|
75
|
+
|
|
76
|
+
3. Implement pages with focus on conversion:
|
|
77
|
+
- Product pages with clear CTAs
|
|
78
|
+
- Cart with easy management
|
|
79
|
+
- Checkout with trust signals
|
|
80
|
+
- Thank you with order confirmation
|
|
81
|
+
|
|
82
|
+
**Requirements:**
|
|
83
|
+
- Conversion optimization
|
|
84
|
+
- Trust signals (reviews, security badges)
|
|
85
|
+
- Clear pricing and product info
|
|
86
|
+
- Mobile-first responsive
|
|
87
|
+
- Fast loading
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Template for SaaS
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
Create a complete website package for SaaS platform [PRODUCT_NAME] with the following requirements:
|
|
96
|
+
|
|
97
|
+
**Information:**
|
|
98
|
+
- Product type: SaaS [General / Micro SaaS]
|
|
99
|
+
- Style: [modern / clean / professional / tech-forward]
|
|
100
|
+
- Industry: [B2B / B2C]
|
|
101
|
+
- Stack: [react / nextjs / vue]
|
|
102
|
+
- Pages: home, about, pricing, features, faq, contact, login, register, dashboard
|
|
103
|
+
|
|
104
|
+
**Process:**
|
|
105
|
+
1. Search with skill ui-ux (hybrid mode):
|
|
106
|
+
- SaaS product recommendations
|
|
107
|
+
- Modern/clean style guide
|
|
108
|
+
- Professional color palette
|
|
109
|
+
- Typography for SaaS
|
|
110
|
+
- Page types: home, pricing, login, register, dashboard
|
|
111
|
+
- SaaS UX guidelines
|
|
112
|
+
- Stack guidelines
|
|
113
|
+
|
|
114
|
+
2. Create components library
|
|
115
|
+
|
|
116
|
+
3. Implement pages:
|
|
117
|
+
- Home: Hero, features, social proof, CTA
|
|
118
|
+
- Pricing: Plans comparison, FAQ
|
|
119
|
+
- Auth: Login/Register with validation
|
|
120
|
+
- Dashboard: User dashboard with stats
|
|
121
|
+
|
|
122
|
+
**Requirements:**
|
|
123
|
+
- Professional and trustworthy
|
|
124
|
+
- Clear value proposition
|
|
125
|
+
- Easy signup flow
|
|
126
|
+
- Responsive dashboard
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Template for Service Business
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
Create a complete website package for [SERVICE_TYPE] service with the following requirements:
|
|
135
|
+
|
|
136
|
+
**Information:**
|
|
137
|
+
- Product type: Service Landing Page / B2B Service
|
|
138
|
+
- Style: [elegant / professional / trustworthy]
|
|
139
|
+
- Industry: [Healthcare / Legal / Consulting / etc.]
|
|
140
|
+
- Stack: html-tailwind
|
|
141
|
+
- Pages: home, about, services, team, testimonials, faq, contact
|
|
142
|
+
|
|
143
|
+
**Process:**
|
|
144
|
+
1. Search with skill ui-ux:
|
|
145
|
+
- Service business recommendations
|
|
146
|
+
- Trust & Authority style
|
|
147
|
+
- Professional color palette
|
|
148
|
+
- Page types: home, about, services, team, testimonials
|
|
149
|
+
- UX guidelines for service businesses
|
|
150
|
+
|
|
151
|
+
2. Create components
|
|
152
|
+
|
|
153
|
+
3. Implement pages with focus on trust:
|
|
154
|
+
- Home: Hero, services preview, testimonials
|
|
155
|
+
- About: Story, mission, values
|
|
156
|
+
- Services: Service offerings
|
|
157
|
+
- Team: Team members
|
|
158
|
+
- Testimonials: Client feedback
|
|
159
|
+
- Contact: Contact form
|
|
160
|
+
|
|
161
|
+
**Requirements:**
|
|
162
|
+
- Build trust and credibility
|
|
163
|
+
- Show expertise
|
|
164
|
+
- Professional appearance
|
|
165
|
+
- Easy contact
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Template for Blog/Content Site
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
Create a complete website package for [TOPIC] blog with the following requirements:
|
|
174
|
+
|
|
175
|
+
**Information:**
|
|
176
|
+
- Product type: Content/News
|
|
177
|
+
- Style: [clean / readable / minimal]
|
|
178
|
+
- Industry: [Technology / Education / etc.]
|
|
179
|
+
- Stack: [nextjs / react]
|
|
180
|
+
- Pages: home, blog listing, category, post details, about, contact, search results
|
|
181
|
+
|
|
182
|
+
**Process:**
|
|
183
|
+
1. Search with skill ui-ux:
|
|
184
|
+
- Content site style
|
|
185
|
+
- Readable typography
|
|
186
|
+
- Color palette for reading
|
|
187
|
+
- Page types: blog listing, category, post details, search results
|
|
188
|
+
- Content UX guidelines
|
|
189
|
+
|
|
190
|
+
2. Create components:
|
|
191
|
+
- Post cards
|
|
192
|
+
- Category filters
|
|
193
|
+
- Search bar
|
|
194
|
+
- Author cards
|
|
195
|
+
- Related posts
|
|
196
|
+
|
|
197
|
+
3. Implement pages with focus on readability:
|
|
198
|
+
- Blog listing with pagination
|
|
199
|
+
- Post details with good typography
|
|
200
|
+
- Search results with filters
|
|
201
|
+
- Category pages
|
|
202
|
+
|
|
203
|
+
**Requirements:**
|
|
204
|
+
- Readability is priority
|
|
205
|
+
- SEO optimization
|
|
206
|
+
- Fast loading
|
|
207
|
+
- Social sharing
|
|
208
|
+
- Easy navigation
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Quick Reference: Common Pages
|
|
214
|
+
|
|
215
|
+
### Default Set (9 pages)
|
|
216
|
+
- home
|
|
217
|
+
- about
|
|
218
|
+
- post details
|
|
219
|
+
- category
|
|
220
|
+
- pricing
|
|
221
|
+
- faq
|
|
222
|
+
- contact
|
|
223
|
+
- product category (e-commerce)
|
|
224
|
+
- product details (e-commerce)
|
|
225
|
+
|
|
226
|
+
### E-Commerce Additional
|
|
227
|
+
- cart
|
|
228
|
+
- checkout
|
|
229
|
+
- thank you
|
|
230
|
+
|
|
231
|
+
### User Accounts Additional
|
|
232
|
+
- login
|
|
233
|
+
- register
|
|
234
|
+
- dashboard
|
|
235
|
+
- account settings
|
|
236
|
+
|
|
237
|
+
### Content Sites Additional
|
|
238
|
+
- blog listing
|
|
239
|
+
- search results
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Tips for Using Templates
|
|
244
|
+
|
|
245
|
+
1. **Replace [PRODUCT_TYPE]** with specific product type
|
|
246
|
+
2. **Choose style keywords** that match your brand
|
|
247
|
+
3. **List all pages** that need to be created
|
|
248
|
+
4. **Choose stack** that fits your project
|
|
249
|
+
5. **Mention search modes** to get better results
|
|
250
|
+
6. **Require consistency** to ensure unified design system
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Complete Example
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
Create a complete website package for professional skincare service with the following requirements:
|
|
258
|
+
|
|
259
|
+
**Project Information:**
|
|
260
|
+
- Product type: Beauty & Wellness Service
|
|
261
|
+
- Style: elegant, minimal, soft, professional
|
|
262
|
+
- Industry: Healthcare/Beauty
|
|
263
|
+
- Stack: html-tailwind (default)
|
|
264
|
+
- Pages to create: home, about, services, blog listing, post details, category, pricing, faq, contact
|
|
265
|
+
|
|
266
|
+
**Process:**
|
|
267
|
+
1. Use skill ui-ux to search design intelligence:
|
|
268
|
+
```bash
|
|
269
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "beauty spa wellness service" --domain product --mode hybrid
|
|
270
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "elegant minimal soft professional" --domain style --mode hybrid
|
|
271
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "beauty spa wellness" --domain color
|
|
272
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "elegant luxury" --domain typography --mode vector
|
|
273
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "home homepage" --domain pages
|
|
274
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "about company story" --domain pages
|
|
275
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "services offerings" --domain pages
|
|
276
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "pricing plans" --domain pages
|
|
277
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "faq questions" --domain pages
|
|
278
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "contact" --domain pages
|
|
279
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "animation accessibility" --domain ux
|
|
280
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "layout responsive" --stack html-tailwind
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
2. Create shared components first:
|
|
284
|
+
- Header with navigation
|
|
285
|
+
- Footer
|
|
286
|
+
- Button components (primary, secondary)
|
|
287
|
+
- Card components (service cards, post cards)
|
|
288
|
+
- Form components
|
|
289
|
+
|
|
290
|
+
3. Implement pages in order:
|
|
291
|
+
- Home: Hero, services preview, testimonials, CTA
|
|
292
|
+
- About: Mission, story, team, values
|
|
293
|
+
- Services: Service offerings with descriptions
|
|
294
|
+
- Blog listing: Post grid with pagination
|
|
295
|
+
- Category: Category page with filters
|
|
296
|
+
- Post details: Full article with author, related posts
|
|
297
|
+
- Pricing: Plans comparison, FAQ
|
|
298
|
+
- FAQ: Accordion with search
|
|
299
|
+
- Contact: Contact form + info
|
|
300
|
+
|
|
301
|
+
4. Ensure:
|
|
302
|
+
- ✅ Consistent design system (same colors, fonts from search results)
|
|
303
|
+
- ✅ Responsive (320px, 768px, 1024px, 1440px)
|
|
304
|
+
- ✅ Accessible (WCAG AA)
|
|
305
|
+
- ✅ Performance optimized
|
|
306
|
+
- ✅ Follow search results from ui-ux skill
|
|
307
|
+
|
|
308
|
+
**Notes:**
|
|
309
|
+
- Use hybrid/vector mode for better search results
|
|
310
|
+
- Split components into separate files
|
|
311
|
+
- Follow pre-delivery checklist
|
|
312
|
+
- Ensure all pages use the same design system
|
|
313
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Responsive Design Checklist
|
|
2
|
+
|
|
3
|
+
## Breakpoints
|
|
4
|
+
|
|
5
|
+
Test at these breakpoints:
|
|
6
|
+
- **Mobile**: 320px, 375px, 414px
|
|
7
|
+
- **Tablet**: 768px, 1024px
|
|
8
|
+
- **Desktop**: 1280px, 1440px, 1920px
|
|
9
|
+
|
|
10
|
+
## Mobile-First Approach
|
|
11
|
+
|
|
12
|
+
- [ ] Start with mobile layout
|
|
13
|
+
- [ ] Use `min-width` media queries
|
|
14
|
+
- [ ] Progressive enhancement for larger screens
|
|
15
|
+
|
|
16
|
+
## Touch Targets
|
|
17
|
+
|
|
18
|
+
- [ ] Minimum 44x44px for touch targets
|
|
19
|
+
- [ ] Adequate spacing between interactive elements
|
|
20
|
+
- [ ] No hover-only interactions (provide tap alternatives)
|
|
21
|
+
|
|
22
|
+
## Layout
|
|
23
|
+
|
|
24
|
+
- [ ] No horizontal scroll on mobile
|
|
25
|
+
- [ ] Content doesn't overflow containers
|
|
26
|
+
- [ ] Images scale appropriately
|
|
27
|
+
- [ ] Text remains readable at all sizes
|
|
28
|
+
|
|
29
|
+
## Navigation
|
|
30
|
+
|
|
31
|
+
- [ ] Mobile menu works correctly
|
|
32
|
+
- [ ] Navigation accessible on all screen sizes
|
|
33
|
+
- [ ] Fixed elements don't block content
|
|
34
|
+
|
|
35
|
+
## Typography
|
|
36
|
+
|
|
37
|
+
- [ ] Font sizes scale appropriately
|
|
38
|
+
- [ ] Line height readable on mobile
|
|
39
|
+
- [ ] Text doesn't overflow containers
|
|
40
|
+
|