Skip to content
Skill

Commercetools storefront

Patterns for building B2C and B2B commercetools storefronts with a server-side BFF

Commercetools storefront is an open-source agent skill for e-commerce. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
CC-BY-4.0
Listing updated

Similar skills

About Commercetools storefront

This skill gives an agent production patterns for customer-facing commercetools storefronts, covering the shared backend-for-frontend layer, sessions, carts, checkout, customer login, search and facets, and locale handling. It also covers B2C features such as anonymous cart merging, bundles, BOPIS and promotions, and B2B features such as quotes, approval workflows, store-scoped pricing and purchase lists.

The guidance is framework-neutral and states each pattern as a design decision backed by commercetools-specific code. It points to stack adapters for Next.js and Nuxt that map the concepts onto framework primitives, and to reference files for each feature area. Routing to the right reference happens through a documentation search script that the agent runs before answering.

The skill expects a server tier that can hold secrets and proxy commercetools calls, and it requires a commercetools project with the relevant APIs. Scripts for fetching GraphQL and OpenAPI schemas for individual commercetools resources are included, and the code examples are written in JavaScript and TypeScript.

When your agent uses it

Production patterns for building customer-facing storefronts on commercetools - the full B2C and B2B domain feature set. Patterns are stated as decisions plus commercetools-exact code; framework-specific implementation. Assumes a server tier exists to host the BFF. Use for PDP, PLP, cart, checkout flow, customer login, search/facets, locale handling, and any B2B- or B2C-specific feature.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 69 files (504 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the commercetools plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add commercetools/commercetools-ai-plugins
/plugin install commercetools@commercetools

Or copy only this skill to ~/.claude/skills/commercetools-storefront:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/commercetools/commercetools-ai-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commercetools-storefront &&
cp -R "$tmp/skills/commercetools-storefront" ~/.claude/skills/commercetools-storefront &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/commercetools-storefront inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/commercetools-storefront to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/commercetools/commercetools-ai-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commercetools-storefront &&
cp -R "$tmp/skills/commercetools-storefront" ~/.agents/skills/commercetools-storefront &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/commercetools-storefront inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/commercetools-storefront to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/commercetools/commercetools-ai-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commercetools-storefront &&
cp -R "$tmp/skills/commercetools-storefront" ~/.cursor/skills/commercetools-storefront &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/commercetools-storefront inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/commercetools/commercetools-ai-plugins.git --path skills/commercetools-storefront

Or copy the folder to ~/.gemini/skills/commercetools-storefront yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/commercetools-storefront:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/commercetools/commercetools-ai-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commercetools-storefront &&
cp -R "$tmp/skills/commercetools-storefront" ~/.copilot/skills/commercetools-storefront &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/commercetools-storefront inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/commercetools/commercetools-ai-plugins.git

Then copy commercetools-ai-plugins/skills/commercetools-storefront into your agent's skills folder as commercetools-storefront. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Backend-for-frontend boundary
Rules for keeping commercetools calls and credentials on the server, away from the browser bundle.
Server-managed sessions
Guidance on storing session state on the server and exposing only opaque references to the client.
Cart and checkout flows
Patterns for cart CRUD, anonymous carts, checkout steps and order placement.
Product listing and search
Category pages, product search with facets, and URL-driven filter state.
B2B quotes and approvals
Quote negotiation, approval rules and as-associate scoped buyer actions for business units.
Schema lookup scripts
Scripts that fetch GraphQL and OpenAPI definitions for specific commercetools resources.

Good for

  • Build a product detail page with variant selectors on commercetools
  • Add customer registration and login with anonymous cart merge
  • Set up a category listing page with search facets
  • Implement a B2B quote request and approval flow
  • Add store-scoped pricing for a B2B buyer account
  • Check the GraphQL fields for a commercetools Cart before writing a query

Commercetools storefront FAQ

Does Commercetools storefront require a server-side tier?

Yes. The patterns assume the storefront runs on a stack with a server tier, such as SSR or a standalone BFF, that can hold secrets and proxy commercetools calls.

Which frontend frameworks are covered?

The core patterns are framework-neutral. Stack adapters are provided for Next.js 16 and Nuxt 4, and each one maps the concepts to that framework's primitives.

Does Commercetools storefront cover both B2C and B2B storefronts?

Yes. It has separate reference sets for B2C features such as bundles, BOPIS and promotions, and B2B features such as quotes, approval workflows, permissions and purchase lists.

Does the skill change any code by itself?

No. It supplies patterns, reference files and schema lookup scripts that guide the agent while it implements a storefront.

How do I install Commercetools storefront in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/commercetools-storefront to use it in all your projects, or to .claude/skills/commercetools-storefront in one project. Or install the commercetools plugin, which includes it: /plugin marketplace add commercetools/commercetools-ai-plugins, then /plugin install commercetools@commercetools.

Does Commercetools storefront run scripts?

Yes. It runs JavaScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Commercetools storefront?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Commercetools storefront?

The closest alternatives to Commercetools storefront are Commercetools commerce patterns, Commercetools platform, Commercetools checkout, Commercetools integration layer and Commercetools scaffold anthropic agent.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from commercetools/commercetools-ai-plugins

  1. Exports commercetools products into vendor feed files for AI Hub shopping and ads

    • Open source
    • 6 GitHub stars
    • E-commerce
  2. Guides a catalog migration into commercetools through a canonical NDJSON feed and offline

    • Open source
    • 6 GitHub stars
    • E-commerce
  3. Guides integration of commercetools Checkout for payments, hosted checkout and PSP setup

    • Open source
    • 6 GitHub stars
    • E-commerce
  4. Guides agents through commercetools pricing, discount, shipping, tax, payment and catalog

    • Open source
    • 6 GitHub stars
    • E-commerce
  5. Guides building, testing, deploying and certifying commercetools Connect connectors

    • Open source
    • 6 GitHub stars
    • Developer tools