ce-ssr-patterns

Official

Master SSR patterns for Commerce Engine storefronts.

Authortark-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Efficiently implement and standardize server-side rendering patterns for Commerce Engine storefronts across multiple frameworks (Next.js, TanStack Start, Astro, and SvelteKit) using first-party wrappers and a common token-management model.

Core Features & Use Cases

  • Framework wrappers: guidance for using @commercengine/storefront wrappers in Next.js, TanStack Start, Astro, and SvelteKit.
  • Accessor patterns: publicStorefront(), clientStorefront(), and serverStorefront() usage across frameworks.
  • Bootstrap & pre-rendering: strategies to bootstrap the storefront on first load and pre-render catalog pages for SEO.
  • References: framework-specific references with code examples and guardrails.

Quick Start

Follow the references to implement SSR scaffolds for Next.js, TanStack Start, Astro, and SvelteKit using the first-party storefront wrappers.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ce-ssr-patterns
Download link: https://github.com/tark-ai/ce-starter-projects/archive/main.zip#ce-ssr-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.