ultra-dex 1.7.3 → 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 +16 -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 +459 -31
  81. package/package.json +3 -3
@@ -0,0 +1,127 @@
1
+ # How to Customize Ultra-Dex
2
+
3
+ > Ultra-Dex is a **skeleton, not a cage**. Add, remove, and modify as needed.
4
+
5
+ ---
6
+
7
+ ## 🗑️ Remove Sections You Don't Need
8
+
9
+ ### Solo Developer / Side Project
10
+ Skip these entirely:
11
+ - Sections 23-26: Stakeholder management (no stakeholders!)
12
+ - Section 30: i18n (if English-only)
13
+ - Section 28: Legal & Compliance (if not handling sensitive data)
14
+
15
+ ### Free Tool (No Monetization)
16
+ Remove:
17
+ - Section 12: Payment Integration
18
+ - Section 25: Cost Estimation (no revenue tracking)
19
+
20
+ ### Internal Tool
21
+ Remove:
22
+ - Section 29: SEO (internal tools don't need SEO)
23
+ - Section 26: Customer Support (internal users = Slack)
24
+
25
+ ---
26
+
27
+ ## ➕ Add Sections for Your Domain
28
+
29
+ ### Healthcare App
30
+ Add:
31
+ - **Section 35: HIPAA Compliance** - PHI handling, audit logs, encryption
32
+ - **Section 36: Clinical Workflows** - Provider/patient interactions
33
+
34
+ ### Fintech App
35
+ Add:
36
+ - **Section 35: Financial Regulations** - PCI-DSS, SOC2
37
+ - **Section 36: Transaction Audit Trail** - Every money movement logged
38
+
39
+ ### Marketplace
40
+ Add:
41
+ - **Section 35: Dual-Sided UX** - Buyer vs. seller experiences
42
+ - **Section 36: Trust & Safety** - Fraud prevention, dispute resolution
43
+
44
+ ---
45
+
46
+ ## 📝 Simplify for Solo Projects
47
+
48
+ **Minimal viable planning (2 hours):**
49
+
50
+ | Fill This | Time |
51
+ |-----------|------|
52
+ | Section 1: What are you building? | 10 min |
53
+ | Section 2: Top 3 features | 20 min |
54
+ | Section 10: Core data model | 30 min |
55
+ | Section 11: Main API endpoints | 30 min |
56
+ | Section 15: Tech stack | 10 min |
57
+ | Section 16: First 10 tasks | 20 min |
58
+
59
+ **Then START CODING.** Fill other sections when you hit problems.
60
+
61
+ ---
62
+
63
+ ## 🔄 Adapt the 21-Step
64
+
65
+ ### For Small Fixes
66
+ Use 5-step mini:
67
+ 1. Plan (5 min)
68
+ 2. Code (done when tested)
69
+ 3. Test (quick manual check)
70
+ 4. Document (if needed)
71
+ 5. Deploy (push to prod)
72
+
73
+ ### For Large Features
74
+ Add to 21-step:
75
+ - **Step 22:** Load test endpoint (for API changes)
76
+ - **Step 23:** UAT with real user (for UI changes)
77
+
78
+ ---
79
+
80
+ ## 🛠️ Customize Cursor Rules
81
+
82
+ ### Using Supabase instead of Prisma?
83
+ Replace `01-database.mdc` content with Supabase patterns.
84
+
85
+ ### Using Clerk instead of NextAuth?
86
+ Replace `03-auth.mdc` content with Clerk patterns.
87
+
88
+ ### Using Paddle instead of Stripe?
89
+ Replace `05-payments.mdc` content with Paddle patterns.
90
+
91
+ **How to customize:**
92
+ 1. Copy the `.mdc` file to your project
93
+ 2. Edit to match your conventions
94
+ 3. Cursor loads from `.cursor/rules/` automatically
95
+
96
+ ---
97
+
98
+ ## 📊 Examples of Real Modifications
99
+
100
+ ### Example 1: E-commerce SaaS
101
+ **Added:**
102
+ - Section 35: Inventory Management
103
+ - Section 36: Shipping Integrations
104
+
105
+ **Removed:**
106
+ - Section 14: Realtime (not needed for simple catalog)
107
+
108
+ ### Example 2: Dev Tool CLI
109
+ **Added:**
110
+ - Section 35: CLI UX Patterns
111
+ - Section 36: Plugin Architecture
112
+
113
+ **Removed:**
114
+ - Sections 6-9: Screen Map & UI (no UI, just CLI)
115
+ - Section 12: Payments (open source)
116
+
117
+ ### Example 3: AI Agent Platform
118
+ **Added:**
119
+ - Section 35: LLM Selection & Prompts
120
+ - Section 36: Agent Memory Architecture
121
+ - Section 37: Guardrails & Safety
122
+
123
+ **Kept everything else** — needed full production planning.
124
+
125
+ ---
126
+
127
+ > **Remember:** These 34 sections are a maximum, not a minimum. Use what you need.
@@ -0,0 +1,238 @@
1
+ # Ultra-Dex Launch Posts
2
+
3
+ > Ready-to-use posts for launching Ultra-Dex
4
+
5
+ ---
6
+
7
+ ## 1. Hacker News (Show HN)
8
+
9
+ **Title:** Show HN: Ultra-Dex - A 34-section framework for building production-ready SaaS
10
+
11
+ **Post:**
12
+
13
+ I built Ultra-Dex because I was tired of starting SaaS projects and missing critical pieces - auth edge cases, payment webhooks, error handling patterns.
14
+
15
+ What it is:
16
+ - 34-section implementation template (covers everything from idea to deployment)
17
+ - 21-step verification for every task (no cutting corners)
18
+ - 3 complete filled examples (TaskFlow, InvoiceFlow, HabitStack)
19
+ - 11 modular Cursor rules for AI-assisted development
20
+ - CLI tool: `npx ultra-dex init`
21
+
22
+ Key insight: You don't fill all 34 sections upfront. Start with 8 core sections, code immediately, fill the rest as needed.
23
+
24
+ GitHub: https://github.com/Srujan0798/Ultra-Dex
25
+ npm: https://www.npmjs.com/package/ultra-dex
26
+
27
+ Built for developers who want to ship production-quality SaaS, not just MVPs.
28
+
29
+ Feedback welcome!
30
+
31
+ ---
32
+
33
+ ## 2. Indie Hackers
34
+
35
+ **Title:** I built a framework that forces you to think through everything before coding
36
+
37
+ **Post:**
38
+
39
+ After starting (and abandoning) multiple SaaS projects, I noticed a pattern: I'd rush to code, miss critical things, then spend weeks fixing what should've been planned.
40
+
41
+ So I built Ultra-Dex - a 34-section template that covers:
42
+ - Product definition & MVP scope
43
+ - Database schema & API design
44
+ - Auth, payments, error handling
45
+ - Deployment, monitoring, launch checklist
46
+ - And 28 more sections...
47
+
48
+ But here's the trick: You DON'T fill everything upfront.
49
+
50
+ The 02-HOW-TO-USE.md guide tells you:
51
+ 1. Fill 8 core sections (30 min)
52
+ 2. Start coding immediately
53
+ 3. Fill remaining sections as you build
54
+
55
+ It's designed for AI-assisted development too - 11 modular Cursor rules so your AI assistant knows your project context.
56
+
57
+ 3 complete examples included (TaskFlow, InvoiceFlow, HabitStack).
58
+
59
+ Would love feedback from fellow builders!
60
+
61
+ GitHub: https://github.com/Srujan0798/Ultra-Dex
62
+
63
+ ---
64
+
65
+ ## 3. Reddit (r/SideProject)
66
+
67
+ **Title:** [Project] Ultra-Dex: Stop forgetting critical pieces when building SaaS
68
+
69
+ **Post:**
70
+
71
+ I kept starting SaaS projects and forgetting things - webhook handlers, rate limiting, proper error messages, accessibility basics.
72
+
73
+ Built Ultra-Dex to fix this:
74
+
75
+ **What it is:**
76
+ - 34-section template covering idea → deployment
77
+ - 21-step verification checklist per task
78
+ - 3 filled examples to learn from
79
+ - CLI: `npx ultra-dex init`
80
+ - 11 Cursor rules for AI coding
81
+
82
+ **Key feature:** Phased approach. Fill 8 sections, code, fill more as needed. Not waterfall.
83
+
84
+ **Stack:** Works with any stack but examples use Next.js + Prisma + Stripe
85
+
86
+ GitHub: https://github.com/Srujan0798/Ultra-Dex
87
+
88
+ Free, MIT licensed. Feedback welcome!
89
+
90
+ ---
91
+
92
+ ## 4. Dev.to Article
93
+
94
+ **Title:** I Built a 34-Section Framework for SaaS Development (And Why You Don't Fill It All)
95
+
96
+ **Post:**
97
+
98
+ ```markdown
99
+ ## The Problem
100
+
101
+ Every SaaS I started had the same issues:
102
+ - Forgot to handle payment webhook failures
103
+ - Auth edge cases discovered in production
104
+ - No error tracking until users complained
105
+ - Accessibility? What's that?
106
+
107
+ ## The Solution
108
+
109
+ I created Ultra-Dex - a comprehensive framework with:
110
+
111
+ ### 34 Sections Covering:
112
+ 1. Product Vision
113
+ 2. MVP Features
114
+ 3. Tech Stack
115
+ 4. Data Model
116
+ 5. API Design
117
+ ... (29 more)
118
+
119
+ ### But Here's the Key Insight
120
+
121
+ **You don't fill all 34 sections before coding.**
122
+
123
+ The `02-HOW-TO-USE.md` guide recommends:
124
+
125
+ | Phase | Sections | Time |
126
+ |-------|----------|------|
127
+ | Before coding | 8 core sections | 30 min |
128
+ | During development | Fill as needed | Ongoing |
129
+ | Pre-launch | Remaining sections | 1-2 hours |
130
+
131
+ ### AI-Native
132
+
133
+ 11 modular Cursor rules for AI-assisted development:
134
+ - `00-ultra-dex-core.mdc` - Base rules
135
+ - `01-database.mdc` - Prisma patterns
136
+ - `02-api.mdc` - API design
137
+ - ... and 8 more
138
+
139
+ ### 3 Complete Examples
140
+
141
+ - TaskFlow (Task Management SaaS)
142
+ - InvoiceFlow (Billing SaaS)
143
+ - HabitStack (Habit Tracker)
144
+
145
+ Each example shows all 34 sections filled with realistic data.
146
+
147
+ ### Get Started
148
+
149
+ ```bash
150
+ npx ultra-dex init
151
+ ```
152
+
153
+ GitHub: https://github.com/Srujan0798/Ultra-Dex
154
+
155
+ ---
156
+
157
+ What do you think? Would this help your SaaS development?
158
+ ```
159
+
160
+ ---
161
+
162
+ ## 5. Twitter/X Thread
163
+
164
+ **Thread:**
165
+
166
+ 1/ I built Ultra-Dex - a 34-section framework for SaaS development.
167
+
168
+ But here's the thing: you don't fill all 34 sections upfront.
169
+
170
+ Thread on how it actually works 🧵
171
+
172
+ 2/ The problem:
173
+ - Start coding → miss auth edge cases
174
+ - Add payments → forget webhook failures
175
+ - Launch → no error tracking
176
+
177
+ Every SaaS I built had these issues.
178
+
179
+ 3/ The solution:
180
+
181
+ 34 sections covering EVERYTHING:
182
+ - Product → MVP → Tech Stack
183
+ - Database → API → Auth
184
+ - Payments → Errors → Deployment
185
+ - + 25 more
186
+
187
+ But the key is HOW you use it.
188
+
189
+ 4/ Phased approach:
190
+
191
+ Before coding: Fill 8 sections (30 min)
192
+ - Idea, MVP features, tech stack, core data model
193
+
194
+ During development: Fill as you go
195
+ - API design when building endpoints
196
+ - Error handling when implementing
197
+
198
+ 5/ AI-native:
199
+
200
+ 11 modular Cursor rules so your AI assistant:
201
+ - Knows your project context
202
+ - Follows your patterns
203
+ - Doesn't hallucinate your architecture
204
+
205
+ 6/ 3 complete examples:
206
+ - TaskFlow (task management)
207
+ - InvoiceFlow (billing)
208
+ - HabitStack (habits)
209
+
210
+ All 34 sections filled. Learn by example.
211
+
212
+ 7/ Get started:
213
+
214
+ ```
215
+ npx ultra-dex init
216
+ ```
217
+
218
+ GitHub: github.com/Srujan0798/Ultra-Dex
219
+
220
+ Free. MIT licensed.
221
+
222
+ What would you add to a SaaS framework?
223
+
224
+ ---
225
+
226
+ ## Posting Schedule
227
+
228
+ | Platform | Best Time | Notes |
229
+ |----------|-----------|-------|
230
+ | Hacker News | Tuesday-Thursday, 9-11am EST | "Show HN" prefix |
231
+ | Indie Hackers | Weekdays | Be conversational |
232
+ | Reddit | Weekdays | Follow subreddit rules |
233
+ | Dev.to | Anytime | Add relevant tags |
234
+ | Twitter/X | Mornings | Thread format works well |
235
+
236
+ ---
237
+
238
+ *Ready to launch when you are!*
@@ -0,0 +1,338 @@
1
+ # Ultra-Dex Quick Reference
2
+
3
+ One-page cheatsheet for AI-driven SaaS development.
4
+
5
+ ---
6
+
7
+ ## 🚀 Quick Start (2 minutes)
8
+
9
+ ```bash
10
+ # Initialize Ultra-Dex in your project
11
+ npx ultra-dex init
12
+
13
+ # List all 15 agents
14
+ npx ultra-dex agents
15
+
16
+ # Show specific agent
17
+ npx ultra-dex agent backend
18
+ ```
19
+
20
+ ---
21
+
22
+ ## 🤖 15 AI Agents by Tier
23
+
24
+ | Tier | Agent | Use When |
25
+ |------|-------|----------|
26
+ | **1. Leadership** | @CTO | Architecture & tech stack decisions |
27
+ | | @Planner | Breaking down features into tasks |
28
+ | | @Research | Comparing frameworks/libraries |
29
+ | **2. Development** | @Backend | Building APIs & server logic |
30
+ | | @Frontend | Building UI & components |
31
+ | | @Database | Database schema & queries |
32
+ | **3. Security** | @Auth | Authentication & authorization |
33
+ | | @Security | Security audits & OWASP checks |
34
+ | **4. DevOps** | @DevOps | Deployment & CI/CD |
35
+ | **5. Quality** | @Testing | Writing tests & QA |
36
+ | | @Documentation | Technical writing & docs |
37
+ | | @Reviewer | Code review & quality checks |
38
+ | | @Debugger | Bug fixing & troubleshooting |
39
+ | **6. Specialist** | @Performance | Performance optimization |
40
+ | | @Refactoring | Code quality & design patterns |
41
+
42
+ **Full Index:** [agents/00-AGENT_INDEX.md](./agents/00-AGENT_INDEX.md)
43
+
44
+ ---
45
+
46
+ ## 📋 Standard Workflow
47
+
48
+ ### New Feature (Multi-Agent)
49
+
50
+ ```
51
+ 1. @Planner → Break down into tasks
52
+ 2. @CTO → Review architecture
53
+ 3. @Database → Design schema (if needed)
54
+ 4. @Backend → Build API
55
+ 5. @Frontend → Build UI
56
+ 6. @Testing → Write tests
57
+ 7. @Security → Security audit (if auth/payments)
58
+ 8. @Reviewer → Code review
59
+ 9. @DevOps → Deploy to staging/production
60
+ ```
61
+
62
+ ### Bug Fix (Fast Track)
63
+
64
+ ```
65
+ 1. @Debugger → Investigate & fix
66
+ 2. @Testing → Add regression test
67
+ 3. @Reviewer → Quick review
68
+ 4. @DevOps → Deploy hotfix
69
+ ```
70
+
71
+ ### Performance Issue
72
+
73
+ ```
74
+ 1. @Performance → Identify bottleneck & optimize
75
+ 2. @Testing → Verify improvement
76
+ 3. @Reviewer → Review changes
77
+ ```
78
+
79
+ ---
80
+
81
+ ## 📚 Essential Guides
82
+
83
+ | Guide | Use For | Time |
84
+ |-------|---------|------|
85
+ | [Project Orchestration](./guides/PROJECT-ORCHESTRATION.md) | Learn multi-agent workflow | 20 min |
86
+ | [Advanced Workflows](./guides/ADVANCED-WORKFLOWS.md) | Copy Stripe/email/real-time patterns | 10 min |
87
+ | [Database Decision](./guides/DATABASE-DECISION-FRAMEWORK.md) | Choose PostgreSQL vs MongoDB vs MySQL | 10 min |
88
+ | [Architecture Patterns](./guides/ARCHITECTURE-PATTERNS.md) | Choose architecture for team size | 15 min |
89
+ | [AI Model Selection](./guides/AI-MODEL-SELECTION.md) | Optimize AI costs | 8 min |
90
+ | [Multi-Tool Workflow](./guides/MULTI-TOOL-WORKFLOW.md) | Use multiple AIs together | 12 min |
91
+
92
+ **All Guides:** [guides/README.md](./guides/README.md)
93
+ **AI Research:** [guides/AI-RESEARCH.md](./guides/AI-RESEARCH.md)
94
+ **Auth sprint:** [BUILD-AUTH-30M.md](./BUILD-AUTH-30M.md)
95
+
96
+ ---
97
+
98
+ ## 🎯 Decision Trees
99
+
100
+ ### Which Database?
101
+
102
+ ```
103
+ Need transactions (payments, inventory)?
104
+ ├─ YES → PostgreSQL
105
+ └─ NO → Flexible schema needed?
106
+ ├─ YES → MongoDB
107
+ └─ NO → PostgreSQL (still recommended)
108
+ ```
109
+
110
+ ### Which Architecture?
111
+
112
+ ```
113
+ Team size:
114
+ ├─ 1-3 people → Full-Stack Next.js
115
+ ├─ 3-8 people → Backend + Frontend split
116
+ ├─ 5-15 people → Backend + Multiple frontends
117
+ ├─ 10-30 people → Service-Oriented Architecture
118
+ └─ 30+ people → Microservices
119
+ ```
120
+
121
+ ### Which AI Model?
122
+
123
+ ```
124
+ Task type:
125
+ ├─ Architecture/complex reasoning → Claude Opus ($30/MTok)
126
+ ├─ Coding/implementation → GPT-5.2 or Claude Sonnet ($15-18/MTok)
127
+ ├─ Quick fixes/simple tasks → Claude Haiku or GPT-5 mini ($2-6/MTok)
128
+ ├─ Research with web search → ChatGPT (built-in search)
129
+ └─ Very sensitive data → Self-hosted Llama 3.1
130
+ ```
131
+
132
+ ---
133
+
134
+ ## 💻 CLI Commands
135
+
136
+ ```bash
137
+ # Project Setup
138
+ npx ultra-dex init # Interactive setup
139
+ npx ultra-dex init --yes # Use defaults
140
+
141
+ # Agents
142
+ npx ultra-dex agents # List all 15 agents
143
+ npx ultra-dex agent backend # Show backend agent
144
+ npx ultra-dex agent cto # Show CTO agent
145
+
146
+ # Validation
147
+ npx ultra-dex audit # Check project completeness
148
+
149
+ # Examples
150
+ npx ultra-dex examples # Show example projects
151
+ ```
152
+
153
+ ---
154
+
155
+ ## 📁 File Structure
156
+
157
+ ```
158
+ your-project/
159
+ ├── IMPLEMENTATION-PLAN.md ← 34-section template
160
+ ├── CONTEXT.md ← Project background
161
+ ├── QUICK-START.md ← Core project summary
162
+ ├── MASTER-PLAN.md ← Single-file overview (optional)
163
+ ├── PHASE-TRACKER.md ← Task tracking (optional)
164
+ └── .agents/ ← Agent prompts (if using init)
165
+ ```
166
+
167
+ ---
168
+
169
+ ## 🔄 Multi-Tool Strategy
170
+
171
+ Use different AI tools for different tasks:
172
+
173
+ | Task | Best Tool | Why |
174
+ |------|-----------|-----|
175
+ | Planning | ChatGPT (free) | Built-in web search |
176
+ | Architecture | Claude Opus | Best reasoning |
177
+ | Coding | GPT-5.2 or Cursor | Optimized for code |
178
+ | Quick fixes | Claude Haiku | Fast & cheap |
179
+ | Review | Claude Sonnet | Thorough analysis |
180
+
181
+ **Shared state:** All tools read/write `IMPLEMENTATION-PLAN.md`
182
+
183
+ **Guide:** [Multi-Tool Workflow](./guides/MULTI-TOOL-WORKFLOW.md)
184
+
185
+ ---
186
+
187
+ ## 📊 Quality Targets
188
+
189
+ | Area | Target | Tool |
190
+ |------|--------|------|
191
+ | Code Coverage | >80% | Jest, Vitest |
192
+ | API Response (p95) | <500ms | Lighthouse, New Relic |
193
+ | Page Load | <3s | Lighthouse |
194
+ | Lighthouse Score | >90 | Chrome DevTools |
195
+ | Bundle Size | <200KB (initial) | Webpack Bundle Analyzer |
196
+ | Database Queries | <100ms (p95) | Prisma/Drizzle logs |
197
+
198
+ ---
199
+
200
+ ## 🎓 Learning Path
201
+
202
+ ### Beginner (60 minutes)
203
+ 1. Read [Project Orchestration](./guides/PROJECT-ORCHESTRATION.md) - 20 min
204
+ 2. Read [Database Decision](./guides/DATABASE-DECISION-FRAMEWORK.md) - 10 min
205
+ 3. Read [Architecture Patterns](./guides/ARCHITECTURE-PATTERNS.md) - 15 min
206
+ 4. Scan [Advanced Workflows](./guides/ADVANCED-WORKFLOWS.md) - 15 min
207
+
208
+ ### Experienced (30 minutes)
209
+ 1. Scan [Advanced Workflows](./guides/ADVANCED-WORKFLOWS.md) - 10 min
210
+ 2. Read [Multi-Tool Workflow](./guides/MULTI-TOOL-WORKFLOW.md) - 10 min
211
+ 3. Read [AI Model Selection](./guides/AI-MODEL-SELECTION.md) - 10 min
212
+
213
+ ---
214
+
215
+ ## 🔗 Quick Links
216
+
217
+ **Core:**
218
+ - [Main README](./README.md) - Project overview
219
+ - [Agent Index](./agents/00-AGENT_INDEX.md) - All 15 agents
220
+ - [Guide Directory](./guides/README.md) - All guides
221
+ - [CHANGELOG](./CHANGELOG.md) - Version history
222
+
223
+ **Templates:**
224
+ - [Master Plan Template](./templates/MASTER-PLAN-TEMPLATE.md) - Project overview
225
+ - [Phase Tracker Template](./templates/PHASE-TRACKER-TEMPLATE.md) - Task tracking
226
+ - [Template Usage Guide](./templates/README.md) - How to use templates
227
+
228
+ **Examples:**
229
+ - [Orchestration Examples](./Orchestration/EXAMPLES.md) - Multi-agent workflows
230
+ - [TaskFlow Complete](../@%20Ultra%20DeX/Saas%20plan/Examples/TaskFlow-Complete.md) - Full SaaS example
231
+
232
+ **External:**
233
+ - [GitHub Repo](https://github.com/Srujan0798/Ultra-Dex)
234
+ - [Issues](https://github.com/Srujan0798/Ultra-Dex/issues)
235
+ - [npm Package](https://www.npmjs.com/package/ultra-dex)
236
+
237
+ ---
238
+
239
+ ## 💡 Common Workflows
240
+
241
+ ### Authentication (30 minutes)
242
+
243
+ ```
244
+ 1. @Planner: Break down auth feature
245
+ → Tasks: Schema, API, UI, Security
246
+
247
+ 2. @CTO: Review architecture
248
+ → Decision: JWT with httpOnly cookies
249
+
250
+ 3. @Database: Create User table
251
+ → Schema with email, passwordHash
252
+
253
+ 4. @Backend: Build endpoints
254
+ → /signup, /login, /logout, /me
255
+
256
+ 5. @Frontend: Build UI
257
+ → Login page, Signup page, Protected routes
258
+
259
+ 6. @Security: Audit
260
+ → Check password hashing, token security
261
+
262
+ 7. @Reviewer: Review code
263
+ → Quality check, test coverage
264
+
265
+ 8. @DevOps: Deploy
266
+ → Set JWT_SECRET, deploy to staging
267
+ ```
268
+
269
+ **Full guide:** [Project Orchestration](./guides/PROJECT-ORCHESTRATION.md)
270
+
271
+ ### Stripe Payment (45 minutes)
272
+
273
+ ```
274
+ 1. @Research: Stripe Checkout vs Elements
275
+ → Recommendation: Stripe Checkout (PCI compliant)
276
+
277
+ 2. @CTO: Architecture
278
+ → Webhook-driven subscription updates
279
+
280
+ 3. @Database: Subscription table
281
+ → stripeCustomerId, status, currentPeriodEnd
282
+
283
+ 4. @Backend: Checkout + webhooks
284
+ → Create session, handle webhook events
285
+
286
+ 5. @Frontend: Checkout button
287
+ → Redirect to Stripe Checkout
288
+
289
+ 6. @Testing: Test with Stripe test cards
290
+ → 4242 4242 4242 4242
291
+
292
+ 7. @Security: Verify webhook signatures
293
+ → Prevent fake events
294
+
295
+ 8. @DevOps: Set STRIPE_SECRET_KEY
296
+ → Deploy to production
297
+ ```
298
+
299
+ **Full guide:** [Advanced Workflows - Stripe](./guides/ADVANCED-WORKFLOWS.md#example-1-payment-integration-stripe)
300
+
301
+ ---
302
+
303
+ ## 🎯 Key Principles
304
+
305
+ 1. **Use ANY AI** - Claude, GPT, Gemini, Copilot, local LLMs
306
+ 2. **100% Flexible** - Add, remove, modify anything
307
+ 3. **You Own the Plan** - AI fills template, you control what stays
308
+ 4. **Never Lose Focus** - Structure keeps AI on track
309
+ 5. **No Lock-in** - Export plan, use anywhere
310
+
311
+ ---
312
+
313
+ ## 📊 Project Statistics
314
+
315
+ - **15 Agents** - 6 tiers, production pipeline coverage
316
+ - **6 Guides** - 3,283 lines, 83 KB of documentation
317
+ - **2 Templates** - MASTER-PLAN (800 lines), PHASE-TRACKER (329 lines)
318
+ - **34 Sections** - Complete implementation template
319
+ - **21 Steps** - Verification framework per task
320
+
321
+ ---
322
+
323
+ ## 🆘 Need Help?
324
+
325
+ **Documentation:**
326
+ - [Main README](./README.md) - Start here
327
+ - [Guide Directory](./guides/README.md) - All guides
328
+ - [Agent Index](./agents/00-AGENT_INDEX.md) - All agents
329
+
330
+ **Support:**
331
+ - [GitHub Issues](https://github.com/Srujan0798/Ultra-Dex/issues) - Report bugs
332
+ - [GitHub Discussions](https://github.com/Srujan0798/Ultra-Dex/discussions) - Ask questions
333
+
334
+ ---
335
+
336
+ *Ultra-Dex v1.7.0 - Professional AI Orchestration Meta Layer*
337
+
338
+ **Print this page for quick reference while coding!**