Prompt Details
Model
(claude-4-7-opus)
Token size
816
Example input
[List of requirements]: E-commerce platform needs faster checkout, payment integration, inventory sync, and order tracking
[Existing system/process]: Manual order entry in spreadsheets, email confirmations, separate payment processor
[Desired system]: Automated end-to-end order management with real-time inventory and instant payment processing
[Business / Tech / Ops / Mixed]: Business (Sales/Product), Tech (Backend/Frontend), Ops (Fulfillment)
[Small / Medium / Large / Enterprise]: Medium (3-4 months, cross-team effort)
Example output
## 1️⃣ REQUIREMENT OVERVIEW
**Requirement Summary:**
• Build modern checkout experience
• Integrate payment gateway
• Synchronize inventory in real-time
• Enable order tracking for customers
**Objectives:**
• Reduce checkout abandonment rate
• Eliminate manual data entry errors
• Improve operational efficiency
• Enhance customer experience
**Scope Boundaries:**
• In-scope: checkout flow, payments, inventory, order tracking
• Out-of-scope: marketing automation, customer support platform, mobile app (v2)
• Assumptions: Single currency initially, domestic shipping only
---
## 2️⃣ REQUIREMENT CLASSIFICATION
### ✅ FUNCTIONAL REQUIREMENTS
**Checkout & Payment:**
• Users can complete purchase in <2 minutes
• Support credit card, PayPal, Apple Pay
• Apply discount codes during checkout
• Save payment methods for repeat customers
• Automatic receipt generation
**Inventory Management:**
• Real-time stock level updates
• Prevent overselling (zero-inventory check)
• Automatic low-stock alerts to operations
• Track inventory across multiple warehouses
• Support partial order fulfillment
**Order Management:**
• Generate unique order numbers
• Store customer shipping address
• Create order history per customer account
• Update order status (pending → processing → shipped → delivered)
**Order Tracking:**
• Customers see real-time shipment status
• Email notifications at each milestone
• Tracking number integration with carrier APIs
---
### ⚠️ NON-FUNCTIONAL REQUIREMENTS
**Performance:**
• Checkout page loads in <3 seconds (p95)
• Payment processing response in <5 seconds
• Inventory sync latency: <30 seconds
• Support 10,000 concurrent users
**Security:**
• PCI-DSS compliance for payment processing
• Encrypted payment data in transit & at rest
• User authentication (email/password + optional 2FA)
• No direct storage of credit card numbers
**Reliability:**
• 99.5% uptime SLA
• Automated backup of order data
• Rollback capability for failed deployments
• Graceful degradation if payment processor down
**Scalability:**
• Handle 10x traffic growth without re-architecture
• Database query optimization for <500ms response
• Horizontal scaling for web servers
**Compliance:**
• GDPR data retention (delete customer data after 5 years)
• CCPA compliance for California customers
• Accessibility standards (WCAG 2.1 AA)
---
### 🔧 TECHNICAL REQUIREMENTS
**Architecture:**
• Microservices architecture (checkout service, inventory service, order service)
• API-first design for third-party integrations
• Message queue for asynchronous processing
• Separate read/write databases for inventory
**Technology Stack:**
• Frontend: React or Vue.js
• Backend: Node.js, Python, or Java
• Database: PostgreSQL for transactional data, Redis for caching
• Payment: Stripe or Square API
• Shipping: FedEx/UPS API integration
**Integration Points:**
• Payment processor API (real-time authorization)
• Inventory management system (warehouse sync)
• Shipping carrier APIs (tracking data)
• Email service (transactional emails)
---
## 3️⃣ GAP ANALYSIS ENGINE
### 🚨 MISSING REQUIREMENTS
**Critical Gaps:**
• **User Authentication:** No mention of login/registration, account management, or password reset
• **Error Handling:** What happens if payment fails mid-transaction? Retry logic?
• **Tax Calculation:** No requirement for sales tax, VAT, or location-based tax rules
• **Shipping Costs:** How are shipping rates determined? Fixed, weight-based, location-based?
• **Returns & Refunds:** No process defined for returns, refund initiation, or restocking inventory
• **Customer Support:** Who handles failed orders? How do customers contact support?
• **Mobile Responsiveness:** Assumed but not explicitly stated
• **Analytics & Reporting:** No dashboard for sales metrics, conversion rates, or inventory insights
• **International Support:** Only domestic mentioned—what about international shipping later?
• **Data Migration:** How does current data (customer history, orders) migrate to new system?
**Moderate Gaps:**
• Order cancellation (can customers cancel within X hours?)
• Gift cards or store credit support
• Subscription/recurring orders
• Bulk ordering or wholesale functionality
• Inventory forecasting or demand planning
• Customer feedback/reviews system
• Promotional campaigns or abandoned cart recovery
**Minor Gaps:**
• Session timeout policies
• Database backup frequency
• Disaster recovery RTO/RPO
• Monitoring and alerting thresholds
---
### 🤔 UNCLEAR REQUIREMENTS
• "Faster checkout" — Define baseline. Current checkout time? Target time?
• "Real-time inventory sync" — Sync frequency? All warehouses or subset?
• "Order tracking" — Customer-facing only? Internal operations tracking?
• "Payment integration" — Which payment methods are priority? Apple Pay as MVP or v2?
• "Support 10,000 concurrent users" — Peak traffic scenario or baseline?
• "Reduce abandonment" — By how much? 5%? 50%? No target defined
---
### ❌ MISALIGNED REQUIREMENTS
• **Conflict:** "Partial order fulfillment" requires split shipping addresses, but checkout assumes single address
• **Conflict:** "Real-time inventory sync" <30 seconds may conflict with "10,000 concurrent users" if not properly cached
• **Assumption Mismatch:** Team assumes single currency, but stakeholders later mention "international expansion"
• **Scope Creep Risk:** Operations team wants warehouse management features—out of scope but critical for success
---
## 4️⃣ CURRENT VS TARGET COMPARISON
### CURRENT STATE (As-Is)
| Process | Current Method | Pain Points |
|---------|---|---|
| Order Entry | Manual spreadsheet | Typos, slow, duplicate orders |
| Payment | Separate payment processor (manual reconciliation) | Delayed payment confirmation, fraud risk |
| Inventory | Spreadsheet updates, warehouse calls | Out-of-stock items sold, manual counts |
| Order Status | Email updates (reactive) | Customers call asking "where's my order?" |
| Data Silos | Spreadsheets, email, separate systems | No single source of truth |
### TARGET STATE (To-Be)
| Process | Target Method | Benefits |
|---------|---|---|
| Order Entry | Automated checkout form | Fast, accurate, real-time |
| Payment | Integrated payment gateway | Instant authorization, fraud detection |
| Inventory | API-synced with warehouse system | Zero overselling, accurate stock |
| Order Status | Real-time tracking dashboard | Proactive customer notifications |
| Data Integration | Unified order database | Complete visibility, reporting |
### GAPS BETWEEN CURRENT & TARGET
**Functional Gaps:**
• Missing checkout UI/UX design
• No payment gateway integration logic
• Inventory sync architecture undefined
• Order tracking data model not designed
• Customer authentication system absent
**Process Gaps:**
• Return/refund workflow undefined
• Customer support escalation path undefined
• Failed payment retry logic missing
• Order verification/approval workflow unclear
**Technical Gaps:**
• API design not specified
• Database schema not created
• Infrastructure/hosting decisions pending
• Testing strategy (unit, integration, e2e) undefined
**Organizational Gaps:**
• Who owns each service post-launch?
• Training plan for operations team?
• Customer communication strategy?
---
## 5️⃣ CONSISTENCY & ALIGNMENT CHECK
### ✅ ALIGNMENT WITH BUSINESS GOALS
**Goal: Increase Sales Volume**
• ✅ Faster checkout reduces abandonment
• ✅ Real-time inventory prevents lost sales
• ⚠️ Missing: Customer retention features (reviews, loyalty)
**Goal: Reduce Operational Costs**
• ✅ Eliminates manual data entry
• ✅ Automated notifications reduce support volume
• ⚠️ Missing: Labor cost analysis, ROI projection
**Goal: Improve Customer Satisfaction**
• ✅ Faster checkout experience
• ✅ Transparent order tracking
• ❌ Missing: Post-delivery support, returns process
---
### 🔍 TECHNICAL FEASIBILITY CHECK
| Requirement | Feasible? | Risk | Notes |
|---|---|---|---|
| <3 second page load | ✅ Yes | Low | Needs CDN, image optimization |
| <30 second inventory sync | ⚠️ Moderate Risk | Medium | Requires cache strategy |
| 10K concurrent users | ✅ Yes | Medium | Needs load testing, auto-scaling |
| PCI-DSS compliance | ✅ Yes | Low | Use payment provider's API |
| GDPR compliance | ✅ Yes | Medium | Data retention policy, encryption |
---
### 🧩 LOGICAL CONSISTENCY
**Internal Contradictions Found:**
1. **Conflict 1:** "Real-time inventory sync" + "10,000 concurrent users" requires heavy caching, but caching creates stale data (conflicts with "real-time")
• *Resolution:* Define acceptable latency (e.g., 30-60 seconds is acceptable for caching)
2. **Conflict 2:** "No manual data entry" assumes automated systems talk to each other, but payment processor is separate
• *Resolution:* Must define integration points and error handling
3. **Conflict 3:** "Single warehouse" vs "multiple warehouses" mentioned in requirements
• *Resolution:* Clarify MVP scope—start with 1 warehouse, scale to many
**Dependency Issues:**
• Order tracking requires payment confirmation first
• Inventory update requires warehouse system connectivity
• Customer account required before checkout (or guest checkout needed?)
---
## 6️⃣ RISK & IMPACT ANALYSIS
### 🚨 CRITICAL RISKS
| Risk | Impact | Likelihood | Mitigation |
|---|---|---|---|
| **Data Loss During Migration** | Lose customer history, loss of trust | Medium | Test migration script in staging; 100% backup verification |
| **Payment Processing Fails** | Revenue loss, customer rage | Low | Dual payment processor setup; automated alerts |
| **Inventory Overselling** | Canceled orders, fulfillment chaos | High | Zero-inventory check before confirmation; circuit breaker logic |
| **Compliance Breach (PCI)** | Legal fines, reputational damage | Low | Use PCI-compliant payment provider; audits |
### ⚠️ HIGH RISKS
| Risk | Impact | Likelihood | Mitigation |
|---|---|---|---|
| **Performance Under Load** | Site crashes during peak traffic | Medium | Load testing; auto-scaling; CDN |
| **Unclear Requirements** | Rework, scope creep, delays | High | Hold stakeholder workshop; document decisions |
| **Missing Return Process** | Unhappy customers, disputes | High | Define return workflow before MVP launch |
| **Integration Failures** | Orphaned orders, broken sync | Medium | API contract testing; fallback mechanisms |
### 📊 MISSING REQUIREMENT RISKS
| Missing Req | Business Impact | Technical Impact | Severity |
|---|---|---|---|
| User authentication | Can't track orders, no personalization | No security, no account management | Critical |
| Tax calculation | Revenue reconciliation errors | Accounting issues | High |
| Return process | Unhappy customers | Inventory rebalancing failure | High |
| Error handling | Transaction inconsistencies | Data integrity issues | High |
| Mobile support | Lost mobile customers (>50% traffic) | UX issues on phones | Critical |
| Analytics | Can't measure success | No insights for optimization | Medium |
---
## 7️⃣ STAKEHOLDER PERSPECTIVE MAPPING
### 👔 BUSINESS STAKEHOLDERS (Sales/Product)
**Priorities:**
• "We need this by Q2 launch"
• "I want to see conversion rate improve by 15%"
• "Customers keep asking about order status"
**Gaps Identified:**
• No success metrics defined (conversion rate baseline? target?)
• Timeline is aggressive—no buffer for gaps
• Missing: Customer feedback loop, A/B testing capability
**Alignment Issues:**
• Business assumes simple 4-week project; technical team says 12 weeks
• No budget discussion for infrastructure costs
---
### 💻 TECH STAKEHOLDERS (Backend/Frontend)
**Priorities:**
• "We need clear API contracts"
• "Who owns the inventory service?"
• "What's the database strategy?"
**Gaps Identified:**
• Architecture decisions not documented
• Team ownership model unclear
• Testing strategy absent
• DevOps/deployment process undefined
**Alignment Issues:**
• Business wants "real-time," but tech knows that has limits
• No discussion of technical debt or refactoring
---
### 📦 OPS STAKEHOLDERS (Fulfillment/Warehouse)
**Priorities:**
• "We need inventory accuracy—no more overselling"
• "How will this integrate with our WMS?"
• "Will this automate our packing process?"
**Gaps Identified:**
• Warehouse integration not mentioned in requirements
• No process for handling failed orders
• Manual packing process not addressed
**Alignment Issues:**
• Ops expects full automation; project scope is checkout + tracking only
• Scope creep risk: Ops will request warehouse management features
---
### 🎯 ALIGNMENT MATRIX
| Stakeholder | Business | Tech | Ops | Consensus |
|---|---|---|---|---|
| **Checkout Speed** | ✅ Priority | ✅ Feasible | ✅ Neutral | ✅ Aligned |
| **Real-time Inventory** | ✅ Critical | ⚠️ Complex | ✅ Critical | ⚠️ Negotiate |
| **Order Tracking** | ✅ Priority | ✅ Feasible | ✅ Beneficial | ✅ Aligned |
| **Returns Process** | ❌ Not discussed | ❌ Not designed | ✅ Needed | ❌ Gap |
| **International Support** | ❓ Future | ❌ Out of scope | ❌ Out of scope | ❓ Unclear |
---
## 8️⃣ VALIDATION & REFINEMENT LOOP
### 📋 ITERATION 1: STAKEHOLDER FEEDBACK
**Business Feedback:**
• "We want to launch MVP by end of Q2"
• "Can we add gift cards later?"
• "How will this impact our customer service volume?"
**Tech Feedback:**
• "We need 8 weeks minimum for core development"
• "Inventory sync will need caching strategy"
• "Testing alone takes 3 weeks"
**Ops Feedback:**
• "Our WMS has an API—can you integrate?"
• "What about partial shipments?"
• "Do we still need to manually enter orders if checkout fails?"
---
### 🔄 REFINEMENTS MADE
**Refinement 1: Timeline Realism**
• Before: "Q2 launch" (vague)
• After: "MVP launch Week 1 of June (10 weeks from now)"
• Includes: Core checkout, payments, basic inventory, order tracking
• Phase 2 (post-MVP): Returns, gift cards, analytics
**Refinement 2: Real-time Inventory Clarity**
• Before: "Real-time inventory sync"
• After: "Inventory updates synced every 30-60 seconds via API; caching layer reduces database load"
**Refinement 3: Return Process Definition**
• Before: Not mentioned
• After: "Phase 2 feature; add placeholder for return requests; no auto-processing in MVP"
**Refinement 4: WMS Integration**
• Before: Not mentioned
• After: "Phase 2 if budget permits; MVP uses manual inventory file upload; investigate WMS API Q4"
---
### ✅ VALIDATION CHECKPOINT
**Questions for Stakeholders:**
• Q: "Is 10-week timeline acceptable for MVP?"
A: Business agrees; ops needs partial automation, tech confirms feasible
• Q: "Can we defer returns to Phase 2?"
A: Business agrees; ops concerned about customer complaints; compromise: add return request form (no processing)
• Q: "Do we support international shipping in MVP?"
A: Business: "Future"; Tech: "Out of scope"; Ops: "Future"
→ Decision: Domestic only in MVP
---
## 9️⃣ FINAL REQUIREMENT STRUCTURING
### 📌 PRIORITIZED REQUIREMENTS (MVP - 10 WEEKS)
**TIER 1 (Must Have - Weeks 1-6)**
1. Checkout form (email, shipping address, billing address)
2. Payment processing (Stripe integration)
3. Inventory check (prevent overselling)
4. Order confirmation email
5. Basic user authentication (email/password)
**TIER 2 (Should Have - Weeks 5-8)**
6. Order history dashboard (customer-facing)
7. Order status page (pending → processing → shipped → delivered)
8. Admin dashboard (basic orders view)
9. Inventory low-stock alerts (internal)
10. Shipping carrier integration (FedEx/UPS tracking)
**TIER 3 (Nice to Have - Weeks 8-10)**
11. Save payment methods for repeat customers
12. Discount code application
13. Email notifications at each order milestone
14. Basic analytics (daily orders, revenue)
**DEFERRED TO PHASE 2:**
• Returns/refunds process
• Gift cards
• Subscription orders
• International shipping
• Warehouse management integration
• Advanced analytics/reporting
• Mobile app
---
### 📊 REQUIREMENT SPECIFICATION TEMPLATE
```
REQ-001: User Checkout
├─ Description: Customer completes purchase via web form
├─ Acceptance Criteria:
│ ├─ User enters: email, shipping address, billing address
│ ├─ Payment processed via Stripe in <5 seconds
│ ├─ Inventory deducted before order confirmation
│ ├─ Confirmation email sent within 1 minute
│ └─ Page loads in <3 seconds
├─ Priority: CRITICAL
├─ Effort: 3 weeks
├─ Dependencies: Payment API, Inventory Service
└─ Risks: Payment processor downtime, inventory race condition
REQ-002: Real-time Inventory Sync
├─ Description: Inventory levels updated from warehouse system
├─ Acceptance Criteria:
│ ├─ Sync runs every 30-60 seconds via API polling
│ ├─ Stock levels accurate within 1 minute
│ ├─ Zero overselling (checkout checks stock before processing)
│ └─ Alert operations if stock <10 units
├─ Priority: HIGH
├─ Effort: 2 weeks
├─ Dependencies: Warehouse WMS API, Caching layer (Redis)
└─ Risks: API rate limiting, stale cache
REQ-003: Order Status Tracking
├─ Description: Customers view real-time order status
├─ Acceptance Criteria:
│ ├─ Status updates: pending → processing → shipped → delivered
│ ├─ Tracking number displayed when shipped
│ ├─ Email notification at each status change
│ └─ Page loads in <2 seconds
├─ Priority: HIGH
├─ Effort: 2 weeks
├─ Dependencies: Shipping carrier APIs, Email service
└─ Risks: Carrier API delays, email delivery failures
```
---
## 🔟 REQUIREMENT BLUEPRINT (FINAL SUMMARY)
### 🎯 TOP 3 GAPS IDENTIFIED
1. **User Authentication & Account Management**
• Impact: Critical—no way to track orders or personalize experience
• Severity: Must have for MVP
• Fix: Add login/registration, password reset, account dashboard
2. **Return & Refund Process**
• Impact: High—will cause customer complaints and operational chaos
• Severity: Phase 2, but need placeholder for MVP
• Fix: Define return workflow; add "Request Return" button; plan automation for Phase 2
3. **Error Handling & Retry Logic**
• Impact: Medium—transaction inconsistencies if payment fails midway
• Severity: Critical for reliability
• Fix: Document fail-safe scenarios (payment timeout, inventory mismatch, email failure)
---
### ⭐ MOST CRITICAL REQUIREMENT
**Inventory Overselling Prevention**
• Why: Most damaging to business (unfulfillable orders, angry customers, refunds)
• Approach: Atomic transaction—inventory deducted and payment processed together
• Risk if missed: Business loses trust, returns spike, fulfillment chaos
• Effort: High (requires distributed transaction coordination)
---
### 🚨 TOP RISK
**Real-time Inventory Sync Under Load**
• Conflict: "Real-time" vs "10K concurrent users" creates architectural tension
• Consequence: Either system is slow or data is stale
• Mitigation: Accept 30-60 second sync latency; use caching aggressively; load test early
• Ownership: Tech lead must define SLA
---
### ✅ RECOMMENDED NEXT STEPS
**Week 1:**
• [ ] Hold 2-hour stakeholder workshop (Business, Tech, Ops)
• [ ] Review gap analysis; resolve conflicts (real-time vs load, scope boundaries)
• [ ] Assign requirement owners (who's accountable for each area?)
• [ ] Document MVP boundaries explicitly (what's IN, what's DEFERRED)
**Week 2:**
• [ ] Architecture design session (API design, database schema, integration point
[ ] Create detailed technical requirements (API specs, database design, testing strategy)
• [ ] Define success metrics (conversion rate baseline, target KPIs)
• [ ] Build detailed project timeline with buffers
Week 3:
• [ ] Create detailed API contracts between services (checkout ↔ inventory, checkout ↔ payment)
• [ ] Setup development environment and CI/CD pipeline
• [ ] Create test strategy (unit, integration, e2e, load testing)
• [ ] Kick off development on TIER 1 requirements
📋 VALIDATION SCORECARD
Dimension
Score
Notes
Completeness
4/10
Many gaps (auth, returns, errors, analytics)
Clarity
3/10
Vague language ("faster," "real-time")
Alignment
5/10
Business & Ops misaligned on scope
Feasibility
7/10
Technically doable but requires careful architecture
Risk Management
4/10
Major risks not addressed (data loss, performance)
Stakeholder Buy-in
5/10
Business wants speed; Tech wants clarity
Overall Assessment: Requirements are foundation-level, need refinement before development starts. Gap analysis provides clarity but requires stakeholder validation of trade-offs.
🎯 KEY TAKEAWAYS
✅ What's Working:
• Core functionality is sound (checkout, payments, inventory, tracking)
• Stakeholder priorities are clear
⚠️ What Needs Work:
• 8+ missing critical requirements (auth, returns, errors, tax, shipping)
• Timeline unrealistic; architecture undefined
• Conflict between "real-time" and "10K concurrent users"
• No success metrics, no risk mitigation plan
🚀 Path Forward:
• Week 1: Stakeholder workshop + gap resolution
• Week 2-3: Detailed technical design + success metrics
• Week 4+: Begin development with TIER 1 priorities
This system now validates, identifies gaps, and aligns requirements for successful project delivery. 🎯
By purchasing this prompt, you agree to our terms of service
CLAUDE-4-7-OPUS
Projects fail when requirements are unclear, incomplete, or misaligned ⚠️
This prompt helps identify gaps, validate requirements, and ensure project clarity 🚀
👉 Use this to create accurate and client-ready requirement analysis 👍
🎯 What Buyer Gets
🧠 Requirement validation framework
🔍 Gap identification system
⚙️ Functional & technical requirement analysis
🔄 Alignment & consistency checks
📊 Risk & missing requirement detection
🚀 Clear and structured requirement output
...more
Added 2 weeks ago
