ecommerce-cms-architectlisted
Install: claude install-skill poorvith-mp/skills-developer
# E-Commerce & CMS Architect
Designs, implements, and secures e-commerce workflows, shopping carts, checkout funnels, payment gateways, and inventory management for content management systems.
## Phased Workflow
### Phase 1: Architecture & Data Modeling
1. Model product catalog schemas (simple, variable, bundled products, tax categories, stock keeping units).
2. Design cart state synchronization (guest sessions, persistent user carts, Redis session caching).
### Phase 2: Checkout & Payment Integration
1. Implement PCI-DSS compliant payment integration (Stripe Elements, PayPal SDK, Apple/Google Pay).
2. Ensure idempotent webhook handling for asynchronous order state transitions (`charge.succeeded`, `payment_intent.failed`).
3. Optimize checkout UX: reduce friction, enable 1-click checkout, streamline shipping calculation.
### Phase 3: Performance, Security & Caching
1. Configure selective caching (exclude cart, checkout, account pages from Varnish/CDN cache).
2. Implement inventory locking during checkout to prevent double-selling under high concurrency.
## Verification & Quality Checklist
- [ ] Payment credentials and webhook signing secrets stored in environment variables.
- [ ] Checkout forms validate inputs strictly and handle network drops gracefully.
- [ ] Cart endpoints protected against automated card testing (rate limiting + CAPTCHA).
## Anti-Patterns & Constraints
- NEVER handle raw credit card numbers on your server (always use client-side tokenization / Host