ultra-dex 1.7.3 → 2.2.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.
- package/README.md +160 -127
- package/assets/agents/0-orchestration/orchestrator.md +225 -0
- package/assets/agents/00-AGENT_INDEX.md +138 -0
- package/assets/agents/1-leadership/cto.md +186 -0
- package/assets/agents/1-leadership/planner.md +205 -0
- package/assets/agents/1-leadership/research.md +285 -0
- package/assets/agents/2-development/backend.md +472 -0
- package/assets/agents/2-development/database.md +516 -0
- package/assets/agents/2-development/frontend.md +144 -0
- package/assets/agents/3-security/auth.md +168 -0
- package/assets/agents/3-security/security.md +335 -0
- package/assets/agents/4-devops/devops.md +587 -0
- package/assets/agents/5-quality/debugger.md +188 -0
- package/assets/agents/5-quality/documentation.md +167 -0
- package/assets/agents/5-quality/reviewer.md +213 -0
- package/assets/agents/5-quality/testing.md +280 -0
- package/assets/agents/6-specialist/performance.md +323 -0
- package/assets/agents/6-specialist/refactoring.md +343 -0
- package/assets/agents/AGENT-INSTRUCTIONS.md +315 -0
- package/assets/agents/README.md +232 -0
- package/assets/cursor-rules/00-ultra-dex-core.mdc +48 -0
- package/assets/cursor-rules/01-database.mdc +50 -0
- package/assets/cursor-rules/02-api.mdc +81 -0
- package/assets/cursor-rules/03-auth.mdc +70 -0
- package/assets/cursor-rules/04-frontend.mdc +92 -0
- package/assets/cursor-rules/05-payments.mdc +88 -0
- package/assets/cursor-rules/06-testing.mdc +104 -0
- package/assets/cursor-rules/07-security.mdc +94 -0
- package/assets/cursor-rules/08-deployment.mdc +92 -0
- package/assets/cursor-rules/09-error-handling.mdc +137 -0
- package/assets/cursor-rules/10-performance.mdc +123 -0
- package/assets/cursor-rules/11-nextjs-v15.mdc +307 -0
- package/assets/cursor-rules/12-multi-tenancy.mdc +282 -0
- package/assets/cursor-rules/README.md +78 -0
- package/assets/cursor-rules/load.ps1 +108 -0
- package/assets/cursor-rules/load.sh +102 -0
- package/assets/docs/BUILD-AUTH-30M.md +113 -0
- package/assets/docs/CHECKLIST-21-STEP.md +86 -0
- package/assets/docs/CODEMAP.md +229 -0
- package/assets/docs/CUSTOMIZATION.md +127 -0
- package/assets/docs/LAUNCH-POSTS.md +238 -0
- package/assets/docs/QUICK-REFERENCE.md +338 -0
- package/assets/docs/README.md +21 -0
- package/assets/docs/ROADMAP.md +480 -0
- package/assets/docs/TROUBLESHOOTING.md +148 -0
- package/assets/docs/TUTORIAL.md +182 -0
- package/assets/docs/VERIFICATION.md +108 -0
- package/assets/docs/VISION-V2.md +187 -0
- package/assets/docs/WORKFLOW-DIAGRAMS.md +463 -0
- package/assets/docs/index.html +550 -0
- package/assets/live-templates/next15-prisma-clerk/.env.example +3 -0
- package/assets/live-templates/next15-prisma-clerk/README.md +10 -0
- package/assets/live-templates/next15-prisma-clerk/app/layout.tsx +7 -0
- package/assets/live-templates/next15-prisma-clerk/app/page.tsx +8 -0
- package/assets/live-templates/next15-prisma-clerk/next.config.js +6 -0
- package/assets/live-templates/next15-prisma-clerk/package.json +22 -0
- package/assets/live-templates/next15-prisma-clerk/prisma/schema.prisma +34 -0
- package/assets/live-templates/remix-supabase/.env.example +2 -0
- package/assets/live-templates/remix-supabase/README.md +9 -0
- package/assets/live-templates/remix-supabase/app/root.tsx +19 -0
- package/assets/live-templates/remix-supabase/app/routes/_index.tsx +8 -0
- package/assets/live-templates/remix-supabase/app/utils/supabase.server.ts +6 -0
- package/assets/live-templates/remix-supabase/package.json +20 -0
- package/assets/live-templates/remix-supabase/remix.config.js +6 -0
- package/assets/live-templates/sveltekit-drizzle/.env.example +1 -0
- package/assets/live-templates/sveltekit-drizzle/README.md +9 -0
- package/assets/live-templates/sveltekit-drizzle/drizzle/schema.ts +7 -0
- package/assets/live-templates/sveltekit-drizzle/drizzle.config.ts +5 -0
- package/assets/live-templates/sveltekit-drizzle/package.json +21 -0
- package/assets/live-templates/sveltekit-drizzle/src/lib/db.ts +5 -0
- package/assets/live-templates/sveltekit-drizzle/src/routes/+page.svelte +2 -0
- package/assets/live-templates/sveltekit-drizzle/svelte.config.js +5 -0
- package/assets/live-templates/sveltekit-drizzle/vite.config.js +5 -0
- package/assets/saas-plan/04-Imp-Template.md +5546 -0
- package/assets/templates/CASE-STUDY-TEMPLATE.md +139 -0
- package/assets/templates/MASTER-PLAN-TEMPLATE.md +647 -0
- package/assets/templates/ORDER-TRACKER-TEMPLATE.md +731 -0
- package/assets/templates/PHASE-TRACKER-TEMPLATE.md +577 -0
- package/assets/templates/README.md +419 -0
- package/bin/ultra-dex.js +1078 -422
- package/lib/commands/agents.js +154 -0
- package/lib/commands/audit.js +135 -0
- package/lib/commands/banner.js +21 -0
- package/lib/commands/build.js +214 -0
- package/lib/commands/examples.js +34 -0
- package/lib/commands/fetch.js +186 -0
- package/lib/commands/generate.js +217 -0
- package/lib/commands/hooks.js +105 -0
- package/lib/commands/init.js +337 -0
- package/lib/commands/placeholders.js +11 -0
- package/lib/commands/review.js +287 -0
- package/lib/commands/serve.js +56 -0
- package/lib/commands/suggest.js +126 -0
- package/lib/commands/validate.js +140 -0
- package/lib/commands/workflows.js +185 -0
- package/lib/config/paths.js +9 -0
- package/lib/config/urls.js +16 -0
- package/lib/providers/base.js +82 -0
- package/lib/providers/claude.js +177 -0
- package/lib/providers/gemini.js +170 -0
- package/lib/providers/index.js +93 -0
- package/lib/providers/openai.js +163 -0
- package/lib/templates/context.js +26 -0
- package/lib/templates/embedded.js +141 -0
- package/lib/templates/prompts/generate-plan.js +147 -0
- package/lib/templates/prompts/review-code.js +57 -0
- package/lib/templates/prompts/section-prompts.js +275 -0
- package/lib/templates/prompts/system-prompt.md +58 -0
- package/lib/templates/quick-start.js +43 -0
- package/lib/utils/build-helpers.js +257 -0
- package/lib/utils/fallback.js +36 -0
- package/lib/utils/files.js +67 -0
- package/lib/utils/network.js +18 -0
- package/lib/utils/output.js +20 -0
- package/lib/utils/parser.js +155 -0
- package/lib/utils/prompt-builder.js +93 -0
- package/lib/utils/review-helpers.js +334 -0
- package/lib/utils/validation.js +34 -0
- package/package.json +19 -5
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
# [Your Project] - Order Tracker
|
|
2
|
+
|
|
3
|
+
> Step-by-step execution guide with copy-paste prompts
|
|
4
|
+
|
|
5
|
+
**Project:** [Your Project Name]
|
|
6
|
+
**Started:** [Date]
|
|
7
|
+
**Current Order:** #1
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## How to Use This File
|
|
12
|
+
|
|
13
|
+
This is a **scripted execution guide**. Follow the orders in sequence:
|
|
14
|
+
|
|
15
|
+
1. **Copy** the prompt from the current order
|
|
16
|
+
2. **Paste** into your AI tool (Claude Code, Cursor, ChatGPT)
|
|
17
|
+
3. **Execute** and wait for completion
|
|
18
|
+
4. **Document** the result in the Result section
|
|
19
|
+
5. **Move** to next order
|
|
20
|
+
|
|
21
|
+
**Status Key:**
|
|
22
|
+
- ⏳ Pending
|
|
23
|
+
- 🔄 In Progress
|
|
24
|
+
- ✅ Complete
|
|
25
|
+
- ❌ Blocked
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Progress Overview
|
|
30
|
+
|
|
31
|
+
| Phase | Orders | Status |
|
|
32
|
+
|-------|--------|--------|
|
|
33
|
+
| Phase 1: Foundation | #1-5 | ⏳ 0/5 |
|
|
34
|
+
| Phase 2: Core Feature | #6-12 | ⏳ 0/7 |
|
|
35
|
+
| Phase 3: Polish | #13-18 | ⏳ 0/6 |
|
|
36
|
+
| Phase 4: Launch | #19-22 | ⏳ 0/4 |
|
|
37
|
+
|
|
38
|
+
**Total:** 0/22 orders complete
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# PHASE 1: FOUNDATION
|
|
43
|
+
|
|
44
|
+
## Order #1: Project Planning ⏳
|
|
45
|
+
|
|
46
|
+
**Agent:** @Planner
|
|
47
|
+
**Depends on:** None
|
|
48
|
+
**Estimated time:** 10-15 minutes
|
|
49
|
+
|
|
50
|
+
### Prompt (Copy this)
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
Read agents/1-leadership/planner.md and continue as that agent.
|
|
54
|
+
|
|
55
|
+
Task: Break down the MVP for [Your Project Name] into implementable tasks.
|
|
56
|
+
|
|
57
|
+
Project Context:
|
|
58
|
+
- Product: [One sentence description]
|
|
59
|
+
- Core Feature: [Main functionality]
|
|
60
|
+
- Target User: [Who uses this]
|
|
61
|
+
- Tech Stack: [Next.js / Node.js / PostgreSQL / etc.]
|
|
62
|
+
|
|
63
|
+
Create a task breakdown with:
|
|
64
|
+
1. Database tables needed
|
|
65
|
+
2. API endpoints required
|
|
66
|
+
3. UI pages/components
|
|
67
|
+
4. Dependencies between tasks
|
|
68
|
+
|
|
69
|
+
Output: Numbered task list with agent assignments.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Result
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
[Paste @Planner output here after execution]
|
|
76
|
+
|
|
77
|
+
Tasks identified: [count]
|
|
78
|
+
Phases defined: [count]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Status:** ⏳ → [Update to ✅ when done]
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Order #2: Architecture Review ⏳
|
|
86
|
+
|
|
87
|
+
**Agent:** @CTO
|
|
88
|
+
**Depends on:** Order #1
|
|
89
|
+
**Estimated time:** 10-15 minutes
|
|
90
|
+
|
|
91
|
+
### Prompt (Copy this)
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
Read agents/1-leadership/cto.md and continue as that agent.
|
|
95
|
+
|
|
96
|
+
Task: Review and approve the architecture for [Your Project Name].
|
|
97
|
+
|
|
98
|
+
Context from @Planner:
|
|
99
|
+
[Paste the task breakdown from Order #1]
|
|
100
|
+
|
|
101
|
+
Questions to answer:
|
|
102
|
+
1. Is the tech stack appropriate for this use case?
|
|
103
|
+
2. What's the database schema approach?
|
|
104
|
+
3. API design: REST vs tRPC vs GraphQL?
|
|
105
|
+
4. Authentication strategy?
|
|
106
|
+
5. Any scalability concerns?
|
|
107
|
+
|
|
108
|
+
Output: Approved architecture with specifications for each decision.
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Result
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
[Paste @CTO output here after execution]
|
|
115
|
+
|
|
116
|
+
Decisions made:
|
|
117
|
+
- Database: [choice]
|
|
118
|
+
- API: [choice]
|
|
119
|
+
- Auth: [choice]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Status:** ⏳ → [Update to ✅ when done]
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Order #3: Database Schema ⏳
|
|
127
|
+
|
|
128
|
+
**Agent:** @Database
|
|
129
|
+
**Depends on:** Order #2
|
|
130
|
+
**Estimated time:** 15-20 minutes
|
|
131
|
+
|
|
132
|
+
### Prompt (Copy this)
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
Read agents/2-development/database.md and continue as that agent.
|
|
136
|
+
|
|
137
|
+
Task: Create the database schema for [Your Project Name].
|
|
138
|
+
|
|
139
|
+
Approved architecture from @CTO:
|
|
140
|
+
[Paste relevant database decisions from Order #2]
|
|
141
|
+
|
|
142
|
+
Requirements:
|
|
143
|
+
- Tables needed: [list from Order #1]
|
|
144
|
+
- Relationships: [describe relationships]
|
|
145
|
+
- Use Prisma ORM
|
|
146
|
+
|
|
147
|
+
Output:
|
|
148
|
+
1. Complete prisma/schema.prisma file
|
|
149
|
+
2. Migration command
|
|
150
|
+
3. Seed data (if applicable)
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Result
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
[Paste @Database output here]
|
|
157
|
+
|
|
158
|
+
Schema file: prisma/schema.prisma
|
|
159
|
+
Tables created: [list]
|
|
160
|
+
Migration command: npx prisma migrate dev --name init
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Execute migration:**
|
|
164
|
+
```bash
|
|
165
|
+
npx prisma migrate dev --name init
|
|
166
|
+
npx prisma generate
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Migration status:** ⏳ → [Update to ✅ when run]
|
|
170
|
+
|
|
171
|
+
**Status:** ⏳ → [Update to ✅ when done]
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Order #4: Backend API ⏳
|
|
176
|
+
|
|
177
|
+
**Agent:** @Backend
|
|
178
|
+
**Depends on:** Order #3
|
|
179
|
+
**Estimated time:** 30-45 minutes
|
|
180
|
+
|
|
181
|
+
### Prompt (Copy this)
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
Read agents/2-development/backend.md and continue as that agent.
|
|
185
|
+
|
|
186
|
+
Task: Implement the core API endpoints for [Your Project Name].
|
|
187
|
+
|
|
188
|
+
Database schema from @Database:
|
|
189
|
+
[Reference the schema created in Order #3]
|
|
190
|
+
|
|
191
|
+
Endpoints to build:
|
|
192
|
+
1. GET /api/[resource] - List with pagination
|
|
193
|
+
2. GET /api/[resource]/:id - Get single item
|
|
194
|
+
3. POST /api/[resource] - Create new
|
|
195
|
+
4. PUT /api/[resource]/:id - Update
|
|
196
|
+
5. DELETE /api/[resource]/:id - Delete
|
|
197
|
+
|
|
198
|
+
Requirements:
|
|
199
|
+
- Input validation with Zod
|
|
200
|
+
- Error handling
|
|
201
|
+
- TypeScript types
|
|
202
|
+
- Prisma for database access
|
|
203
|
+
|
|
204
|
+
Output: Complete API route files with all endpoints.
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Result
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
[Paste @Backend output here]
|
|
211
|
+
|
|
212
|
+
Files created:
|
|
213
|
+
- src/app/api/[resource]/route.ts
|
|
214
|
+
- src/lib/validations/[resource].ts
|
|
215
|
+
|
|
216
|
+
Test commands:
|
|
217
|
+
curl -X GET http://localhost:3000/api/[resource]
|
|
218
|
+
curl -X POST http://localhost:3000/api/[resource] -d '{...}'
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**API tested:** ⏳ → [Update to ✅ when verified]
|
|
222
|
+
|
|
223
|
+
**Status:** ⏳ → [Update to ✅ when done]
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Order #5: Frontend UI ⏳
|
|
228
|
+
|
|
229
|
+
**Agent:** @Frontend
|
|
230
|
+
**Depends on:** Order #4
|
|
231
|
+
**Estimated time:** 30-45 minutes
|
|
232
|
+
|
|
233
|
+
### Prompt (Copy this)
|
|
234
|
+
|
|
235
|
+
```
|
|
236
|
+
Read agents/2-development/frontend.md and continue as that agent.
|
|
237
|
+
|
|
238
|
+
Task: Build the core UI for [Your Project Name].
|
|
239
|
+
|
|
240
|
+
API endpoints from @Backend:
|
|
241
|
+
[List the endpoints created in Order #4]
|
|
242
|
+
|
|
243
|
+
Pages to build:
|
|
244
|
+
1. /[resource] - List page with table/cards
|
|
245
|
+
2. /[resource]/[id] - Detail page
|
|
246
|
+
3. /[resource]/new - Create form
|
|
247
|
+
4. /[resource]/[id]/edit - Edit form
|
|
248
|
+
|
|
249
|
+
Requirements:
|
|
250
|
+
- Next.js App Router
|
|
251
|
+
- Tailwind CSS for styling
|
|
252
|
+
- Loading and error states
|
|
253
|
+
- Form validation
|
|
254
|
+
- Responsive design
|
|
255
|
+
|
|
256
|
+
Output: Complete page and component files.
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Result
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
[Paste @Frontend output here]
|
|
263
|
+
|
|
264
|
+
Files created:
|
|
265
|
+
- src/app/[resource]/page.tsx
|
|
266
|
+
- src/app/[resource]/[id]/page.tsx
|
|
267
|
+
- src/components/[Resource]Form.tsx
|
|
268
|
+
- src/components/[Resource]List.tsx
|
|
269
|
+
|
|
270
|
+
Manual test:
|
|
271
|
+
1. Visit http://localhost:3000/[resource]
|
|
272
|
+
2. Create new item
|
|
273
|
+
3. Edit item
|
|
274
|
+
4. Delete item
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
**UI tested:** ⏳ → [Update to ✅ when verified]
|
|
278
|
+
|
|
279
|
+
**Status:** ⏳ → [Update to ✅ when done]
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
# PHASE 2: CORE FEATURE
|
|
284
|
+
|
|
285
|
+
## Order #6: Feature Planning ⏳
|
|
286
|
+
|
|
287
|
+
**Agent:** @Planner
|
|
288
|
+
**Depends on:** Phase 1 complete
|
|
289
|
+
**Estimated time:** 10 minutes
|
|
290
|
+
|
|
291
|
+
### Prompt (Copy this)
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
Read agents/1-leadership/planner.md and continue as that agent.
|
|
295
|
+
|
|
296
|
+
Task: Plan the implementation of [Core Feature Name].
|
|
297
|
+
|
|
298
|
+
Context:
|
|
299
|
+
- Phase 1 complete: Basic CRUD working
|
|
300
|
+
- Now adding: [Describe the core feature]
|
|
301
|
+
|
|
302
|
+
Break down into:
|
|
303
|
+
1. Database changes needed
|
|
304
|
+
2. New API endpoints
|
|
305
|
+
3. UI components
|
|
306
|
+
4. Integration points
|
|
307
|
+
|
|
308
|
+
Output: Ordered task list for this feature.
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Result
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
[Paste output here]
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
**Status:** ⏳
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
## Order #7: Feature Database Changes ⏳
|
|
322
|
+
|
|
323
|
+
**Agent:** @Database
|
|
324
|
+
**Depends on:** Order #6
|
|
325
|
+
**Estimated time:** 15 minutes
|
|
326
|
+
|
|
327
|
+
### Prompt (Copy this)
|
|
328
|
+
|
|
329
|
+
```
|
|
330
|
+
Read agents/2-development/database.md and continue as that agent.
|
|
331
|
+
|
|
332
|
+
Task: Update schema for [Core Feature Name].
|
|
333
|
+
|
|
334
|
+
Requirements from @Planner:
|
|
335
|
+
[Paste database requirements from Order #6]
|
|
336
|
+
|
|
337
|
+
Current schema: [Reference existing tables]
|
|
338
|
+
|
|
339
|
+
Output:
|
|
340
|
+
1. Schema additions/modifications
|
|
341
|
+
2. Migration file
|
|
342
|
+
3. Updated seed data if needed
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### Result
|
|
346
|
+
|
|
347
|
+
```
|
|
348
|
+
[Paste output here]
|
|
349
|
+
|
|
350
|
+
Migration: npx prisma migrate dev --name add_[feature]
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
**Status:** ⏳
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
## Order #8: Feature Backend ⏳
|
|
358
|
+
|
|
359
|
+
**Agent:** @Backend
|
|
360
|
+
**Depends on:** Order #7
|
|
361
|
+
**Estimated time:** 30 minutes
|
|
362
|
+
|
|
363
|
+
### Prompt (Copy this)
|
|
364
|
+
|
|
365
|
+
```
|
|
366
|
+
Read agents/2-development/backend.md and continue as that agent.
|
|
367
|
+
|
|
368
|
+
Task: Implement API for [Core Feature Name].
|
|
369
|
+
|
|
370
|
+
Schema from @Database:
|
|
371
|
+
[Reference updated schema]
|
|
372
|
+
|
|
373
|
+
Endpoints needed:
|
|
374
|
+
[List from Order #6]
|
|
375
|
+
|
|
376
|
+
Output: Complete API implementation with tests.
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### Result
|
|
380
|
+
|
|
381
|
+
```
|
|
382
|
+
[Paste output here]
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**Status:** ⏳
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## Order #9: Feature Frontend ⏳
|
|
390
|
+
|
|
391
|
+
**Agent:** @Frontend
|
|
392
|
+
**Depends on:** Order #8
|
|
393
|
+
**Estimated time:** 30 minutes
|
|
394
|
+
|
|
395
|
+
### Prompt (Copy this)
|
|
396
|
+
|
|
397
|
+
```
|
|
398
|
+
Read agents/2-development/frontend.md and continue as that agent.
|
|
399
|
+
|
|
400
|
+
Task: Build UI for [Core Feature Name].
|
|
401
|
+
|
|
402
|
+
API from @Backend:
|
|
403
|
+
[Reference endpoints from Order #8]
|
|
404
|
+
|
|
405
|
+
Components needed:
|
|
406
|
+
[List from Order #6]
|
|
407
|
+
|
|
408
|
+
Output: Complete UI implementation.
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### Result
|
|
412
|
+
|
|
413
|
+
```
|
|
414
|
+
[Paste output here]
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
**Status:** ⏳
|
|
418
|
+
|
|
419
|
+
---
|
|
420
|
+
|
|
421
|
+
## Order #10: Write Tests ⏳
|
|
422
|
+
|
|
423
|
+
**Agent:** @Testing
|
|
424
|
+
**Depends on:** Orders #8, #9
|
|
425
|
+
**Estimated time:** 20 minutes
|
|
426
|
+
|
|
427
|
+
### Prompt (Copy this)
|
|
428
|
+
|
|
429
|
+
```
|
|
430
|
+
Read agents/5-quality/testing.md and continue as that agent.
|
|
431
|
+
|
|
432
|
+
Task: Write tests for [Core Feature Name].
|
|
433
|
+
|
|
434
|
+
Code to test:
|
|
435
|
+
- Backend: [List endpoints]
|
|
436
|
+
- Frontend: [List components]
|
|
437
|
+
|
|
438
|
+
Coverage target: 80%+
|
|
439
|
+
|
|
440
|
+
Output:
|
|
441
|
+
1. API tests (Jest/Vitest)
|
|
442
|
+
2. Component tests (React Testing Library)
|
|
443
|
+
3. E2E test for main flow (Playwright)
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
### Result
|
|
447
|
+
|
|
448
|
+
```
|
|
449
|
+
[Paste output here]
|
|
450
|
+
|
|
451
|
+
Run tests: npm test
|
|
452
|
+
Coverage: [X]%
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
**Status:** ⏳
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
## Order #11: Security Audit ⏳
|
|
460
|
+
|
|
461
|
+
**Agent:** @Security
|
|
462
|
+
**Depends on:** Order #10
|
|
463
|
+
**Estimated time:** 15 minutes
|
|
464
|
+
|
|
465
|
+
### Prompt (Copy this)
|
|
466
|
+
|
|
467
|
+
```
|
|
468
|
+
Read agents/3-security/security.md and continue as that agent.
|
|
469
|
+
|
|
470
|
+
Task: Security audit for [Core Feature Name].
|
|
471
|
+
|
|
472
|
+
Code to review:
|
|
473
|
+
- API routes: [list files]
|
|
474
|
+
- Frontend forms: [list files]
|
|
475
|
+
|
|
476
|
+
Check for:
|
|
477
|
+
- Input validation
|
|
478
|
+
- SQL injection
|
|
479
|
+
- XSS vulnerabilities
|
|
480
|
+
- Auth/authz issues
|
|
481
|
+
- Sensitive data exposure
|
|
482
|
+
|
|
483
|
+
Output: Security report with findings and fixes.
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### Result
|
|
487
|
+
|
|
488
|
+
```
|
|
489
|
+
[Paste output here]
|
|
490
|
+
|
|
491
|
+
Findings: [count]
|
|
492
|
+
Critical: [count]
|
|
493
|
+
Fixed: [Y/N]
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
**Status:** ⏳
|
|
497
|
+
|
|
498
|
+
---
|
|
499
|
+
|
|
500
|
+
## Order #12: Code Review ⏳
|
|
501
|
+
|
|
502
|
+
**Agent:** @Reviewer
|
|
503
|
+
**Depends on:** Order #11
|
|
504
|
+
**Estimated time:** 15 minutes
|
|
505
|
+
|
|
506
|
+
### Prompt (Copy this)
|
|
507
|
+
|
|
508
|
+
```
|
|
509
|
+
Read agents/5-quality/reviewer.md and continue as that agent.
|
|
510
|
+
|
|
511
|
+
Task: Final review for [Core Feature Name].
|
|
512
|
+
|
|
513
|
+
Files to review:
|
|
514
|
+
[List all files from Orders #7-11]
|
|
515
|
+
|
|
516
|
+
Check:
|
|
517
|
+
- Code quality
|
|
518
|
+
- Test coverage
|
|
519
|
+
- Security fixes applied
|
|
520
|
+
- Documentation
|
|
521
|
+
|
|
522
|
+
Output: Approval or change requests.
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
### Result
|
|
526
|
+
|
|
527
|
+
```
|
|
528
|
+
[Paste output here]
|
|
529
|
+
|
|
530
|
+
Status: APPROVED / CHANGES NEEDED
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
**Status:** ⏳
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
# PHASE 3: POLISH
|
|
538
|
+
|
|
539
|
+
## Order #13: Authentication ⏳
|
|
540
|
+
|
|
541
|
+
**Agent:** @Auth
|
|
542
|
+
**Depends on:** Phase 2 complete
|
|
543
|
+
**Estimated time:** 30 minutes
|
|
544
|
+
|
|
545
|
+
### Prompt (Copy this)
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
Read agents/3-security/auth.md and continue as that agent.
|
|
549
|
+
|
|
550
|
+
Task: Implement authentication for [Your Project Name].
|
|
551
|
+
|
|
552
|
+
Requirements:
|
|
553
|
+
- Sign up with email/password
|
|
554
|
+
- Login/logout
|
|
555
|
+
- Protected routes
|
|
556
|
+
- Session management
|
|
557
|
+
|
|
558
|
+
Tech: [NextAuth / Clerk / Custom JWT]
|
|
559
|
+
|
|
560
|
+
Output: Complete auth implementation.
|
|
561
|
+
```
|
|
562
|
+
|
|
563
|
+
### Result
|
|
564
|
+
|
|
565
|
+
```
|
|
566
|
+
[Paste output here]
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
**Status:** ⏳
|
|
570
|
+
|
|
571
|
+
---
|
|
572
|
+
|
|
573
|
+
## Order #14-18: [Additional Polish Orders]
|
|
574
|
+
|
|
575
|
+
[Follow the same pattern for:]
|
|
576
|
+
- #14: UI Polish (@Frontend)
|
|
577
|
+
- #15: Performance Optimization (@Performance)
|
|
578
|
+
- #16: Error Handling (@Backend, @Frontend)
|
|
579
|
+
- #17: Documentation (@Documentation)
|
|
580
|
+
- #18: Final Testing (@Testing)
|
|
581
|
+
|
|
582
|
+
---
|
|
583
|
+
|
|
584
|
+
# PHASE 4: LAUNCH
|
|
585
|
+
|
|
586
|
+
## Order #19: Pre-Launch Checklist ⏳
|
|
587
|
+
|
|
588
|
+
**Agent:** @DevOps
|
|
589
|
+
**Depends on:** Phase 3 complete
|
|
590
|
+
**Estimated time:** 10 minutes
|
|
591
|
+
|
|
592
|
+
### Prompt (Copy this)
|
|
593
|
+
|
|
594
|
+
```
|
|
595
|
+
Read agents/4-devops/devops.md and continue as that agent.
|
|
596
|
+
|
|
597
|
+
Task: Pre-launch checklist for [Your Project Name].
|
|
598
|
+
|
|
599
|
+
Verify:
|
|
600
|
+
- [ ] Environment variables documented
|
|
601
|
+
- [ ] Database migrations ready
|
|
602
|
+
- [ ] Error tracking configured
|
|
603
|
+
- [ ] Logging setup
|
|
604
|
+
- [ ] Health check endpoint
|
|
605
|
+
- [ ] SSL certificates
|
|
606
|
+
- [ ] Domain DNS
|
|
607
|
+
|
|
608
|
+
Output: Checklist status and any blockers.
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
### Result
|
|
612
|
+
|
|
613
|
+
```
|
|
614
|
+
[Paste output here]
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
**Status:** ⏳
|
|
618
|
+
|
|
619
|
+
---
|
|
620
|
+
|
|
621
|
+
## Order #20: Deploy to Staging ⏳
|
|
622
|
+
|
|
623
|
+
**Agent:** @DevOps
|
|
624
|
+
**Depends on:** Order #19
|
|
625
|
+
**Estimated time:** 20 minutes
|
|
626
|
+
|
|
627
|
+
### Prompt (Copy this)
|
|
628
|
+
|
|
629
|
+
```
|
|
630
|
+
Read agents/4-devops/devops.md and continue as that agent.
|
|
631
|
+
|
|
632
|
+
Task: Deploy to staging environment.
|
|
633
|
+
|
|
634
|
+
Platform: [Vercel / Railway / etc.]
|
|
635
|
+
|
|
636
|
+
Steps:
|
|
637
|
+
1. Set environment variables
|
|
638
|
+
2. Deploy application
|
|
639
|
+
3. Run database migrations
|
|
640
|
+
4. Smoke test
|
|
641
|
+
|
|
642
|
+
Output: Staging URL and test results.
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
### Result
|
|
646
|
+
|
|
647
|
+
```
|
|
648
|
+
[Paste output here]
|
|
649
|
+
|
|
650
|
+
Staging URL: https://[your-app]-staging.vercel.app
|
|
651
|
+
Smoke test: PASS / FAIL
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
**Status:** ⏳
|
|
655
|
+
|
|
656
|
+
---
|
|
657
|
+
|
|
658
|
+
## Order #21: Production Deploy ⏳
|
|
659
|
+
|
|
660
|
+
**Agent:** @DevOps
|
|
661
|
+
**Depends on:** Order #20 passing
|
|
662
|
+
**Estimated time:** 15 minutes
|
|
663
|
+
|
|
664
|
+
### Prompt (Copy this)
|
|
665
|
+
|
|
666
|
+
```
|
|
667
|
+
Read agents/4-devops/devops.md and continue as that agent.
|
|
668
|
+
|
|
669
|
+
Task: Deploy to production.
|
|
670
|
+
|
|
671
|
+
Staging verified: [Yes/No]
|
|
672
|
+
|
|
673
|
+
Steps:
|
|
674
|
+
1. Production environment variables
|
|
675
|
+
2. Deploy to production
|
|
676
|
+
3. Verify health check
|
|
677
|
+
4. Monitor for errors
|
|
678
|
+
|
|
679
|
+
Output: Production URL and monitoring links.
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
### Result
|
|
683
|
+
|
|
684
|
+
```
|
|
685
|
+
[Paste output here]
|
|
686
|
+
|
|
687
|
+
Production URL: https://[your-app].com
|
|
688
|
+
Health check: PASS / FAIL
|
|
689
|
+
Monitoring: [Sentry dashboard link]
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
**Status:** ⏳
|
|
693
|
+
|
|
694
|
+
---
|
|
695
|
+
|
|
696
|
+
## Order #22: Launch Complete ✅
|
|
697
|
+
|
|
698
|
+
**Final Checklist:**
|
|
699
|
+
|
|
700
|
+
- [ ] Production deployed and healthy
|
|
701
|
+
- [ ] Monitoring configured
|
|
702
|
+
- [ ] Documentation complete
|
|
703
|
+
- [ ] Team notified
|
|
704
|
+
|
|
705
|
+
**Launch Date:** [Date]
|
|
706
|
+
**Production URL:** [URL]
|
|
707
|
+
|
|
708
|
+
---
|
|
709
|
+
|
|
710
|
+
## Execution Log
|
|
711
|
+
|
|
712
|
+
| Date | Order | Agent | Duration | Notes |
|
|
713
|
+
|------|-------|-------|----------|-------|
|
|
714
|
+
| | #1 | @Planner | | |
|
|
715
|
+
| | #2 | @CTO | | |
|
|
716
|
+
| | #3 | @Database | | |
|
|
717
|
+
| | ... | ... | | |
|
|
718
|
+
|
|
719
|
+
---
|
|
720
|
+
|
|
721
|
+
## Blockers & Resolutions
|
|
722
|
+
|
|
723
|
+
### Blocker #1: [Title]
|
|
724
|
+
**Order:** #[X]
|
|
725
|
+
**Issue:** [Description]
|
|
726
|
+
**Resolution:** [How it was resolved]
|
|
727
|
+
**Date resolved:** [Date]
|
|
728
|
+
|
|
729
|
+
---
|
|
730
|
+
|
|
731
|
+
*Template from Ultra-Dex v1.7.0 - Step-by-step AI orchestration*
|