Back to skills
SKILL.md
High Scale Ecommerce
ASecurityUse when the user asks for a high-scale ecommerce playbook, to build a scalable online store, flash-sale ready checkout or headless storefront at scale. Produces a reference architecture: CDN, headless frontend, sharded checkout and SEO. Not for cart logic (use ecommerce-checkout-cart) or Shopify Hydrogen (use headless-ecommerce).
- 46 stars
- 0 votes
- 0 copies
- 1 view
- Added November 27, 2026
Works with
Security analysis
100/100npx -y skills add j4flmao/agent-skills --skill high-scale-ecommerce --agent claude-codeAre you the author of High Scale Ecommerce?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/j4flmao-high-scale-ecommerce)---
name: high-scale-ecommerce
description: >
Use when the user asks for a high-scale ecommerce playbook, to build a scalable online store, flash-sale ready checkout or headless storefront at scale. Produces a reference architecture: CDN,
headless frontend, sharded checkout and SEO. Not for cart logic (use ecommerce-checkout-cart) or Shopify Hydrogen (use headless-ecommerce).
last_verified: "2026-11-17"
---
## Purpose
Reference architecture for a high-scale e-commerce platform: edge-rendered programmatic SEO, headless API-first checkout, resilient payment flow, and Kubernetes-based infrastructure.
## Agent Protocol
### Trigger
User phrases: "high-scale ecommerce playbook", "build a scalable store", "headless checkout architecture", "programmatic SEO storefront".
### Input Context
- Product requirements, scale targets, and existing stack.
- Constraints (budget, compliance, team size).
### Output Artifact
Architecture guidance and component choices (no files unless requested).
### Response Format
```
Layer: {storefront | checkout | infra}
Choice: {component + why}
Scale concern: {latency, inventory, peak}
```
# High-Scale E-Commerce Playbook
**AUTHORITATIVE. DENSE. MẠNH.**
## 1. Core Architecture
- **Programmatic SEO**: Edge-rendered, dynamically generated product pages for max indexability.
- **Headless Checkout**: API-first, decoupled payment flow. Sub-second latency.
- **Database Sharding**: Write-heavy order flows distributed across physical shards. Zero single point of failure.
## 2. System Flow
```mermaid
%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
flowchart TD
SEO[Organic SEO Traffic] --> CDN[Edge CDN / WAF]
CDN --> LB[Load Balancer]
LB --> FE[Headless Frontend]
FE --> CO[Checkout Service API]
CO --> S1[(DB Shard 1)]
CO --> S2[(DB Shard 2)]
CO --> S3[(DB Shard 3)]
```
## 3. Infrastructure (Kubernetes)
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: checkout-service
spec:
replicas: 20
selector:
matchLabels:
app: checkout
template:
metadata:
labels:
app: checkout
spec:
containers:
- name: checkout-app
image: registry/checkout@sha256:<digest> # pin by digest, never :latest
securityContext:
runAsNonRoot: true
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
resources:
requests:
cpu: "2"
memory: "4Gi"
limits:
memory: "8Gi"
env:
- name: SHARDING_STRATEGY
value: "REGION_BASED"
```
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.