heraspec 0.1.12 → 0.1.14
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 -22
- package/README.md +188 -103
- package/bin/heraspec.js +4805 -1122
- package/bin/heraspec.js.map +4 -4
- package/dist/core/templates/skills/CHANGELOG.md +117 -117
- package/dist/core/templates/skills/README-template.md +58 -58
- package/dist/core/templates/skills/README.md +38 -38
- package/dist/core/templates/skills/content-optimization-skill.md +104 -104
- package/dist/core/templates/skills/data/design-systems.csv +54 -0
- package/dist/core/templates/skills/data/pages-proposed.csv +21 -21
- package/dist/core/templates/skills/data/pages.csv +9 -9
- package/dist/core/templates/skills/data/typography.csv +57 -57
- package/dist/core/templates/skills/deploy-documentation-skill.md +408 -0
- package/dist/core/templates/skills/design-system-skill.md +176 -0
- package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +63 -63
- package/dist/core/templates/skills/documents/templates/documentation.html +49 -49
- package/dist/core/templates/skills/documents/templates/landing-script.js +38 -38
- package/dist/core/templates/skills/documents/templates/landing-style.css +158 -158
- package/dist/core/templates/skills/documents/templates/script.js +56 -56
- package/dist/core/templates/skills/documents/templates/style.css +155 -155
- package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -16
- package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -16
- package/dist/core/templates/skills/documents-skill.md +104 -104
- package/dist/core/templates/skills/e2e-test-skill.md +119 -119
- package/dist/core/templates/skills/git-embed-skill.md +57 -0
- package/dist/core/templates/skills/integration-test-skill.md +118 -118
- package/dist/core/templates/skills/knowledge/README.md +63 -0
- package/dist/core/templates/skills/knowledge/design-systems/airbnb/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/airtable/DESIGN.md +89 -0
- package/dist/core/templates/skills/knowledge/design-systems/apple/DESIGN.md +313 -0
- package/dist/core/templates/skills/knowledge/design-systems/bmw/DESIGN.md +180 -0
- package/dist/core/templates/skills/knowledge/design-systems/cal/DESIGN.md +259 -0
- package/dist/core/templates/skills/knowledge/design-systems/claude/DESIGN.md +312 -0
- package/dist/core/templates/skills/knowledge/design-systems/clay/DESIGN.md +304 -0
- package/dist/core/templates/skills/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/cohere/DESIGN.md +266 -0
- package/dist/core/templates/skills/knowledge/design-systems/coinbase/DESIGN.md +129 -0
- package/dist/core/templates/skills/knowledge/design-systems/composio/DESIGN.md +307 -0
- package/dist/core/templates/skills/knowledge/design-systems/cursor/DESIGN.md +309 -0
- package/dist/core/templates/skills/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
- package/dist/core/templates/skills/knowledge/design-systems/expo/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/figma/DESIGN.md +220 -0
- package/dist/core/templates/skills/knowledge/design-systems/framer/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
- package/dist/core/templates/skills/knowledge/design-systems/ibm/DESIGN.md +332 -0
- package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -0
- package/dist/core/templates/skills/knowledge/design-systems/intercom/DESIGN.md +146 -0
- package/dist/core/templates/skills/knowledge/design-systems/kraken/DESIGN.md +125 -0
- package/dist/core/templates/skills/knowledge/design-systems/linear.app/DESIGN.md +367 -0
- package/dist/core/templates/skills/knowledge/design-systems/lovable/DESIGN.md +298 -0
- package/dist/core/templates/skills/knowledge/design-systems/minimax/DESIGN.md +257 -0
- package/dist/core/templates/skills/knowledge/design-systems/mintlify/DESIGN.md +326 -0
- package/dist/core/templates/skills/knowledge/design-systems/miro/DESIGN.md +108 -0
- package/dist/core/templates/skills/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
- package/dist/core/templates/skills/knowledge/design-systems/mongodb/DESIGN.md +266 -0
- package/dist/core/templates/skills/knowledge/design-systems/notion/DESIGN.md +309 -0
- package/dist/core/templates/skills/knowledge/design-systems/nvidia/DESIGN.md +293 -0
- package/dist/core/templates/skills/knowledge/design-systems/ollama/DESIGN.md +267 -0
- package/dist/core/templates/skills/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/pinterest/DESIGN.md +230 -0
- package/dist/core/templates/skills/knowledge/design-systems/posthog/DESIGN.md +256 -0
- package/dist/core/templates/skills/knowledge/design-systems/raycast/DESIGN.md +268 -0
- package/dist/core/templates/skills/knowledge/design-systems/replicate/DESIGN.md +261 -0
- package/dist/core/templates/skills/knowledge/design-systems/resend/DESIGN.md +303 -0
- package/dist/core/templates/skills/knowledge/design-systems/revolut/DESIGN.md +185 -0
- package/dist/core/templates/skills/knowledge/design-systems/runwayml/DESIGN.md +244 -0
- package/dist/core/templates/skills/knowledge/design-systems/sanity/DESIGN.md +357 -0
- package/dist/core/templates/skills/knowledge/design-systems/sentry/DESIGN.md +262 -0
- package/dist/core/templates/skills/knowledge/design-systems/spacex/DESIGN.md +194 -0
- package/dist/core/templates/skills/knowledge/design-systems/spotify/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/stripe/DESIGN.md +322 -0
- package/dist/core/templates/skills/knowledge/design-systems/supabase/DESIGN.md +255 -0
- package/dist/core/templates/skills/knowledge/design-systems/superhuman/DESIGN.md +252 -0
- package/dist/core/templates/skills/knowledge/design-systems/together.ai/DESIGN.md +263 -0
- package/dist/core/templates/skills/knowledge/design-systems/uber/DESIGN.md +295 -0
- package/dist/core/templates/skills/knowledge/design-systems/vercel/DESIGN.md +310 -0
- package/dist/core/templates/skills/knowledge/design-systems/voltagent/DESIGN.md +323 -0
- package/dist/core/templates/skills/knowledge/design-systems/warp/DESIGN.md +253 -0
- package/dist/core/templates/skills/knowledge/design-systems/webflow/DESIGN.md +92 -0
- package/dist/core/templates/skills/knowledge/design-systems/wise/DESIGN.md +173 -0
- package/dist/core/templates/skills/knowledge/design-systems/x.ai/DESIGN.md +257 -0
- package/dist/core/templates/skills/knowledge/design-systems/zapier/DESIGN.md +328 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +208 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -0
- package/dist/core/templates/skills/knowledge/index.json +65 -0
- package/dist/core/templates/skills/module-codebase-skill.md +110 -110
- package/dist/core/templates/skills/plugin-directory-skill.md +396 -396
- package/dist/core/templates/skills/project-memory-skill.md +222 -0
- package/dist/core/templates/skills/project-memory-skill.vi.md +223 -0
- package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -394
- package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -421
- package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -238
- package/dist/core/templates/skills/scripts/__pycache__/core.cpython-311.pyc +0 -0
- package/dist/core/templates/skills/scripts/core.py +391 -385
- package/dist/core/templates/skills/scripts/search.py +1 -1
- package/dist/core/templates/skills/smart-explore-skill.md +141 -0
- package/dist/core/templates/skills/sourcecode-analyzer-skill.md +210 -0
- package/dist/core/templates/skills/sourcecode-analyzer-skill.vi.md +210 -0
- package/dist/core/templates/skills/suggestion-skill.md +118 -118
- package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -40
- package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -333
- package/dist/core/templates/skills/templates/page-types-guide.md +338 -338
- package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -273
- package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -42
- package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -313
- package/dist/core/templates/skills/templates/responsive-design.md +40 -40
- package/dist/core/templates/skills/ui-ux-skill.md +595 -584
- package/dist/core/templates/skills/unit-test-skill.md +111 -111
- package/dist/core/templates/skills/ux-element/templates/Controller.php +50 -50
- package/dist/core/templates/skills/ux-element/templates/Shortcode.php +23 -23
- package/dist/core/templates/skills/ux-element/templates/Template.html +20 -20
- package/dist/core/templates/skills/ux-element/templates/Thumbnail.svg +8 -8
- package/dist/core/templates/skills/ux-element/templates/View.php +21 -21
- package/dist/core/templates/skills/ux-element-skill.md +83 -83
- package/dist/core/templates/skills/wordpress-plugin-check-skill.md +151 -76
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -47
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -60
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -22
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -15
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -169
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -41
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -21
- package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +100 -100
- package/dist/index.js +4068 -278
- package/package.json +75 -72
|
@@ -1,333 +1,333 @@
|
|
|
1
|
-
# Example Prompts: Creating Full Theme Packages
|
|
2
|
-
|
|
3
|
-
## Example Prompt 1: Healthcare & Spa Service Theme
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
Create a complete website package for professional healthcare and spa services with the following requirements:
|
|
7
|
-
|
|
8
|
-
**Requirements:**
|
|
9
|
-
- Product type: Beauty & Wellness Service
|
|
10
|
-
- Style: Elegant, minimal, soft, professional
|
|
11
|
-
- Industry: Healthcare/Beauty
|
|
12
|
-
- Stack: html-tailwind (default)
|
|
13
|
-
- Create all pages: home, about, services, blog listing, blog post details, category, pricing, faq, contact
|
|
14
|
-
|
|
15
|
-
**Process:**
|
|
16
|
-
1. Use skill ui-ux to search for design intelligence
|
|
17
|
-
2. Create shared components first (Header, Footer, Button, Card)
|
|
18
|
-
3. Implement each page in order: Home → About → Services → Category → Post Details → Pricing → FAQ → Contact
|
|
19
|
-
4. Ensure consistency in colors, typography, spacing
|
|
20
|
-
5. Responsive and accessible
|
|
21
|
-
|
|
22
|
-
**Notes:**
|
|
23
|
-
- Use search scripts with hybrid mode for best results
|
|
24
|
-
- Follow pre-delivery checklist
|
|
25
|
-
- Split components into separate files
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Example Prompt 2: E-Commerce Theme
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
Create a complete website package for an online fashion store with the following requirements:
|
|
34
|
-
|
|
35
|
-
**Requirements:**
|
|
36
|
-
- Product type: E-commerce Luxury
|
|
37
|
-
- Style: Elegant, premium, sophisticated
|
|
38
|
-
- Industry: Fashion/Retail
|
|
39
|
-
- Stack: Next.js with Tailwind CSS
|
|
40
|
-
- Create all pages: home, about, product category, product details, cart, checkout, thank you, faq, contact
|
|
41
|
-
|
|
42
|
-
**Process:**
|
|
43
|
-
1. Use skill ui-ux to search:
|
|
44
|
-
- Product type recommendations
|
|
45
|
-
- Style guide with hybrid mode
|
|
46
|
-
- Color palette
|
|
47
|
-
- Typography
|
|
48
|
-
- Page types (home, product category, product details, cart, checkout, thank you)
|
|
49
|
-
- UX guidelines for e-commerce
|
|
50
|
-
- Next.js stack guidelines
|
|
51
|
-
|
|
52
|
-
2. Create design system:
|
|
53
|
-
- Color palette from search results
|
|
54
|
-
- Typography from search results
|
|
55
|
-
- Component library (Button, Card, Form, etc.)
|
|
56
|
-
|
|
57
|
-
3. Implement pages:
|
|
58
|
-
- Home with hero, featured products, testimonials
|
|
59
|
-
- Product category with filters
|
|
60
|
-
- Product details with gallery, add to cart
|
|
61
|
-
- Cart with quantity controls
|
|
62
|
-
- Checkout with form validation
|
|
63
|
-
- Thank you with order confirmation
|
|
64
|
-
|
|
65
|
-
4. Ensure:
|
|
66
|
-
- Conversion optimization
|
|
67
|
-
- Mobile-first responsive
|
|
68
|
-
- Accessibility (WCAG AA)
|
|
69
|
-
- Performance optimization
|
|
70
|
-
|
|
71
|
-
**Notes:**
|
|
72
|
-
- Use vector/hybrid mode for better semantic search
|
|
73
|
-
- Follow e-commerce best practices from search results
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## Example Prompt 3: SaaS Landing Theme
|
|
79
|
-
|
|
80
|
-
```
|
|
81
|
-
Create a complete website package for a project management SaaS platform with the following requirements:
|
|
82
|
-
|
|
83
|
-
**Requirements:**
|
|
84
|
-
- Product type: SaaS (General)
|
|
85
|
-
- Style: Modern, clean, professional, tech-forward
|
|
86
|
-
- Industry: B2B SaaS
|
|
87
|
-
- Stack: React with Tailwind CSS
|
|
88
|
-
- Create all pages: home, about, pricing, features, faq, contact, login, register, dashboard
|
|
89
|
-
|
|
90
|
-
**Process:**
|
|
91
|
-
1. Use skill ui-ux to search design intelligence:
|
|
92
|
-
```bash
|
|
93
|
-
# Search with hybrid mode for best results
|
|
94
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "SaaS project management" --domain product --mode hybrid
|
|
95
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "modern clean professional tech" --domain style --mode hybrid
|
|
96
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "SaaS" --domain color
|
|
97
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "professional modern" --domain typography --mode vector
|
|
98
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "home homepage" --domain pages
|
|
99
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "pricing plans tiers" --domain pages
|
|
100
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "login sign-in" --domain pages
|
|
101
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "dashboard account" --domain pages
|
|
102
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "responsive layout" --stack react --mode vector
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
2. Create shared components:
|
|
106
|
-
- Header with navigation
|
|
107
|
-
- Footer
|
|
108
|
-
- Button variants (primary, secondary, outline)
|
|
109
|
-
- Card components
|
|
110
|
-
- Form components
|
|
111
|
-
- Modal components
|
|
112
|
-
|
|
113
|
-
3. Implement pages in order:
|
|
114
|
-
- Home: Hero, features, testimonials, CTA
|
|
115
|
-
- About: Mission, team, values
|
|
116
|
-
- Pricing: Plans comparison, FAQ
|
|
117
|
-
- Features: Feature showcase
|
|
118
|
-
- FAQ: Accordion with search
|
|
119
|
-
- Contact: Form + info
|
|
120
|
-
- Login/Register: Auth forms
|
|
121
|
-
- Dashboard: User dashboard with stats
|
|
122
|
-
|
|
123
|
-
4. Ensure:
|
|
124
|
-
- Consistent design system
|
|
125
|
-
- Responsive design
|
|
126
|
-
- Accessibility
|
|
127
|
-
- Performance
|
|
128
|
-
|
|
129
|
-
**Notes:**
|
|
130
|
-
- Use search results to implement correct colors, fonts, styles
|
|
131
|
-
- Follow SaaS design patterns from search results
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
---
|
|
135
|
-
|
|
136
|
-
## Example Prompt 4: Blog/Content Site Theme
|
|
137
|
-
|
|
138
|
-
```
|
|
139
|
-
Create a complete website package for a technology blog with the following requirements:
|
|
140
|
-
|
|
141
|
-
**Requirements:**
|
|
142
|
-
- Product type: Content/News
|
|
143
|
-
- Style: Clean, readable, modern
|
|
144
|
-
- Industry: Technology/Education
|
|
145
|
-
- Stack: Next.js with Tailwind CSS
|
|
146
|
-
- Create all pages: home, blog listing, category, post details, about, contact, search results
|
|
147
|
-
|
|
148
|
-
**Process:**
|
|
149
|
-
1. Use skill ui-ux to search:
|
|
150
|
-
- Style recommendations for content sites
|
|
151
|
-
- Typography for readability
|
|
152
|
-
- Color palette for reading experience
|
|
153
|
-
- Page types (home, blog listing, category, post details, search results)
|
|
154
|
-
|
|
155
|
-
2. Create components:
|
|
156
|
-
- Header with navigation and search
|
|
157
|
-
- Footer
|
|
158
|
-
- Post card component
|
|
159
|
-
- Category filter
|
|
160
|
-
- Search bar
|
|
161
|
-
- Author card
|
|
162
|
-
- Related posts component
|
|
163
|
-
|
|
164
|
-
3. Implement pages:
|
|
165
|
-
- Home: Featured posts, recent posts, categories
|
|
166
|
-
- Blog listing: Post grid with pagination
|
|
167
|
-
- Category: Filtered post listing
|
|
168
|
-
- Post details: Full article with author, related posts
|
|
169
|
-
- Search results: Search with filters
|
|
170
|
-
- About: Author/company info
|
|
171
|
-
- Contact: Contact form
|
|
172
|
-
|
|
173
|
-
4. Ensure:
|
|
174
|
-
- Readability is priority
|
|
175
|
-
- SEO optimization
|
|
176
|
-
- Fast loading
|
|
177
|
-
- Social sharing
|
|
178
|
-
|
|
179
|
-
**Notes:**
|
|
180
|
-
- Focus on typography and readability
|
|
181
|
-
- Use vector mode for better semantic search
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
---
|
|
185
|
-
|
|
186
|
-
## Example Prompt 5: Portfolio/Creative Agency Theme
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
Create a complete website package for a creative agency with the following requirements:
|
|
190
|
-
|
|
191
|
-
**Requirements:**
|
|
192
|
-
- Product type: Creative Agency
|
|
193
|
-
- Style: Bold, creative, modern, artistic
|
|
194
|
-
- Industry: Design/Marketing
|
|
195
|
-
- Stack: React with Tailwind CSS
|
|
196
|
-
- Create all pages: home, about, portfolio, services, team, contact, case studies
|
|
197
|
-
|
|
198
|
-
**Process:**
|
|
199
|
-
1. Use skill ui-ux to search:
|
|
200
|
-
- Creative agency style recommendations
|
|
201
|
-
- Bold, artistic color palettes
|
|
202
|
-
- Creative typography
|
|
203
|
-
- Portfolio page patterns
|
|
204
|
-
- Motion-driven design patterns
|
|
205
|
-
|
|
206
|
-
2. Create components:
|
|
207
|
-
- Animated hero section
|
|
208
|
-
- Portfolio grid with filters
|
|
209
|
-
- Service cards
|
|
210
|
-
- Team member cards
|
|
211
|
-
- Case study components
|
|
212
|
-
|
|
213
|
-
3. Implement pages:
|
|
214
|
-
- Home: Bold hero, featured work, services preview
|
|
215
|
-
- About: Agency story, mission
|
|
216
|
-
- Portfolio: Project grid with filters and lightbox
|
|
217
|
-
- Services: Service offerings
|
|
218
|
-
- Team: Team members
|
|
219
|
-
- Case studies: Detailed project showcases
|
|
220
|
-
- Contact: Contact form
|
|
221
|
-
|
|
222
|
-
4. Ensure:
|
|
223
|
-
- Creative and unique
|
|
224
|
-
- Smooth animations
|
|
225
|
-
- Showcase work effectively
|
|
226
|
-
- Professional but artistic
|
|
227
|
-
|
|
228
|
-
**Notes:**
|
|
229
|
-
- Use motion-driven patterns from search results
|
|
230
|
-
- Focus on visual impact
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
---
|
|
234
|
-
|
|
235
|
-
## Standard Prompt Structure
|
|
236
|
-
|
|
237
|
-
When creating prompts, should include:
|
|
238
|
-
|
|
239
|
-
### 1. Basic Information
|
|
240
|
-
```
|
|
241
|
-
**Requirements:**
|
|
242
|
-
- Product type: [SaaS, E-commerce, Service, etc.]
|
|
243
|
-
- Style: [minimal, elegant, modern, etc.]
|
|
244
|
-
- Industry: [Healthcare, Fintech, etc.]
|
|
245
|
-
- Stack: [html-tailwind, react, nextjs, etc.]
|
|
246
|
-
- Pages: [list pages to create]
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
### 2. Clear Process
|
|
250
|
-
```
|
|
251
|
-
**Process:**
|
|
252
|
-
1. Use skill ui-ux to search design intelligence
|
|
253
|
-
2. Create shared components
|
|
254
|
-
3. Implement pages in order
|
|
255
|
-
4. Ensure consistency and quality
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
### 3. Specific Search Commands (Optional)
|
|
259
|
-
```
|
|
260
|
-
**Search commands:**
|
|
261
|
-
```bash
|
|
262
|
-
python3 heraspec/skills/ui-ux/scripts/search.py "..." --domain ... --mode hybrid
|
|
263
|
-
```
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
### 4. Special Notes
|
|
267
|
-
```
|
|
268
|
-
**Notes:**
|
|
269
|
-
- Use appropriate search modes
|
|
270
|
-
- Follow best practices
|
|
271
|
-
- Check pre-delivery checklist
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## Tips for Effective Prompts
|
|
277
|
-
|
|
278
|
-
1. **Be specific about product type and style** - Helps search more accurately
|
|
279
|
-
2. **List all pages to create clearly** - Agent knows exact scope
|
|
280
|
-
3. **Mention search modes** - Encourages using hybrid/vector for better results
|
|
281
|
-
4. **Require consistency** - Ensures unified design system
|
|
282
|
-
5. **Mention stack** - Agent will search stack-specific guidelines
|
|
283
|
-
6. **Require accessibility** - Ensures WCAG compliance
|
|
284
|
-
|
|
285
|
-
---
|
|
286
|
-
|
|
287
|
-
## Short Prompt Example
|
|
288
|
-
|
|
289
|
-
```
|
|
290
|
-
Create a complete website package for [product type] with style [style keywords].
|
|
291
|
-
Use skill ui-ux to search design intelligence with hybrid mode.
|
|
292
|
-
Create pages: [list pages].
|
|
293
|
-
Stack: [stack].
|
|
294
|
-
Ensure responsive, accessible, and consistent design system.
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
---
|
|
298
|
-
|
|
299
|
-
## Detailed Prompt Example
|
|
300
|
-
|
|
301
|
-
```
|
|
302
|
-
Create a complete website package for [product type] with the following requirements:
|
|
303
|
-
|
|
304
|
-
**Information:**
|
|
305
|
-
- Product type: [type]
|
|
306
|
-
- Style: [keywords]
|
|
307
|
-
- Industry: [industry]
|
|
308
|
-
- Stack: [stack]
|
|
309
|
-
- Pages: [list]
|
|
310
|
-
|
|
311
|
-
**Process:**
|
|
312
|
-
1. Search design intelligence with skill ui-ux (use hybrid mode)
|
|
313
|
-
2. Create shared components (Header, Footer, Button, Card)
|
|
314
|
-
3. Implement pages: [order]
|
|
315
|
-
4. Verify with pre-delivery checklist
|
|
316
|
-
|
|
317
|
-
**Quality Requirements:**
|
|
318
|
-
- Consistent design system
|
|
319
|
-
- Responsive (320px, 768px, 1024px, 1440px)
|
|
320
|
-
- Accessible (WCAG AA)
|
|
321
|
-
- Performance optimized
|
|
322
|
-
- Follow search results from ui-ux skill
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
---
|
|
326
|
-
|
|
327
|
-
## Important Notes
|
|
328
|
-
|
|
329
|
-
1. **Always mention skill ui-ux** - Agent will know to use this skill
|
|
330
|
-
2. **Encourage using search modes** - Hybrid/Vector for better results
|
|
331
|
-
3. **Require multi-page** - Agent will create full package instead of just landing page
|
|
332
|
-
4. **Mention consistency** - Ensures all pages use same design system
|
|
333
|
-
5. **Require checklist** - Agent will verify before delivering
|
|
1
|
+
# Example Prompts: Creating Full Theme Packages
|
|
2
|
+
|
|
3
|
+
## Example Prompt 1: Healthcare & Spa Service Theme
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Create a complete website package for professional healthcare and spa services with the following requirements:
|
|
7
|
+
|
|
8
|
+
**Requirements:**
|
|
9
|
+
- Product type: Beauty & Wellness Service
|
|
10
|
+
- Style: Elegant, minimal, soft, professional
|
|
11
|
+
- Industry: Healthcare/Beauty
|
|
12
|
+
- Stack: html-tailwind (default)
|
|
13
|
+
- Create all pages: home, about, services, blog listing, blog post details, category, pricing, faq, contact
|
|
14
|
+
|
|
15
|
+
**Process:**
|
|
16
|
+
1. Use skill ui-ux to search for design intelligence
|
|
17
|
+
2. Create shared components first (Header, Footer, Button, Card)
|
|
18
|
+
3. Implement each page in order: Home → About → Services → Category → Post Details → Pricing → FAQ → Contact
|
|
19
|
+
4. Ensure consistency in colors, typography, spacing
|
|
20
|
+
5. Responsive and accessible
|
|
21
|
+
|
|
22
|
+
**Notes:**
|
|
23
|
+
- Use search scripts with hybrid mode for best results
|
|
24
|
+
- Follow pre-delivery checklist
|
|
25
|
+
- Split components into separate files
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Example Prompt 2: E-Commerce Theme
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
Create a complete website package for an online fashion store with the following requirements:
|
|
34
|
+
|
|
35
|
+
**Requirements:**
|
|
36
|
+
- Product type: E-commerce Luxury
|
|
37
|
+
- Style: Elegant, premium, sophisticated
|
|
38
|
+
- Industry: Fashion/Retail
|
|
39
|
+
- Stack: Next.js with Tailwind CSS
|
|
40
|
+
- Create all pages: home, about, product category, product details, cart, checkout, thank you, faq, contact
|
|
41
|
+
|
|
42
|
+
**Process:**
|
|
43
|
+
1. Use skill ui-ux to search:
|
|
44
|
+
- Product type recommendations
|
|
45
|
+
- Style guide with hybrid mode
|
|
46
|
+
- Color palette
|
|
47
|
+
- Typography
|
|
48
|
+
- Page types (home, product category, product details, cart, checkout, thank you)
|
|
49
|
+
- UX guidelines for e-commerce
|
|
50
|
+
- Next.js stack guidelines
|
|
51
|
+
|
|
52
|
+
2. Create design system:
|
|
53
|
+
- Color palette from search results
|
|
54
|
+
- Typography from search results
|
|
55
|
+
- Component library (Button, Card, Form, etc.)
|
|
56
|
+
|
|
57
|
+
3. Implement pages:
|
|
58
|
+
- Home with hero, featured products, testimonials
|
|
59
|
+
- Product category with filters
|
|
60
|
+
- Product details with gallery, add to cart
|
|
61
|
+
- Cart with quantity controls
|
|
62
|
+
- Checkout with form validation
|
|
63
|
+
- Thank you with order confirmation
|
|
64
|
+
|
|
65
|
+
4. Ensure:
|
|
66
|
+
- Conversion optimization
|
|
67
|
+
- Mobile-first responsive
|
|
68
|
+
- Accessibility (WCAG AA)
|
|
69
|
+
- Performance optimization
|
|
70
|
+
|
|
71
|
+
**Notes:**
|
|
72
|
+
- Use vector/hybrid mode for better semantic search
|
|
73
|
+
- Follow e-commerce best practices from search results
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Example Prompt 3: SaaS Landing Theme
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Create a complete website package for a project management SaaS platform with the following requirements:
|
|
82
|
+
|
|
83
|
+
**Requirements:**
|
|
84
|
+
- Product type: SaaS (General)
|
|
85
|
+
- Style: Modern, clean, professional, tech-forward
|
|
86
|
+
- Industry: B2B SaaS
|
|
87
|
+
- Stack: React with Tailwind CSS
|
|
88
|
+
- Create all pages: home, about, pricing, features, faq, contact, login, register, dashboard
|
|
89
|
+
|
|
90
|
+
**Process:**
|
|
91
|
+
1. Use skill ui-ux to search design intelligence:
|
|
92
|
+
```bash
|
|
93
|
+
# Search with hybrid mode for best results
|
|
94
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "SaaS project management" --domain product --mode hybrid
|
|
95
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "modern clean professional tech" --domain style --mode hybrid
|
|
96
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "SaaS" --domain color
|
|
97
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "professional modern" --domain typography --mode vector
|
|
98
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "home homepage" --domain pages
|
|
99
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "pricing plans tiers" --domain pages
|
|
100
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "login sign-in" --domain pages
|
|
101
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "dashboard account" --domain pages
|
|
102
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "responsive layout" --stack react --mode vector
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
2. Create shared components:
|
|
106
|
+
- Header with navigation
|
|
107
|
+
- Footer
|
|
108
|
+
- Button variants (primary, secondary, outline)
|
|
109
|
+
- Card components
|
|
110
|
+
- Form components
|
|
111
|
+
- Modal components
|
|
112
|
+
|
|
113
|
+
3. Implement pages in order:
|
|
114
|
+
- Home: Hero, features, testimonials, CTA
|
|
115
|
+
- About: Mission, team, values
|
|
116
|
+
- Pricing: Plans comparison, FAQ
|
|
117
|
+
- Features: Feature showcase
|
|
118
|
+
- FAQ: Accordion with search
|
|
119
|
+
- Contact: Form + info
|
|
120
|
+
- Login/Register: Auth forms
|
|
121
|
+
- Dashboard: User dashboard with stats
|
|
122
|
+
|
|
123
|
+
4. Ensure:
|
|
124
|
+
- Consistent design system
|
|
125
|
+
- Responsive design
|
|
126
|
+
- Accessibility
|
|
127
|
+
- Performance
|
|
128
|
+
|
|
129
|
+
**Notes:**
|
|
130
|
+
- Use search results to implement correct colors, fonts, styles
|
|
131
|
+
- Follow SaaS design patterns from search results
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Example Prompt 4: Blog/Content Site Theme
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
Create a complete website package for a technology blog with the following requirements:
|
|
140
|
+
|
|
141
|
+
**Requirements:**
|
|
142
|
+
- Product type: Content/News
|
|
143
|
+
- Style: Clean, readable, modern
|
|
144
|
+
- Industry: Technology/Education
|
|
145
|
+
- Stack: Next.js with Tailwind CSS
|
|
146
|
+
- Create all pages: home, blog listing, category, post details, about, contact, search results
|
|
147
|
+
|
|
148
|
+
**Process:**
|
|
149
|
+
1. Use skill ui-ux to search:
|
|
150
|
+
- Style recommendations for content sites
|
|
151
|
+
- Typography for readability
|
|
152
|
+
- Color palette for reading experience
|
|
153
|
+
- Page types (home, blog listing, category, post details, search results)
|
|
154
|
+
|
|
155
|
+
2. Create components:
|
|
156
|
+
- Header with navigation and search
|
|
157
|
+
- Footer
|
|
158
|
+
- Post card component
|
|
159
|
+
- Category filter
|
|
160
|
+
- Search bar
|
|
161
|
+
- Author card
|
|
162
|
+
- Related posts component
|
|
163
|
+
|
|
164
|
+
3. Implement pages:
|
|
165
|
+
- Home: Featured posts, recent posts, categories
|
|
166
|
+
- Blog listing: Post grid with pagination
|
|
167
|
+
- Category: Filtered post listing
|
|
168
|
+
- Post details: Full article with author, related posts
|
|
169
|
+
- Search results: Search with filters
|
|
170
|
+
- About: Author/company info
|
|
171
|
+
- Contact: Contact form
|
|
172
|
+
|
|
173
|
+
4. Ensure:
|
|
174
|
+
- Readability is priority
|
|
175
|
+
- SEO optimization
|
|
176
|
+
- Fast loading
|
|
177
|
+
- Social sharing
|
|
178
|
+
|
|
179
|
+
**Notes:**
|
|
180
|
+
- Focus on typography and readability
|
|
181
|
+
- Use vector mode for better semantic search
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Example Prompt 5: Portfolio/Creative Agency Theme
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
Create a complete website package for a creative agency with the following requirements:
|
|
190
|
+
|
|
191
|
+
**Requirements:**
|
|
192
|
+
- Product type: Creative Agency
|
|
193
|
+
- Style: Bold, creative, modern, artistic
|
|
194
|
+
- Industry: Design/Marketing
|
|
195
|
+
- Stack: React with Tailwind CSS
|
|
196
|
+
- Create all pages: home, about, portfolio, services, team, contact, case studies
|
|
197
|
+
|
|
198
|
+
**Process:**
|
|
199
|
+
1. Use skill ui-ux to search:
|
|
200
|
+
- Creative agency style recommendations
|
|
201
|
+
- Bold, artistic color palettes
|
|
202
|
+
- Creative typography
|
|
203
|
+
- Portfolio page patterns
|
|
204
|
+
- Motion-driven design patterns
|
|
205
|
+
|
|
206
|
+
2. Create components:
|
|
207
|
+
- Animated hero section
|
|
208
|
+
- Portfolio grid with filters
|
|
209
|
+
- Service cards
|
|
210
|
+
- Team member cards
|
|
211
|
+
- Case study components
|
|
212
|
+
|
|
213
|
+
3. Implement pages:
|
|
214
|
+
- Home: Bold hero, featured work, services preview
|
|
215
|
+
- About: Agency story, mission
|
|
216
|
+
- Portfolio: Project grid with filters and lightbox
|
|
217
|
+
- Services: Service offerings
|
|
218
|
+
- Team: Team members
|
|
219
|
+
- Case studies: Detailed project showcases
|
|
220
|
+
- Contact: Contact form
|
|
221
|
+
|
|
222
|
+
4. Ensure:
|
|
223
|
+
- Creative and unique
|
|
224
|
+
- Smooth animations
|
|
225
|
+
- Showcase work effectively
|
|
226
|
+
- Professional but artistic
|
|
227
|
+
|
|
228
|
+
**Notes:**
|
|
229
|
+
- Use motion-driven patterns from search results
|
|
230
|
+
- Focus on visual impact
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Standard Prompt Structure
|
|
236
|
+
|
|
237
|
+
When creating prompts, should include:
|
|
238
|
+
|
|
239
|
+
### 1. Basic Information
|
|
240
|
+
```
|
|
241
|
+
**Requirements:**
|
|
242
|
+
- Product type: [SaaS, E-commerce, Service, etc.]
|
|
243
|
+
- Style: [minimal, elegant, modern, etc.]
|
|
244
|
+
- Industry: [Healthcare, Fintech, etc.]
|
|
245
|
+
- Stack: [html-tailwind, react, nextjs, etc.]
|
|
246
|
+
- Pages: [list pages to create]
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### 2. Clear Process
|
|
250
|
+
```
|
|
251
|
+
**Process:**
|
|
252
|
+
1. Use skill ui-ux to search design intelligence
|
|
253
|
+
2. Create shared components
|
|
254
|
+
3. Implement pages in order
|
|
255
|
+
4. Ensure consistency and quality
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### 3. Specific Search Commands (Optional)
|
|
259
|
+
```
|
|
260
|
+
**Search commands:**
|
|
261
|
+
```bash
|
|
262
|
+
python3 heraspec/skills/ui-ux/scripts/search.py "..." --domain ... --mode hybrid
|
|
263
|
+
```
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### 4. Special Notes
|
|
267
|
+
```
|
|
268
|
+
**Notes:**
|
|
269
|
+
- Use appropriate search modes
|
|
270
|
+
- Follow best practices
|
|
271
|
+
- Check pre-delivery checklist
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Tips for Effective Prompts
|
|
277
|
+
|
|
278
|
+
1. **Be specific about product type and style** - Helps search more accurately
|
|
279
|
+
2. **List all pages to create clearly** - Agent knows exact scope
|
|
280
|
+
3. **Mention search modes** - Encourages using hybrid/vector for better results
|
|
281
|
+
4. **Require consistency** - Ensures unified design system
|
|
282
|
+
5. **Mention stack** - Agent will search stack-specific guidelines
|
|
283
|
+
6. **Require accessibility** - Ensures WCAG compliance
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Short Prompt Example
|
|
288
|
+
|
|
289
|
+
```
|
|
290
|
+
Create a complete website package for [product type] with style [style keywords].
|
|
291
|
+
Use skill ui-ux to search design intelligence with hybrid mode.
|
|
292
|
+
Create pages: [list pages].
|
|
293
|
+
Stack: [stack].
|
|
294
|
+
Ensure responsive, accessible, and consistent design system.
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## Detailed Prompt Example
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
Create a complete website package for [product type] with the following requirements:
|
|
303
|
+
|
|
304
|
+
**Information:**
|
|
305
|
+
- Product type: [type]
|
|
306
|
+
- Style: [keywords]
|
|
307
|
+
- Industry: [industry]
|
|
308
|
+
- Stack: [stack]
|
|
309
|
+
- Pages: [list]
|
|
310
|
+
|
|
311
|
+
**Process:**
|
|
312
|
+
1. Search design intelligence with skill ui-ux (use hybrid mode)
|
|
313
|
+
2. Create shared components (Header, Footer, Button, Card)
|
|
314
|
+
3. Implement pages: [order]
|
|
315
|
+
4. Verify with pre-delivery checklist
|
|
316
|
+
|
|
317
|
+
**Quality Requirements:**
|
|
318
|
+
- Consistent design system
|
|
319
|
+
- Responsive (320px, 768px, 1024px, 1440px)
|
|
320
|
+
- Accessible (WCAG AA)
|
|
321
|
+
- Performance optimized
|
|
322
|
+
- Follow search results from ui-ux skill
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Important Notes
|
|
328
|
+
|
|
329
|
+
1. **Always mention skill ui-ux** - Agent will know to use this skill
|
|
330
|
+
2. **Encourage using search modes** - Hybrid/Vector for better results
|
|
331
|
+
3. **Require multi-page** - Agent will create full package instead of just landing page
|
|
332
|
+
4. **Mention consistency** - Ensures all pages use same design system
|
|
333
|
+
5. **Require checklist** - Agent will verify before delivering
|