# Commercetools platform

> Commercetools platform is an open-source agent skill for ecommerce. Gives agents commercetools API and TypeScript SDK patterns for auth, data model. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/commercetools/commercetools-ai-plugins/tree/main/skills/commercetools-platform
- **Repository:** https://github.com/commercetools/commercetools-ai-plugins
- **GitHub stars:** 6
- **License:** CC-BY-4.0
- **Skill name:** commercetools-platform
- **Collection:** https://github.com/commercetools/commercetools-ai-plugins
- **Categories:** [ecommerce](https://ai-powered.com/categories/ecommerce)
- **Listing updated:** 2026-12-04

## About

This skill is a foundational reference for building against the commercetools commerce platform in TypeScript. It covers installing the platform SDK and client, building an authenticated client with the Client Credentials flow, and the core project data model covering products, customers, orders, types, channels and stores. It also explains when to use GraphQL versus REST, how query predicates and optimistic concurrency work, and how rate limits and observability fit in.

The workflow asks the agent to run a bundled Node script that searches commercetools documentation before answering, and then to cross-check against local reference files for SDK setup and Product Search API usage. Two further optional scripts fetch the GraphQL schema or OpenAPI specification for a single resource so generated queries and requests can be verified against the real API.

Using it requires a commercetools project with API client credentials and Node.js to run the bundled scripts. The skill is written as a base layer that other commercetools skills reference, and it applies whatever surface is being built, such as a storefront, serverless function or CLI script.

## When your agent uses it

> Core commercetools API and SDK patterns — TypeScript SDK setup, ClientBuilder authentication, project data model (products, customers, orders, types, channels, stores), GraphQL vs REST patterns, query predicates, optimistic concurrency, rate limits, and platform observability. Foundational layer that storefront, MC app, Connect, and integration skills all reference. Use for any commercetools project regardless of surface.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/commercetools/commercetools-ai-plugins/tree/HEAD/skills/commercetools-platform)
- [Network calls found in its scripts](https://github.com/commercetools/commercetools-ai-plugins/tree/HEAD/skills/commercetools-platform)
- [License: CC-BY-4.0](https://github.com/commercetools/commercetools-ai-plugins/tree/HEAD/skills/commercetools-platform)

## Features

- **SDK client setup:** Covers installing the TypeScript SDK packages and building a singleton client with Client Credentials authentication.
- **Data model guidance:** Explains the project resources such as products, customers, orders, types, channels and stores.
- **GraphQL and REST patterns:** Describes when to choose GraphQL or REST and how to structure requests for each.
- **Query and concurrency rules:** Covers query predicates, optimistic concurrency with versions, and API rate limits.
- **Schema lookup scripts:** Bundled scripts fetch GraphQL SDL or OpenAPI specs for a single resource to verify generated code.
- **Product Search reference:** Points to a reference on full-text search, filters, sorting, facets and channel filtering.

## Good for

- Set up a new commercetools project client in TypeScript
- Authenticate a serverless function against the commercetools API
- Write a GraphQL query for orders or carts and check it against the schema
- Build a product search with filters, sorting and facets
- Handle version conflicts when updating commercetools resources

## Install

### Claude Code

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

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

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

```sh
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-platform &&
cp -R "$tmp/skills/commercetools-platform" ~/.claude/skills/commercetools-platform &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
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-platform &&
cp -R "$tmp/skills/commercetools-platform" ~/.agents/skills/commercetools-platform &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
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-platform &&
cp -R "$tmp/skills/commercetools-platform" ~/.cursor/skills/commercetools-platform &&
rm -rf "$tmp"
```

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

### Gemini CLI

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

```sh
gemini skills install https://github.com/commercetools/commercetools-ai-plugins.git --path skills/commercetools-platform
```

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

### VS Code

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

```sh
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-platform &&
cp -R "$tmp/skills/commercetools-platform" ~/.copilot/skills/commercetools-platform &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

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

## FAQ

### What does Commercetools platform need to run?

It runs bundled Node scripts for documentation search and schema lookup, and it expects a commercetools project with API client credentials for SDK setup.

### When does Commercetools platform trigger?

It is meant for any commercetools project, and its when-to-use list includes setting up a TypeScript SDK client, connecting from a storefront or serverless function, and implementing Product Search.

### Which languages and tools does Commercetools platform cover?

It targets TypeScript using the commercetools platform SDK and client packages, and its scripts are written in JavaScript.

### How do I install Commercetools platform in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/commercetools-platform to use it in all your projects, or to .claude/skills/commercetools-platform 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 platform 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 platform?

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 platform?

The closest alternatives to Commercetools platform are Commercetools storefront and Commercetools migration orchestrator.

## Where this comes from

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

## Alternatives

- [Commercetools storefront](https://ai-powered.com/skills/commercetools-storefront): Commercetools storefront is an open-source agent skill for e-commerce.
- [Commercetools migration orchestrator](https://ai-powered.com/skills/commercetools-migration-orchestrator): Commercetools migration orchestrator is an open-source agent skill for ecommerce.

---
Source: https://ai-powered.com/skills/commercetools-platform
