oneie 3.6.30 → 3.6.33
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/.claude/agents/agent-backend.md +113 -0
- package/.claude/agents/agent-builder.md +239 -65
- package/.claude/agents/agent-designer.md +267 -11
- package/.claude/agents/agent-director.md +476 -5
- package/.claude/agents/agent-frontend.md +217 -0
- package/.claude/commands/chat.md +234 -10
- package/.claude/commands/create.md +421 -415
- package/.claude/commands/fast.md +156 -51
- package/.claude/commands/onboard.md +361 -100
- package/.claude/commands/one.md +95 -25
- package/.claude/commands/plan.md +367 -137
- package/.claude/commands/release.md +10 -6
- package/.claude/commands/start.md +45 -0
- package/.claude/hooks/.last-news-context +1 -1
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/release-cli.sh +7 -5
- package/CLAUDE.md +25 -0
- package/CREATE-WEBSITE.md +17 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +2 -3
- package/dist/commands/init.js.map +1 -1
- package/package.json +1 -2
- package/.mcp.json +0 -95
|
@@ -1,179 +1,440 @@
|
|
|
1
|
-
# /onboard -
|
|
1
|
+
# /onboard - Template-First Guided Onboarding
|
|
2
2
|
|
|
3
3
|
## Instructions for Claude
|
|
4
4
|
|
|
5
|
-
When user types `/onboard`,
|
|
5
|
+
When user types `/onboard`, guide them through a conversational, template-first onboarding experience.
|
|
6
6
|
|
|
7
|
-
### Step 1:
|
|
7
|
+
### Step 1: Warm Welcome & Discovery
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Otherwise, ask user:
|
|
9
|
+
Greet the user warmly and ask what they want to build:
|
|
12
10
|
|
|
13
11
|
```
|
|
14
12
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
15
|
-
|
|
13
|
+
🎉 Welcome to ONE Platform!
|
|
16
14
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
Let's build something amazing together.
|
|
17
|
+
|
|
18
|
+
What would you like to create today?
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
💡 Examples:
|
|
21
|
+
• "I want to sell coffee mugs"
|
|
22
|
+
• "I need a landing page for my new product"
|
|
23
|
+
• "I'm launching an online course"
|
|
24
|
+
• "I want to build a creator subscription page"
|
|
25
|
+
• "I need a shop for my handmade goods"
|
|
26
|
+
|
|
27
|
+
Tell me about your idea, and I'll help you get started in minutes!
|
|
21
28
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
22
29
|
```
|
|
23
30
|
|
|
24
|
-
### Step 2:
|
|
31
|
+
### Step 2: Map to Templates
|
|
32
|
+
|
|
33
|
+
Based on their response, identify the best template and explain the match:
|
|
25
34
|
|
|
26
|
-
|
|
35
|
+
#### E-commerce / Product / Shop Keywords
|
|
36
|
+
**Triggers:** "sell", "product", "shop", "store", "buy", "merchandise", "goods"
|
|
27
37
|
|
|
38
|
+
**Response:**
|
|
28
39
|
```
|
|
29
|
-
|
|
40
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
41
|
+
✨ Perfect! I can help you create a beautiful product page.
|
|
42
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
30
43
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
44
|
+
I have a complete e-commerce template that includes:
|
|
45
|
+
✓ Stunning product gallery with zoom
|
|
46
|
+
✓ Customer reviews section
|
|
47
|
+
✓ Urgency banners (stock levels, countdown)
|
|
48
|
+
✓ Mobile-optimized design
|
|
49
|
+
✓ Dark mode support
|
|
50
|
+
✓ Ready for Stripe payments
|
|
36
51
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- Navigation structure
|
|
40
|
-
- Key pages and sections
|
|
41
|
-
- Interactive elements
|
|
52
|
+
This usually takes hours to build from scratch, but with our template,
|
|
53
|
+
we can have your product page live in just a few minutes.
|
|
42
54
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
- Knowledge: What content? (blog posts, docs, FAQs)
|
|
55
|
+
Let's get started! Tell me about your product:
|
|
56
|
+
• What's the product name?
|
|
57
|
+
• What's the price?
|
|
58
|
+
• Do you have product images? (or I can use beautiful stock photos)
|
|
48
59
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
60
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
#### Course / Learning Keywords
|
|
64
|
+
**Triggers:** "course", "teach", "learning", "education", "training", "lesson"
|
|
65
|
+
|
|
66
|
+
**Response:**
|
|
67
|
+
```
|
|
68
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
69
|
+
📚 Excellent! Let's build your online course platform.
|
|
70
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
53
71
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
72
|
+
I have a learning management template that includes:
|
|
73
|
+
✓ Course catalog with search/filter
|
|
74
|
+
✓ Course detail pages with curriculum
|
|
75
|
+
✓ Instructor profiles
|
|
76
|
+
✓ Progress tracking UI
|
|
77
|
+
✓ Video player integration ready
|
|
78
|
+
✓ Certificate generation ready
|
|
58
79
|
|
|
59
|
-
|
|
80
|
+
Tell me about your course:
|
|
81
|
+
• What's the course title?
|
|
82
|
+
• What will students learn?
|
|
83
|
+
• Do you have course content ready?
|
|
60
84
|
|
|
61
|
-
|
|
62
|
-
|
|
85
|
+
Let's create something amazing!
|
|
86
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
63
87
|
```
|
|
64
88
|
|
|
65
|
-
|
|
89
|
+
#### Creator / Content Keywords
|
|
90
|
+
**Triggers:** "creator", "content", "newsletter", "subscribe", "membership", "audience"
|
|
66
91
|
|
|
92
|
+
**Response:**
|
|
67
93
|
```
|
|
68
94
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
69
|
-
|
|
95
|
+
🚀 Great choice! Let's build your creator platform.
|
|
70
96
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
71
97
|
|
|
72
|
-
|
|
98
|
+
I have a creator template that includes:
|
|
99
|
+
✓ Personal brand showcase
|
|
100
|
+
✓ Content feed (blog/videos/podcasts)
|
|
101
|
+
✓ Subscription tiers
|
|
102
|
+
✓ Member-only content gates
|
|
103
|
+
✓ Social proof (testimonials, stats)
|
|
104
|
+
✓ Newsletter signup
|
|
105
|
+
|
|
106
|
+
Tell me about your brand:
|
|
107
|
+
• What's your creator name or brand?
|
|
108
|
+
• What type of content do you create?
|
|
109
|
+
• What monetization model? (tips, subscriptions, products)
|
|
110
|
+
|
|
111
|
+
Let's build your audience!
|
|
112
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 3: Create from Template
|
|
116
|
+
|
|
117
|
+
Use the Task tool to spawn agent-builder in background mode:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
Create [product/course/creator] page from template:
|
|
121
|
+
|
|
122
|
+
Template: /web/src/pages/shop/product-landing.astro (or appropriate template)
|
|
123
|
+
|
|
124
|
+
Customization:
|
|
125
|
+
- Title: [user's product/course/brand name]
|
|
126
|
+
- Description: [user's description]
|
|
127
|
+
- Price: [user's price or default]
|
|
128
|
+
- Images: [use DummyJSON API or provided images]
|
|
129
|
+
- Category: [inferred category]
|
|
130
|
+
|
|
131
|
+
Steps:
|
|
132
|
+
1. Copy template to appropriate route
|
|
133
|
+
2. Update product/course/creator data
|
|
134
|
+
3. Customize branding (colors, fonts if provided)
|
|
135
|
+
4. Ensure mobile responsiveness
|
|
136
|
+
5. Test all sections render correctly
|
|
137
|
+
|
|
138
|
+
Output: Complete page at [route]
|
|
139
|
+
```
|
|
73
140
|
|
|
74
|
-
|
|
75
|
-
✓ Brand colors, fonts, and style
|
|
76
|
-
✓ Existing features and content
|
|
77
|
-
✓ Ontology mapping (Things, Connections, Events)
|
|
78
|
-
✓ Feature recommendations
|
|
141
|
+
### Step 4: Show Progress & First Success
|
|
79
142
|
|
|
80
|
-
|
|
143
|
+
```
|
|
144
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
145
|
+
🎨 Creating your page...
|
|
146
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
147
|
+
|
|
148
|
+
✓ Template copied
|
|
149
|
+
✓ Product data configured
|
|
150
|
+
✓ Gallery set up with images
|
|
151
|
+
✓ Reviews section added
|
|
152
|
+
✓ Mobile optimization applied
|
|
81
153
|
|
|
82
154
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
83
|
-
|
|
155
|
+
🎉 Your page is ready!
|
|
84
156
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
85
157
|
|
|
158
|
+
View your new page at:
|
|
159
|
+
http://localhost:4321/shop/[product-slug]
|
|
160
|
+
|
|
86
161
|
Try these commands:
|
|
87
|
-
• /
|
|
88
|
-
• /
|
|
89
|
-
|
|
162
|
+
• /see - Open in browser
|
|
163
|
+
• /server - Manage dev server
|
|
164
|
+
```
|
|
90
165
|
|
|
91
|
-
|
|
92
|
-
|
|
166
|
+
### Step 5: Offer Enhancements
|
|
167
|
+
|
|
168
|
+
After successful creation, offer next steps in priority order:
|
|
169
|
+
|
|
170
|
+
#### Option 1: Make it the Homepage
|
|
93
171
|
```
|
|
172
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
173
|
+
💡 Pro Tip
|
|
174
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
94
175
|
|
|
95
|
-
|
|
176
|
+
Would you like this to be your homepage?
|
|
96
177
|
|
|
97
|
-
|
|
178
|
+
I can make it so visitors see your product immediately when they
|
|
179
|
+
land on your site. Just say:
|
|
98
180
|
|
|
99
|
-
|
|
181
|
+
"Make this my homepage"
|
|
182
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
183
|
+
```
|
|
100
184
|
|
|
185
|
+
#### Option 2: Add Stripe Payments
|
|
101
186
|
```
|
|
102
187
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
103
|
-
|
|
188
|
+
💳 Ready to Accept Payments?
|
|
104
189
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
105
190
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
191
|
+
I can integrate Stripe checkout in minutes. Your customers will be
|
|
192
|
+
able to buy directly from your page with:
|
|
193
|
+
|
|
194
|
+
✓ Secure card payments
|
|
195
|
+
✓ Automatic email receipts
|
|
196
|
+
✓ Test mode (no real charges during development)
|
|
197
|
+
✓ Mobile-optimized checkout
|
|
110
198
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
199
|
+
To add Stripe:
|
|
200
|
+
1. Get free test keys: https://dashboard.stripe.com/test/apikeys
|
|
201
|
+
2. Tell me: "Add Stripe payments"
|
|
202
|
+
3. Paste your keys when I ask
|
|
115
203
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
• Events: [action-types]
|
|
204
|
+
Or read the guide: https://one.ie/docs/develop/stripe
|
|
205
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
206
|
+
```
|
|
120
207
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
208
|
+
#### Option 3: Customize Branding
|
|
209
|
+
```
|
|
210
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
211
|
+
🎨 Customize Your Brand
|
|
212
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
125
213
|
|
|
214
|
+
Want to match your brand colors and style?
|
|
215
|
+
|
|
216
|
+
You can customize:
|
|
217
|
+
• Colors (primary, secondary, accent)
|
|
218
|
+
• Fonts and typography
|
|
219
|
+
• Logo and favicon
|
|
220
|
+
• Button styles
|
|
221
|
+
• Layout spacing
|
|
222
|
+
|
|
223
|
+
Just tell me your brand colors or share your website, and I'll
|
|
224
|
+
update the design to match!
|
|
225
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
#### Option 4: Add More Products
|
|
229
|
+
```
|
|
126
230
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
127
|
-
|
|
231
|
+
📦 Build Your Catalog
|
|
128
232
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
129
233
|
|
|
130
|
-
|
|
131
|
-
"Update the hero section with our brand colors"
|
|
234
|
+
Want to add more products?
|
|
132
235
|
|
|
133
|
-
|
|
134
|
-
|
|
236
|
+
I can:
|
|
237
|
+
• Create additional product pages
|
|
238
|
+
• Build a product grid/catalog page
|
|
239
|
+
• Set up product categories
|
|
240
|
+
• Add search and filtering
|
|
135
241
|
|
|
136
|
-
|
|
137
|
-
|
|
242
|
+
Just tell me about your next product, and I'll add it!
|
|
243
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Step 6: Continuous Support
|
|
247
|
+
|
|
248
|
+
After offering enhancements, remind them you're here to help:
|
|
138
249
|
|
|
250
|
+
```
|
|
251
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
252
|
+
🤝 I'm Here to Help
|
|
253
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
254
|
+
|
|
255
|
+
You're doing great! Feel free to ask me anything:
|
|
256
|
+
|
|
257
|
+
• "How do I deploy this?"
|
|
258
|
+
• "Can you add a contact form?"
|
|
259
|
+
• "I want to change the colors"
|
|
260
|
+
• "How do I add my logo?"
|
|
261
|
+
• "Can you create a shop page with all my products?"
|
|
262
|
+
|
|
263
|
+
I'm here to help you succeed. What would you like to do next?
|
|
139
264
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
140
265
|
```
|
|
141
266
|
|
|
142
267
|
---
|
|
143
268
|
|
|
144
|
-
##
|
|
269
|
+
## Template Catalog Reference
|
|
270
|
+
|
|
271
|
+
### E-commerce Template
|
|
272
|
+
**Location:** `/web/src/pages/shop/product-landing.astro`
|
|
273
|
+
**Guide:** `/web/src/pages/shop/TEMPLATE-README.md`
|
|
274
|
+
**Best for:** Products, merchandise, physical goods, digital products
|
|
275
|
+
**Features:** Gallery, reviews, urgency banners, Stripe ready, mobile-optimized
|
|
276
|
+
|
|
277
|
+
### LMS Template
|
|
278
|
+
**Location:** `/web/src/templates/lms/` (to be created)
|
|
279
|
+
**Best for:** Online courses, training programs, educational content
|
|
280
|
+
**Features:** Course catalog, curriculum, progress tracking, certificates
|
|
145
281
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
5. **ACTIONABLE** - Provide clear next steps
|
|
282
|
+
### Creator Template
|
|
283
|
+
**Location:** `/web/src/templates/creator/` (to be created)
|
|
284
|
+
**Best for:** Personal brands, content creators, memberships
|
|
285
|
+
**Features:** Content feed, subscription tiers, gated content, newsletter
|
|
151
286
|
|
|
152
287
|
---
|
|
153
288
|
|
|
154
|
-
##
|
|
289
|
+
## Conversational Guidelines
|
|
290
|
+
|
|
291
|
+
### Tone & Style
|
|
292
|
+
- **Warm & Encouraging:** "Let's build something amazing!"
|
|
293
|
+
- **Clear & Simple:** Avoid jargon, explain in plain language
|
|
294
|
+
- **Excited & Supportive:** Use emojis strategically (not excessively)
|
|
295
|
+
- **Action-Oriented:** Always offer clear next steps
|
|
296
|
+
- **Patient:** Answer questions thoroughly, never rush
|
|
297
|
+
|
|
298
|
+
### Question Patterns
|
|
299
|
+
- Open-ended: "What would you like to create today?"
|
|
300
|
+
- Specific: "What's your product name?"
|
|
301
|
+
- Contextual: "Would you like this to be your homepage?"
|
|
302
|
+
- Helpful: "I can help with that! Here's how..."
|
|
303
|
+
|
|
304
|
+
### Response Patterns
|
|
305
|
+
- Acknowledge: "Perfect! I can help with that."
|
|
306
|
+
- Explain: "Here's what we'll build..."
|
|
307
|
+
- Reassure: "This usually takes hours, but we'll do it in minutes."
|
|
308
|
+
- Guide: "Tell me about..."
|
|
309
|
+
- Celebrate: "Your page is ready!"
|
|
310
|
+
- Support: "I'm here to help you succeed."
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## Edge Cases
|
|
315
|
+
|
|
316
|
+
### User Has Existing Website
|
|
317
|
+
If user mentions an existing website:
|
|
318
|
+
|
|
319
|
+
```
|
|
320
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
321
|
+
🎨 Great! Let's Match Your Brand
|
|
322
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
323
|
+
|
|
324
|
+
I can analyze your website at [url] to extract:
|
|
325
|
+
✓ Brand colors
|
|
326
|
+
✓ Typography (fonts)
|
|
327
|
+
✓ Style and tone
|
|
328
|
+
✓ Logo and imagery
|
|
329
|
+
|
|
330
|
+
Then I'll create your new page to match your existing brand perfectly.
|
|
331
|
+
|
|
332
|
+
Should I analyze your website first?
|
|
333
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
If yes, spawn agent-onboard to analyze website (existing pattern).
|
|
155
337
|
|
|
156
|
-
|
|
338
|
+
### User Wants Something Not in Templates
|
|
339
|
+
If user request doesn't match available templates:
|
|
157
340
|
|
|
158
341
|
```
|
|
159
|
-
|
|
342
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
343
|
+
🚀 Custom Build
|
|
344
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
345
|
+
|
|
346
|
+
That sounds like a custom project! I can definitely help you build that.
|
|
160
347
|
|
|
161
|
-
|
|
162
|
-
•
|
|
163
|
-
•
|
|
164
|
-
•
|
|
348
|
+
Let me understand what you need:
|
|
349
|
+
• What are the main features?
|
|
350
|
+
• Who will use it?
|
|
351
|
+
• What content or data will it show?
|
|
165
352
|
|
|
166
|
-
|
|
353
|
+
With your answers, I'll design a solution using ONE's powerful
|
|
354
|
+
6-dimension architecture.
|
|
355
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
167
356
|
```
|
|
168
357
|
|
|
169
|
-
|
|
358
|
+
Then map to ontology and build custom solution.
|
|
359
|
+
|
|
360
|
+
### User Is Not Sure
|
|
361
|
+
If user says "I'm not sure" or "Just exploring":
|
|
362
|
+
|
|
363
|
+
```
|
|
364
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
365
|
+
🌟 Let Me Show You What's Possible
|
|
366
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
367
|
+
|
|
368
|
+
Here are some popular things people build with ONE:
|
|
369
|
+
|
|
370
|
+
1. Product Landing Pages
|
|
371
|
+
Sell anything online with beautiful pages + Stripe payments
|
|
372
|
+
Example: Coffee shop, handmade goods, digital downloads
|
|
373
|
+
|
|
374
|
+
2. Online Courses
|
|
375
|
+
Teach and sell courses with built-in curriculum and progress tracking
|
|
376
|
+
Example: Photography course, coding bootcamp, cooking classes
|
|
170
377
|
|
|
378
|
+
3. Creator Platforms
|
|
379
|
+
Build your audience with content, subscriptions, and memberships
|
|
380
|
+
Example: Newsletter + paid tiers, podcast + shop, YouTube + merch
|
|
381
|
+
|
|
382
|
+
Which one sounds most interesting?
|
|
383
|
+
|
|
384
|
+
Or tell me about your business/idea, and I'll suggest the best fit!
|
|
385
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
171
386
|
```
|
|
172
|
-
❌ Website analysis failed
|
|
173
387
|
|
|
174
|
-
|
|
175
|
-
1. /onboard - Retry analysis
|
|
176
|
-
2. Manual setup in /[org-slug]/knowledge/
|
|
388
|
+
---
|
|
177
389
|
|
|
178
|
-
|
|
390
|
+
## Implementation Notes
|
|
391
|
+
|
|
392
|
+
### Background Processing
|
|
393
|
+
- Use Task tool with `run_in_background: true` for page creation
|
|
394
|
+
- Don't block user interaction while building
|
|
395
|
+
- Show progress updates
|
|
396
|
+
- Notify when complete
|
|
397
|
+
|
|
398
|
+
### Template Selection Logic
|
|
399
|
+
```typescript
|
|
400
|
+
// Pseudo-code for template matching
|
|
401
|
+
const keywords = {
|
|
402
|
+
ecommerce: ["sell", "product", "shop", "store", "buy", "merchandise", "goods", "price"],
|
|
403
|
+
lms: ["course", "teach", "learn", "education", "training", "lesson", "student"],
|
|
404
|
+
creator: ["creator", "content", "newsletter", "subscribe", "membership", "audience", "fans"]
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
function selectTemplate(userInput: string): string {
|
|
408
|
+
const input = userInput.toLowerCase();
|
|
409
|
+
|
|
410
|
+
for (const [template, words] of Object.entries(keywords)) {
|
|
411
|
+
if (words.some(word => input.includes(word))) {
|
|
412
|
+
return template;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
return "custom"; // No template match, needs custom build
|
|
417
|
+
}
|
|
179
418
|
```
|
|
419
|
+
|
|
420
|
+
### Success Metrics
|
|
421
|
+
Track onboarding success:
|
|
422
|
+
- Did user create their first page? ✓
|
|
423
|
+
- Did user add Stripe? (optional)
|
|
424
|
+
- Did user deploy? (optional)
|
|
425
|
+
- Did user ask follow-up questions? (engagement)
|
|
426
|
+
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
## Key Principles
|
|
430
|
+
|
|
431
|
+
1. **Template-First:** Always search for matching template before custom builds
|
|
432
|
+
2. **Conversational:** Feel like a helpful guide, not a technical assistant
|
|
433
|
+
3. **Fast Success:** Get user to working page in < 5 minutes
|
|
434
|
+
4. **Progressive Disclosure:** Show advanced features AFTER first success
|
|
435
|
+
5. **Encouraging:** Celebrate wins, support through challenges
|
|
436
|
+
6. **Clear Next Steps:** Always offer 2-3 actionable next steps
|
|
437
|
+
|
|
438
|
+
---
|
|
439
|
+
|
|
440
|
+
**Built to guide users from idea to live page in minutes, with joy and confidence.**
|