oneie 3.6.28 → 3.6.32

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.
@@ -1,20 +1,70 @@
1
1
  # /fast - Rapid Feature Building & Modification
2
2
 
3
- **Purpose:** Build or modify features at maximum speed without planning cycles. Zero ceremony, pure execution.
3
+ **Purpose:** Build or modify features at maximum speed through template reuse. Zero ceremony, pure execution.
4
4
 
5
5
  ---
6
6
 
7
7
  ## Core Philosophy
8
8
 
9
- **Sometimes you just need it done. Now.**
9
+ **Fast = Copy, Modify, Ship. Not Build From Scratch.**
10
10
 
11
11
  The `/fast` command is for when:
12
12
  - ✅ You know exactly what you want
13
13
  - ✅ Feature is small/straightforward (< 5 files)
14
- - ✅ No planning needed, just execution
15
- - ✅ Speed > process
14
+ - ✅ Existing templates can be adapted
15
+ - ✅ Speed > perfection
16
16
 
17
- **No cycles. No planning. No bureaucracy. Just build.**
17
+ **CRITICAL: Always search for existing templates FIRST. Never build from scratch if a template exists.**
18
+
19
+ **Template Priority:**
20
+ 1. **Product/Shop Features** → Use `/web/src/pages/shop/product-landing.astro` immediately
21
+ 2. **Other Features** → Search pages and components for similar patterns
22
+ 3. **No Template Found** → Build minimal version following existing patterns
23
+
24
+ **No cycles. No planning. No bureaucracy. Just copy, modify, ship.**
25
+
26
+ ---
27
+
28
+ ## Template-First Workflow (Execute for EVERY /fast request)
29
+
30
+ ### Step 1: Identify Feature Type
31
+ ```bash
32
+ # Product/shop/landing page?
33
+ → Use /web/src/pages/shop/product-landing.astro immediately
34
+
35
+ # Other feature?
36
+ → Proceed to Step 2
37
+ ```
38
+
39
+ ### Step 2: Search for Templates
40
+ ```bash
41
+ # Search pages for similar patterns
42
+ Glob: /web/src/pages/**/*.astro
43
+
44
+ # Search components for reusable elements
45
+ Glob: /web/src/components/**/*.tsx
46
+
47
+ # Pick closest match
48
+ ```
49
+
50
+ ### Step 3: Show Template to User
51
+ ```bash
52
+ # Be transparent about what you're using
53
+ "Using [template-path] as base, customizing [specific changes]"
54
+ ```
55
+
56
+ ### Step 4: Copy, Modify, Ship
57
+ ```bash
58
+ # Copy template
59
+ # Modify for specific needs
60
+ # Ship immediately
61
+ ```
62
+
63
+ ### Step 5: Offer Stripe Integration (if relevant)
64
+ ```bash
65
+ # For product/payment features
66
+ "Would you like to add Stripe payment integration?"
67
+ ```
18
68
 
19
69
  ---
20
70
 
@@ -24,21 +74,22 @@ The `/fast` command is for when:
24
74
  /fast [feature-description]
25
75
 
26
76
  # Examples:
27
- /fast Add dark mode toggle to header
28
- /fast Fix broken cart icon on mobile
29
- /fast Create pricing page with 3 tiers
30
- /fast Add email signup form to footer
31
- /fast Change primary color to blue
77
+ /fast Create product page for AI course → Uses product-landing.astro template
78
+ /fast Add dark mode toggle to header → Searches for existing toggle components
79
+ /fast Fix broken cart icon on mobile → Direct modification
80
+ /fast Create pricing page with 3 tiers → Uses product-landing.astro pricing section
81
+ /fast Add email signup form to footer → Searches for existing form components
32
82
  ```
33
83
 
34
84
  **What happens:**
35
- 1. Parse feature description
36
- 2. Identify files to create/modify
37
- 3. Execute immediately (no plan, no approval)
38
- 4. Deploy if applicable
39
- 5. Done.
85
+ 1. **Search for templates FIRST** (glob pages/components for similar patterns)
86
+ 2. **Show user the template** you're using and what you're customizing
87
+ 3. **Copy and modify** template for specific needs
88
+ 4. Execute immediately (no plan, no approval)
89
+ 5. **Offer Stripe integration** if feature is product/payment-related
90
+ 6. Done.
40
91
 
41
- **Time:** 30 seconds to 3 minutes (average: 90 seconds)
92
+ **Time:** 30 seconds to 3 minutes (average: 60 seconds with templates)
42
93
 
43
94
  ---
44
95
 
@@ -62,7 +113,7 @@ The `/fast` command is for when:
62
113
 
63
114
  ## Fast Execution Modes
64
115
 
65
- ### Mode 1: Create New Feature (3-5 minutes)
116
+ ### Mode 1: Template-Based Feature Creation (30-90 seconds)
66
117
 
67
118
  ```bash
68
119
  /fast Create pricing page with 3 tiers
@@ -70,13 +121,13 @@ The `/fast` command is for when:
70
121
 
71
122
  **Execution:**
72
123
  ```
73
- → Identify: Need Astro page + pricing component
74
- → Create: /web/src/pages/pricing.astro
75
- → Create: /web/src/components/Pricing.tsx
76
- → Style: Use existing design tokens
77
- → Test: Visual check (no formal testing)
78
- → Deploy: Push to staging
79
- ✅ Done in 3 minutes
124
+ → Search: Glob /web/src/pages/**/*.astro for pricing patterns
125
+ → Found: /web/src/pages/shop/product-landing.astro (has pricing section)
126
+ → Show: "Using product-landing.astro template, customizing for 3-tier pricing"
127
+ → Copy: Template to /web/src/pages/pricing.astro
128
+ → Modify: Update pricing tiers, remove product-specific sections
129
+ → Offer: "Would you like to add Stripe payment integration?"
130
+ ✅ Done in 90 seconds (vs 3-5 minutes from scratch)
80
131
  ```
81
132
 
82
133
  ### Mode 2: Modify Existing Feature (1-2 minutes)
@@ -265,37 +316,84 @@ The `/fast` command automatically detects:
265
316
 
266
317
  ---
267
318
 
268
- ## Speed Optimizations
319
+ ## Template-First Execution Strategy
269
320
 
270
- ### 1. Use Existing Patterns
271
- ```bash
272
- /fast Create new blog post page
321
+ ### CRITICAL: Template Search Process (Run BEFORE Building)
273
322
 
274
- → Searches: /web/src/pages/blog/
275
- → Finds: Existing post structure
276
- → Replicates: Same pattern, new content
277
- → Time: 60 seconds (vs 5 minutes from scratch)
278
- ```
323
+ **For EVERY /fast request, execute this search pattern:**
279
324
 
280
- ### 2. Component Reuse
281
325
  ```bash
282
- /fast Add testimonials to home page
326
+ # Step 1: Identify feature type
327
+ Is this a product/shop feature? → Use /web/src/pages/shop/product-landing.astro
328
+
329
+ # Step 2: Search for similar pages
330
+ Glob search: /web/src/pages/**/*.astro for similar page types
283
331
 
284
- → Checks: Do testimonials component exist?
285
- → Found: /web/src/components/Testimonials.tsx
286
- → Uses: Import and place on home page
287
- → Time: 30 seconds (vs 4 minutes new component)
332
+ # Step 3: Search for reusable components
333
+ Glob search: /web/src/components/**/*.tsx for relevant components
334
+
335
+ # Step 4: Pick closest match, copy, and modify
288
336
  ```
289
337
 
290
- ### 3. Template Matching
338
+ ### Template Priority Map
339
+
340
+ **Product Pages** → `/web/src/pages/shop/product-landing.astro`
341
+ - Product launches, sales pages, landing pages, offers
342
+ - Time: 30-60 seconds (just modify content)
343
+
344
+ **Blog/Content Pages** → Search `/web/src/pages/blog/`
345
+ - Articles, posts, case studies, documentation
346
+ - Time: 60 seconds (replicate structure)
347
+
348
+ **Marketing Pages** → Search `/web/src/pages/*.astro`
349
+ - About, pricing, features, contact
350
+ - Time: 2 minutes (adapt layout)
351
+
352
+ **Components** → Search `/web/src/components/`
353
+ - UI elements, forms, cards, modals
354
+ - Time: 30 seconds (import and place)
355
+
356
+ ### Example: Template-Driven Creation
357
+
291
358
  ```bash
292
- /fast Create landing page
359
+ /fast Create SaaS pricing page
360
+
361
+ → Step 1: Search for templates
362
+ Glob: /web/src/pages/**/*pricing*.astro
363
+ Found: /web/src/pages/shop/product-landing.astro (has pricing section)
364
+
365
+ → Step 2: Show user what we're using
366
+ "Using product-landing.astro template, customizing for SaaS pricing"
367
+
368
+ → Step 3: Copy and modify
369
+ - Keep: Layout, styling, structure
370
+ - Change: Content, pricing tiers, CTAs
371
+ - Remove: Product-specific sections
293
372
 
294
- → Matches: Similar to existing pages
295
- → Template: Hero + Features + CTA + Footer
296
- → Time: 3 minutes (vs 10 minutes custom)
373
+ → Step 4: Ship
374
+ Created: /web/src/pages/pricing.astro
375
+ Time: 90 seconds
376
+
377
+ → Step 5: Offer integration
378
+ "Would you like to add Stripe payment integration?"
297
379
  ```
298
380
 
381
+ ### Speed Comparison
382
+
383
+ **With Template:**
384
+ - Search: 10 seconds
385
+ - Copy: 5 seconds
386
+ - Modify: 30 seconds
387
+ - Total: **45 seconds**
388
+
389
+ **From Scratch:**
390
+ - Design: 2 minutes
391
+ - Build: 3 minutes
392
+ - Style: 2 minutes
393
+ - Total: **7 minutes**
394
+
395
+ **Template = 9x faster**
396
+
299
397
  ---
300
398
 
301
399
  ## Fast Command Variants
@@ -387,13 +485,16 @@ Total: 10 minutes, experiment live
387
485
 
388
486
  Even though `/fast` is rapid, it still:
389
487
 
488
+ ✅ **Searches templates FIRST** - Never builds from scratch if template exists
489
+ ✅ **Shows template being used** - Transparency in what's being copied
390
490
  ✅ **Validates against ontology** - Ensures features map to 6 dimensions
391
- ✅ **Checks existing code** - Searches for patterns to reuse
392
491
  ✅ **Type checks** - Runs `bunx astro check` before deploy
393
- ✅ **Maintains consistency** - Uses existing design tokens
492
+ ✅ **Maintains consistency** - Uses existing design tokens and patterns
394
493
  ✅ **Git commits** - Auto-commits with descriptive messages
494
+ ✅ **Offers integrations** - Suggests Stripe for product/payment features
395
495
 
396
496
  **What /fast does NOT do:**
497
+ ❌ Build from scratch when templates exist
397
498
  ❌ Formal testing (unless requested)
398
499
  ❌ Documentation (code is self-documenting)
399
500
  ❌ Design reviews (trust the patterns)
@@ -515,11 +616,15 @@ Fast executions are logged to:
515
616
 
516
617
  ## Key Principles
517
618
 
518
- 1. **Speed is the priority** - Sacrifice process for velocity
519
- 2. **Trust the patterns** - Replicate what works
520
- 3. **Good enough ships** - Perfection is the enemy of done
521
- 4. **Auto-commit everything** - Never lose work
522
- 5. **Fail fast** - If complex, escalate to `/plan`
619
+ 1. **Templates FIRST** - Always search before building from scratch
620
+ 2. **Show your work** - Tell user which template you're using
621
+ 3. **Copy, modify, ship** - Fastest path is adaptation, not creation
622
+ 4. **Speed is the priority** - Sacrifice process for velocity
623
+ 5. **Trust the patterns** - Replicate what works
624
+ 6. **Offer integrations** - Suggest Stripe for product/payment features
625
+ 7. **Good enough ships** - Perfection is the enemy of done
626
+ 8. **Auto-commit everything** - Never lose work
627
+ 9. **Fail fast** - If complex, escalate to `/plan`
523
628
 
524
629
  ---
525
630