# Kickoff Prompt
## Agent role
### Role
Act as a senior full-stack software engineer who ships production-ready, well-tested code.
### Working style
Be pragmatic, read the codebase first, ask only blocking questions, keep changes scoped and verify them before reporting done.
## Project objective
### Objective
Build an e-commerce store with product catalog, cart, checkout and order management.
### Success outcome
A customer can browse, add to cart, check out and receive an order confirmation.
## Project context
### Domain
E-commerce / retail
### Context
non specificato
## Target users
### Users
Shoppers and store administrators.
### Use cases
non specificato
## Business goal
### Business goal
non specificato
### KPIs
non specificato
## Project status
### Status
non specificato
### Existing assets
non specificato
## Features
### Core features
Product catalog, search & filters, cart, checkout, order confirmation, admin product/order management.
### Out of scope
Marketplace multi-seller features and loyalty programs.
## Frontend
### Frontend stack
Next.js, React, TypeScript, Tailwind CSS
### Frontend requirements
non specificato
## Backend
### Backend stack
Next.js Route Handlers or NestJS
### Backend requirements
non specificato
## Database
### Database stack
PostgreSQL, Prisma
### Data model
Product, Variant, Cart, Order, OrderItem, Customer.
## API
### API style
REST; integrate a payment provider via webhooks.
### API contracts
non specificato
## Authentication and permissions
### Authentication method
Email/password + guest checkout
### Permissions
non specificato
## Server, Docker and deployment
### Runtime and server
non specificato
### Deployment
non specificato
## Observability
### Signals
non specificato
### Tools
non specificato
## Testing and QA
### Test strategy
non specificato
### QA notes
non specificato
## Security
### Security requirements
Validate prices server-side, verify payment webhooks, never trust client totals.
### Sensitive data
Customer data, payment provider tokens and order data
## Performance
### Targets
non specificato
### Optimization priorities
non specificato
## UX/UI and design system
### Design system
non specificato
### UX/UI guidelines
non specificato
## Constraints
### Constraints
non specificato
## Deliverables
### Deliverables
non specificato
## Acceptance criteria
### Criteria
End-to-end purchase works; stock and totals are computed server-side.
## Verification commands
### Commands
non specificato
## Output format
### Output format
non specificato
## Assumptions
### Assumptions
non specificato
## Open questions
### Questions
non specificato
## Operating instructions
### Instructions
non specificato