Skip to content
Back to skills

High Scale Ecommerce

ASecurity

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).

  • 46 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
ai-agentskubernetesapidatabasefrontendsecurity

Works with

  • api

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add j4flmao/agent-skills --skill high-scale-ecommerce --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of High Scale Ecommerce?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for High Scale Ecommerce
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/j4flmao-high-scale-ecommerce/badge)](https://www.skillsdirectory.com/skills/j4flmao-high-scale-ecommerce)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.