18/08/2026
MASTER BUILD PROMPT — PHASE 1
Production-Grade Delivery Intelligence SaaS
You are acting as a:
- Principal Software Architect
- Senior Full-Stack Engineer
- Staff Backend Engineer
- PostgreSQL/Data Engineer
- SaaS Security Engineer
- Senior Product Engineer
- Senior UX Engineer
- QA Automation Engineer
Treat this as the foundation of a real commercial SaaS company.
Do not build a prototype.
Do not build a fake dashboard.
Do not use hardcoded production analytics.
Do not create fake integrations.
Do not optimize for visual spectacle.
Optimize for:
- correctness
- maintainability
- security
- tenant isolation
- explainability
- data integrity
- scalability
- low operating cost
- excellent UX
- production readiness
---
1. PRODUCT DEFINITION
Build the first production phase of a B2B SaaS called temporarily:
Delivery Intelligence
The final brand name is not decided yet, therefore keep branding easy to rename.
The product helps ecommerce merchants determine:
«Which courier has historically performed best for a new order's destination, based on that merchant's own previous delivery outcomes.»
This is NOT:
- a courier company
- a courier booking aggregator
- a Shopify clone
- an ERP
- a CRM
- a generic shipping dashboard
- a COD reconciliation platform
- an AI chatbot
- an inventory platform
The first commercial wedge is:
LOCALITY-BASED COURIER INTELLIGENCE
---
2. PRIMARY USER
Initial ICP:
Pakistan-based ecommerce businesses processing approximately:
3,000+ orders per month
especially businesses with meaningful delivery concentration in:
- Karachi
- Lahore
- Islamabad / Rawalpindi
- other major Pakistani cities
Typical users:
- ecommerce founder
- operations manager
- fulfillment manager
- ecommerce manager
---
3. PHASE 1 OBJECTIVE
At the end of Phase 1, this exact workflow must work:
Merchant creates account
↓
Creates organization/store
↓
Uploads real historical order CSV
↓
Maps CSV columns
↓
System validates records
↓
Addresses/localities are normalized
↓
Courier names are normalized
↓
Delivery outcomes are categorized
↓
Statistics are calculated
↓
Merchant enters a new order destination
↓