ultra-dex 1.7.2 → 1.8.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.
Files changed (81) hide show
  1. package/README.md +40 -2
  2. package/assets/agents/0-orchestration/orchestrator.md +225 -0
  3. package/assets/agents/00-AGENT_INDEX.md +138 -0
  4. package/assets/agents/1-leadership/cto.md +186 -0
  5. package/assets/agents/1-leadership/planner.md +205 -0
  6. package/assets/agents/1-leadership/research.md +285 -0
  7. package/assets/agents/2-development/backend.md +472 -0
  8. package/assets/agents/2-development/database.md +516 -0
  9. package/assets/agents/2-development/frontend.md +144 -0
  10. package/assets/agents/3-security/auth.md +168 -0
  11. package/assets/agents/3-security/security.md +335 -0
  12. package/assets/agents/4-devops/devops.md +587 -0
  13. package/assets/agents/5-quality/debugger.md +188 -0
  14. package/assets/agents/5-quality/documentation.md +167 -0
  15. package/assets/agents/5-quality/reviewer.md +213 -0
  16. package/assets/agents/5-quality/testing.md +280 -0
  17. package/assets/agents/6-specialist/performance.md +323 -0
  18. package/assets/agents/6-specialist/refactoring.md +343 -0
  19. package/assets/agents/AGENT-INSTRUCTIONS.md +315 -0
  20. package/assets/agents/README.md +232 -0
  21. package/assets/cursor-rules/00-ultra-dex-core.mdc +48 -0
  22. package/assets/cursor-rules/01-database.mdc +50 -0
  23. package/assets/cursor-rules/02-api.mdc +81 -0
  24. package/assets/cursor-rules/03-auth.mdc +70 -0
  25. package/assets/cursor-rules/04-frontend.mdc +92 -0
  26. package/assets/cursor-rules/05-payments.mdc +88 -0
  27. package/assets/cursor-rules/06-testing.mdc +104 -0
  28. package/assets/cursor-rules/07-security.mdc +94 -0
  29. package/assets/cursor-rules/08-deployment.mdc +92 -0
  30. package/assets/cursor-rules/09-error-handling.mdc +137 -0
  31. package/assets/cursor-rules/10-performance.mdc +123 -0
  32. package/assets/cursor-rules/11-nextjs-v15.mdc +307 -0
  33. package/assets/cursor-rules/12-multi-tenancy.mdc +282 -0
  34. package/assets/cursor-rules/README.md +78 -0
  35. package/assets/cursor-rules/load.ps1 +108 -0
  36. package/assets/cursor-rules/load.sh +102 -0
  37. package/assets/docs/BUILD-AUTH-30M.md +113 -0
  38. package/assets/docs/CHECKLIST-21-STEP.md +86 -0
  39. package/assets/docs/CODEMAP.md +229 -0
  40. package/assets/docs/CUSTOMIZATION.md +127 -0
  41. package/assets/docs/LAUNCH-POSTS.md +238 -0
  42. package/assets/docs/QUICK-REFERENCE.md +338 -0
  43. package/assets/docs/README.md +21 -0
  44. package/assets/docs/ROADMAP.md +480 -0
  45. package/assets/docs/TROUBLESHOOTING.md +148 -0
  46. package/assets/docs/TUTORIAL.md +182 -0
  47. package/assets/docs/VERIFICATION.md +108 -0
  48. package/assets/docs/VISION-V2.md +187 -0
  49. package/assets/docs/WORKFLOW-DIAGRAMS.md +463 -0
  50. package/assets/docs/index.html +550 -0
  51. package/assets/live-templates/next15-prisma-clerk/.env.example +3 -0
  52. package/assets/live-templates/next15-prisma-clerk/README.md +10 -0
  53. package/assets/live-templates/next15-prisma-clerk/app/layout.tsx +7 -0
  54. package/assets/live-templates/next15-prisma-clerk/app/page.tsx +8 -0
  55. package/assets/live-templates/next15-prisma-clerk/next.config.js +6 -0
  56. package/assets/live-templates/next15-prisma-clerk/package.json +22 -0
  57. package/assets/live-templates/next15-prisma-clerk/prisma/schema.prisma +34 -0
  58. package/assets/live-templates/remix-supabase/.env.example +2 -0
  59. package/assets/live-templates/remix-supabase/README.md +9 -0
  60. package/assets/live-templates/remix-supabase/app/root.tsx +19 -0
  61. package/assets/live-templates/remix-supabase/app/routes/_index.tsx +8 -0
  62. package/assets/live-templates/remix-supabase/app/utils/supabase.server.ts +6 -0
  63. package/assets/live-templates/remix-supabase/package.json +20 -0
  64. package/assets/live-templates/remix-supabase/remix.config.js +6 -0
  65. package/assets/live-templates/sveltekit-drizzle/.env.example +1 -0
  66. package/assets/live-templates/sveltekit-drizzle/README.md +9 -0
  67. package/assets/live-templates/sveltekit-drizzle/drizzle/schema.ts +7 -0
  68. package/assets/live-templates/sveltekit-drizzle/drizzle.config.ts +5 -0
  69. package/assets/live-templates/sveltekit-drizzle/package.json +21 -0
  70. package/assets/live-templates/sveltekit-drizzle/src/lib/db.ts +5 -0
  71. package/assets/live-templates/sveltekit-drizzle/src/routes/+page.svelte +2 -0
  72. package/assets/live-templates/sveltekit-drizzle/svelte.config.js +5 -0
  73. package/assets/live-templates/sveltekit-drizzle/vite.config.js +5 -0
  74. package/assets/saas-plan/04-Imp-Template.md +5546 -0
  75. package/assets/templates/CASE-STUDY-TEMPLATE.md +139 -0
  76. package/assets/templates/MASTER-PLAN-TEMPLATE.md +647 -0
  77. package/assets/templates/ORDER-TRACKER-TEMPLATE.md +731 -0
  78. package/assets/templates/PHASE-TRACKER-TEMPLATE.md +577 -0
  79. package/assets/templates/README.md +419 -0
  80. package/bin/ultra-dex.js +643 -29
  81. package/package.json +3 -3
@@ -0,0 +1,577 @@
1
+ # [Your Project Name] - Phase Tracker
2
+
3
+ > Track your SaaS implementation with Ultra-Dex agents
4
+
5
+ **Project:** [Your Project Name]
6
+ **Started:** [Date]
7
+ **Target Launch:** [Date]
8
+ **Last Updated:** [Date]
9
+
10
+ ---
11
+
12
+ ## How to Use This File
13
+
14
+ 1. **Copy this template** to your project root
15
+ 2. **Rename** to `PHASE-TRACKER.md`
16
+ 3. **Fill in your project details** (name, dates, features)
17
+ 4. **Define your phases** below (copy Phase 1 template for each phase)
18
+ 5. **Mark tasks** as ✅ DONE, 🔄 IN PROGRESS, or ⏳ PENDING
19
+ 6. **Work in order** - Don't skip ahead
20
+ 7. **Update daily** - Keep this as your source of truth
21
+
22
+ ---
23
+
24
+ ## Project Overview
25
+
26
+ **Elevator Pitch:** [Your product in one sentence]
27
+
28
+ **Core Features:**
29
+ 1. [Feature 1]
30
+ 2. [Feature 2]
31
+ 3. [Feature 3]
32
+
33
+ **Tech Stack:**
34
+ - Frontend: [Next.js / React / Vue]
35
+ - Backend: [Node.js / Python / Go]
36
+ - Database: [PostgreSQL / MongoDB / MySQL]
37
+ - Hosting: [Vercel / Railway / AWS]
38
+
39
+ ---
40
+
41
+ ## Progress Summary
42
+
43
+ | Phase | Tasks | Complete | Status |
44
+ |-------|-------|----------|--------|
45
+ | Phase 1: MVP Foundation | 1-10 | 0/10 | ⏳ NOT STARTED |
46
+ | Phase 2: Authentication | 11-18 | 0/8 | ⏳ PENDING |
47
+ | Phase 3: Core Feature | 19-28 | 0/10 | ⏳ PENDING |
48
+ | Phase 4: Polish & Test | 29-35 | 0/7 | ⏳ PENDING |
49
+ | Phase 5: Launch | 36-40 | 0/5 | ⏳ PENDING |
50
+
51
+ **Total Progress:** 0/40 tasks (0%)
52
+
53
+ **Next Task:** #1 - @Planner (Define MVP scope)
54
+
55
+ ---
56
+
57
+ # PHASE 1: MVP FOUNDATION
58
+
59
+ **Goal:** Core feature working end-to-end (no auth, no polish)
60
+
61
+ **Duration:** 1-2 days
62
+
63
+ **Definition of Done:**
64
+ - [ ] Database schema deployed
65
+ - [ ] Core API endpoints working
66
+ - [ ] Basic UI renders
67
+ - [ ] Can create/read/update/delete main entity
68
+ - [ ] Deployed to staging
69
+
70
+ | # | Agent | Task | Status | Notes |
71
+ |---|-------|------|--------|-------|
72
+ | 1 | @Planner | Define MVP scope | ⏳ PENDING | |
73
+ | 2 | @CTO | Architecture review | ⏳ PENDING | |
74
+ | 3 | @Database | Schema design | ⏳ PENDING | |
75
+ | 4 | @Backend | Core API endpoints | ⏳ PENDING | |
76
+ | 5 | @Frontend | Basic UI | ⏳ PENDING | |
77
+ | 6 | @Testing | Write tests | ⏳ PENDING | |
78
+ | 7 | @Reviewer | Code review | ⏳ PENDING | |
79
+ | 8 | @DevOps | Deploy to staging | ⏳ PENDING | |
80
+
81
+ ---
82
+
83
+ ### Task 1: Define MVP Scope ⏳
84
+
85
+ ```
86
+ Agent: @Planner
87
+ Status: ⏳ PENDING
88
+ Started: [Date]
89
+ Completed: [Date]
90
+
91
+ Command:
92
+ Load agents/1-leadership/planner.md
93
+
94
+ Task: Break down MVP into implementable tasks.
95
+
96
+ Project: [Your project name]
97
+ Goal: [What the MVP should do]
98
+ Features: [List main features]
99
+ Timeline: [Target completion]
100
+
101
+ Expected Output:
102
+ - Task list with dependencies
103
+ - Priority order
104
+ - Estimated complexity for each task
105
+
106
+ Next Agent: @CTO (architecture review)
107
+ ```
108
+
109
+ **Result:**
110
+ ```
111
+ [Paste @Planner output here after completion]
112
+ ```
113
+
114
+ ---
115
+
116
+ ### Task 2: Architecture Review ⏳
117
+
118
+ ```
119
+ Agent: @CTO
120
+ Status: ⏳ PENDING
121
+ Started: [Date]
122
+ Completed: [Date]
123
+
124
+ Command:
125
+ Load agents/1-leadership/cto.md
126
+
127
+ Task: Review MVP architecture and approve tech stack.
128
+
129
+ Context from @Planner:
130
+ [Paste task breakdown]
131
+
132
+ Questions:
133
+ 1. Database choice (PostgreSQL, MongoDB, MySQL)?
134
+ 2. API design (REST, GraphQL, tRPC)?
135
+ 3. Authentication approach (defer to Phase 2)?
136
+ 4. Hosting platform (Vercel, Railway, AWS)?
137
+
138
+ Expected Output:
139
+ - Approved architecture decisions
140
+ - Tech stack choices with rationale
141
+ - API design principles
142
+ - Database schema guidelines
143
+
144
+ Next Agent: @Database (schema design)
145
+ ```
146
+
147
+ **Result:**
148
+ ```
149
+ [Paste @CTO output here after completion]
150
+ ```
151
+
152
+ ---
153
+
154
+ ### Task 3: Schema Design ⏳
155
+
156
+ ```
157
+ Agent: @Database
158
+ Status: ⏳ PENDING
159
+ Started: [Date]
160
+ Completed: [Date]
161
+
162
+ Command:
163
+ Load agents/2-development/database.md
164
+
165
+ Task: Design database schema for MVP.
166
+
167
+ Requirements from @CTO:
168
+ [Paste approved data model]
169
+
170
+ Action:
171
+ - Create Prisma schema (or equivalent ORM)
172
+ - Define relationships between entities
173
+ - Add indexes for queries
174
+ - Create migration files
175
+
176
+ Expected Output:
177
+ - Schema file (prisma/schema.prisma)
178
+ - Migration command
179
+ - Seed data (optional)
180
+
181
+ Next Agent: @Backend (API implementation)
182
+ ```
183
+
184
+ **Result:**
185
+ ```
186
+ [Paste schema code here]
187
+
188
+ Migration command:
189
+ npx prisma migrate dev --name init
190
+
191
+ Status: ⏳ NOT RUN / ✅ MIGRATED
192
+ ```
193
+
194
+ ---
195
+
196
+ ### Task 4: Core API Endpoints ⏳
197
+
198
+ ```
199
+ Agent: @Backend
200
+ Status: ⏳ PENDING
201
+ Started: [Date]
202
+ Completed: [Date]
203
+
204
+ Command:
205
+ Load agents/2-development/backend.md
206
+
207
+ Task: Implement CRUD endpoints for main entity.
208
+
209
+ Schema from @Database:
210
+ [Reference schema]
211
+
212
+ Endpoints to build:
213
+ - GET /api/[resource] (list with pagination)
214
+ - GET /api/[resource]/:id (single item)
215
+ - POST /api/[resource] (create)
216
+ - PUT /api/[resource]/:id (update)
217
+ - DELETE /api/[resource]/:id (delete)
218
+
219
+ Requirements:
220
+ - Input validation
221
+ - Error handling
222
+ - TypeScript types
223
+
224
+ Expected Output:
225
+ - Working API endpoints
226
+ - Test curl commands
227
+ - Error handling for edge cases
228
+
229
+ Next Agent: @Frontend (UI implementation)
230
+ ```
231
+
232
+ **Result:**
233
+ ```
234
+ [Paste API code location]
235
+
236
+ Test commands:
237
+ curl [examples]
238
+
239
+ Status: ⏳ NOT TESTED / ✅ WORKING
240
+ ```
241
+
242
+ ---
243
+
244
+ ### Task 5: Basic UI ⏳
245
+
246
+ ```
247
+ Agent: @Frontend
248
+ Status: ⏳ PENDING
249
+ Started: [Date]
250
+ Completed: [Date]
251
+
252
+ Command:
253
+ Load agents/2-development/frontend.md
254
+
255
+ Task: Build basic UI for main feature.
256
+
257
+ API from @Backend:
258
+ [Reference endpoints]
259
+
260
+ Components needed:
261
+ - List view (shows all items)
262
+ - Detail view (shows single item)
263
+ - Create form
264
+ - Edit form
265
+ - Delete confirmation
266
+
267
+ Requirements:
268
+ - Responsive design
269
+ - Loading states
270
+ - Error handling
271
+ - Form validation
272
+
273
+ Expected Output:
274
+ - Working UI components
275
+ - Pages connected to API
276
+ - Basic styling (Tailwind CSS)
277
+
278
+ Next Agent: @Testing (write tests)
279
+ ```
280
+
281
+ **Result:**
282
+ ```
283
+ [Paste component locations]
284
+
285
+ Pages:
286
+ - /[resource] (list)
287
+ - /[resource]/:id (detail)
288
+ - /[resource]/new (create)
289
+
290
+ Status: ⏳ NOT TESTED / ✅ WORKING
291
+ ```
292
+
293
+ ---
294
+
295
+ ### Task 6: Write Tests ⏳
296
+
297
+ ```
298
+ Agent: @Testing
299
+ Status: ⏳ PENDING
300
+ Started: [Date]
301
+ Completed: [Date]
302
+
303
+ Command:
304
+ Load agents/5-quality/testing.md
305
+
306
+ Task: Write tests for MVP.
307
+
308
+ Code to test:
309
+ - Backend: 5 API endpoints
310
+ - Frontend: 5 components
311
+
312
+ Test types:
313
+ - Unit tests (functions, helpers)
314
+ - Integration tests (API endpoints)
315
+ - Component tests (UI rendering)
316
+
317
+ Coverage target: 80%+
318
+
319
+ Expected Output:
320
+ - Test files for all endpoints
321
+ - Test files for all components
322
+ - All tests passing
323
+ - Coverage report
324
+
325
+ Next Agent: @Reviewer (code review)
326
+ ```
327
+
328
+ **Result:**
329
+ ```
330
+ Tests written: [count]
331
+ Tests passing: [count]
332
+ Coverage: [percentage]
333
+
334
+ Command to run tests:
335
+ npm test
336
+
337
+ Status: ⏳ NOT RUN / ✅ PASSING
338
+ ```
339
+
340
+ ---
341
+
342
+ ### Task 7: Code Review ⏳
343
+
344
+ ```
345
+ Agent: @Reviewer
346
+ Status: ⏳ PENDING
347
+ Started: [Date]
348
+ Completed: [Date]
349
+
350
+ Command:
351
+ Load agents/5-quality/reviewer.md
352
+
353
+ Task: Review MVP code quality.
354
+
355
+ Files to review:
356
+ - Backend API code
357
+ - Frontend components
358
+ - Test files
359
+
360
+ Check for:
361
+ - Code quality (readability, DRY)
362
+ - Security (no secrets, input validation)
363
+ - Error handling
364
+ - Test coverage
365
+
366
+ Expected Output:
367
+ - Approval or list of changes needed
368
+ - Priority of changes (blocking vs nice-to-have)
369
+
370
+ Next Agent: @DevOps (if approved) or back to developer agents (if changes needed)
371
+ ```
372
+
373
+ **Result:**
374
+ ```
375
+ Review status: ⏳ PENDING / ✅ APPROVED / ❌ CHANGES NEEDED
376
+
377
+ Feedback:
378
+ [Paste review comments]
379
+
380
+ Blocking issues: [count]
381
+ Nice-to-have: [count]
382
+
383
+ Status: ⏳ / ✅ APPROVED
384
+ ```
385
+
386
+ ---
387
+
388
+ ### Task 8: Deploy to Staging ⏳
389
+
390
+ ```
391
+ Agent: @DevOps
392
+ Status: ⏳ PENDING
393
+ Started: [Date]
394
+ Completed: [Date]
395
+
396
+ Command:
397
+ Load agents/4-devops/devops.md
398
+
399
+ Task: Deploy MVP to staging environment.
400
+
401
+ Environment:
402
+ - Frontend: [Vercel / Netlify / etc]
403
+ - Backend: [Railway / Render / etc]
404
+ - Database: [Neon / PlanetScale / etc]
405
+
406
+ Environment variables:
407
+ - DATABASE_URL=[your-db-url]
408
+ - API_URL=[your-api-url]
409
+ - [other env vars]
410
+
411
+ Expected Output:
412
+ - Frontend URL: [staging-url]
413
+ - Backend URL: [api-staging-url]
414
+ - Smoke test passing
415
+
416
+ Next Phase: Phase 2 (Authentication)
417
+ ```
418
+
419
+ **Result:**
420
+ ```
421
+ Frontend: [URL]
422
+ Backend: [URL]
423
+ Database: [provider]
424
+
425
+ Smoke test:
426
+ curl [staging-api-url]/health
427
+ → Status: ⏳ NOT DEPLOYED / ✅ LIVE
428
+
429
+ Phase 1 Complete: [Date]
430
+ ```
431
+
432
+ ---
433
+
434
+ # PHASE 2: AUTHENTICATION & USERS
435
+
436
+ **Goal:** Users can signup, login, and have personal data
437
+
438
+ **Duration:** 1 day
439
+
440
+ **Definition of Done:**
441
+ - [ ] User table in database
442
+ - [ ] Signup/login/logout working
443
+ - [ ] JWT or session-based auth
444
+ - [ ] Protected routes in frontend
445
+ - [ ] Tests passing
446
+ - [ ] Deployed
447
+
448
+ | # | Agent | Task | Status | Notes |
449
+ |---|-------|------|--------|-------|
450
+ | 9 | @Planner | Plan auth flow | ⏳ PENDING | |
451
+ | 10 | @CTO | Approve auth approach | ⏳ PENDING | |
452
+ | 11 | @Database | User table | ⏳ PENDING | |
453
+ | 12 | @Auth | Auth endpoints | ⏳ PENDING | |
454
+ | 13 | @Frontend | Login/signup UI | ⏳ PENDING | |
455
+ | 14 | @Testing | Auth tests | ⏳ PENDING | |
456
+ | 15 | @Security | Security audit | ⏳ PENDING | |
457
+ | 16 | @Reviewer | Code review | ⏳ PENDING | |
458
+ | 17 | @DevOps | Deploy | ⏳ PENDING | |
459
+
460
+ ---
461
+
462
+ ### Task 9-17: [Follow same pattern as Phase 1]
463
+
464
+ **Tip:** Copy the task template from Phase 1 and adapt for authentication feature.
465
+
466
+ ---
467
+
468
+ # PHASE 3: CORE FEATURE (MAIN DIFFERENTIATOR)
469
+
470
+ **Goal:** [Your unique feature that makes the product valuable]
471
+
472
+ **Duration:** [Estimate]
473
+
474
+ **Definition of Done:**
475
+ - [ ] [Specific criteria for this feature]
476
+
477
+ [Define tasks 18-28 using the same template]
478
+
479
+ ---
480
+
481
+ # PHASE 4: POLISH & TESTING
482
+
483
+ **Goal:** Make it production-ready
484
+
485
+ **Duration:** [Estimate]
486
+
487
+ **Definition of Done:**
488
+ - [ ] UI polished and responsive
489
+ - [ ] Error handling comprehensive
490
+ - [ ] Performance optimized
491
+ - [ ] Security audit passed
492
+ - [ ] Documentation complete
493
+
494
+ [Define tasks 29-35 using the same template]
495
+
496
+ ---
497
+
498
+ # PHASE 5: LAUNCH PREPARATION
499
+
500
+ **Goal:** Deploy to production and announce
501
+
502
+ **Duration:** [Estimate]
503
+
504
+ **Definition of Done:**
505
+ - [ ] Production environment configured
506
+ - [ ] Domain configured
507
+ - [ ] Monitoring setup
508
+ - [ ] Landing page live
509
+ - [ ] Launch announcement ready
510
+
511
+ [Define tasks 36-40 using the same template]
512
+
513
+ ---
514
+
515
+ ## Weekly Progress Report
516
+
517
+ ### Week 1: [Date Range]
518
+ **Progress:** [X]% complete
519
+ **Tasks Completed:** [count]
520
+ **Blockers:** [list any blockers]
521
+ **Next Week Goals:** [what you'll tackle]
522
+
523
+ ### Week 2: [Date Range]
524
+ [Same format]
525
+
526
+ ---
527
+
528
+ ## Notes & Decisions
529
+
530
+ ### Technical Decisions
531
+ - [Date] Decided to use PostgreSQL instead of MongoDB because [reason]
532
+ - [Date] Switched from REST to tRPC because [reason]
533
+
534
+ ### Changes to Plan
535
+ - [Date] Added Task 41: [new task] because [reason]
536
+ - [Date] Removed Task 15 because [no longer needed]
537
+
538
+ ### Learnings
539
+ - [Date] Discovered that [insight]
540
+ - [Date] Agent @Backend works best when [tip]
541
+
542
+ ---
543
+
544
+ ## Resources
545
+
546
+ **Agent Files:**
547
+ - All agents: [agents/00-AGENT_INDEX.md](../agents/00-AGENT_INDEX.md)
548
+ - Orchestration guide: [guides/PROJECT-ORCHESTRATION.md](../guides/PROJECT-ORCHESTRATION.md)
549
+
550
+ **Templates:**
551
+ - Master Plan: [templates/MASTER-PLAN-TEMPLATE.md](../templates/MASTER-PLAN-TEMPLATE.md)
552
+
553
+ **Examples:**
554
+ - Workflow examples: [Orchestration/EXAMPLES.md](../Orchestration/EXAMPLES.md)
555
+
556
+ ---
557
+
558
+ ## Maintenance Checklist
559
+
560
+ **Daily:**
561
+ - [ ] Update task statuses (⏳ → 🔄 → ✅)
562
+ - [ ] Note any blockers
563
+ - [ ] Update progress summary
564
+
565
+ **Weekly:**
566
+ - [ ] Review completed tasks
567
+ - [ ] Plan next week's focus
568
+ - [ ] Update launch timeline if needed
569
+
570
+ **Monthly:**
571
+ - [ ] Archive completed phases
572
+ - [ ] Review technical decisions
573
+ - [ ] Update learnings section
574
+
575
+ ---
576
+
577
+ *Template from Ultra-Dex v1.7.0 - Professional AI Orchestration Meta Layer*