# Commercetools catalog migration

> Commercetools catalog migration is an open-source agent skill for e-commerce. Guides a catalog migration into commercetools through a canonical NDJSON feed and offline. 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-catalog-migration
- **Repository:** https://github.com/commercetools/commercetools-ai-plugins
- **GitHub stars:** 6
- **License:** CC-BY-4.0
- **Skill name:** commercetools-catalog-migration
- **Collection:** https://github.com/commercetools/commercetools-ai-plugins
- **Categories:** [e-commerce](https://ai-powered.com/categories/e-commerce)
- **Listing updated:** 2026-12-04

## About

This skill walks the agent through moving a product catalog from an existing source system into a commercetools project. Its central idea is a data contract: source-specific logic lives in a small disposable adapter that emits a canonical NDJSON feed, while a reusable pipeline handles everything downstream. The agent is directed to treat the migration as a set of recorded decisions rather than a bulk load, keeping a decision log and a reviewable model before any write happens.

The workflow runs in ordered stages. The agent first interviews the user in a file covering catalog model, tax mode, pricing and non-catalog entities, then writes the migration config, builds an adapter against a real export, and runs offline validate, derive, plan and audit stages that need no credentials. Later stages cover a read-only preflight check of the target project, a dry-run-first load, and a verify step that reads the project back to reconcile against the plan.

The skill expects a source export the user supplies, Node.js for the pipeline and its scripts, and commercetools API client credentials for the online stages. Irreversible choices such as attribute constraints and ProductType derivation are flagged for explicit user sign-off. Customers and orders are only handled with written approval, and ongoing sync, carts and promotions are out of scope.

## When your agent uses it

> Migrates a product catalog from any source system into commercetools through a canonical NDJSON feed contract — the pipeline never parses the source, so each engagement writes only a small adapter. Covers the feed contract, writing an adapter, ProductType derivation and its irreversible attribute constraints, decimal-to-minor-unit money conversion, project-wide slug allocation, category tree order, opening stock per SKU and supply channel, tax categories, and the offline audit gate. Use when migrating or bulk-loading a product catalog into commercetools, writing an adapter for a source export, deciding SameForAll versus CombinationUnique, converting prices to centAmount, or diagnosing rejected Import API operations. Customer accounts and order history only on the user's sign-off. Not the Classic-to-Modular migration of an existing project (the staged Modular Catalog migration guide), and not for ongoing sync after cutover, carts, or promotions.

## 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-catalog-migration)
- [Network calls found in its scripts](https://github.com/commercetools/commercetools-ai-plugins/tree/HEAD/skills/commercetools-catalog-migration)
- [License: CC-BY-4.0](https://github.com/commercetools/commercetools-ai-plugins/tree/HEAD/skills/commercetools-catalog-migration)

## Features

- **Feed contract:** Defines a canonical NDJSON catalog feed that decouples any source system from the commercetools import pipeline.
- **Adapter guidance:** Explains how to write a disposable adapter that translates a real source export into the feed contract.
- **Offline audit stages:** Runs validate, derive, plan and audit without credentials so defects are caught before anything reaches the project.
- **Money and slug handling:** Covers decimal-to-minor-unit price conversion and project-wide slug uniqueness for categories and products.
- **Preflight and verification:** Checks the target project before loading and reads resources back afterwards to reconcile against the plan.
- **Decision logging:** Keeps an append-only record of irreversible modelling choices, accepted findings and every write to the project.

## Good for

- Migrate a product catalog from a PIM export into a commercetools project
- Write an adapter that converts a Magento or Shopify product export into a catalog feed
- Decide between SameForAll and CombinationUnique for a variant attribute
- Convert decimal prices to minor-unit centAmount values for several currencies
- Diagnose Import API operations that were accepted but rejected afterwards

## 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-catalog-migration`:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/commercetools-catalog-migration` 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-catalog-migration &&
cp -R "$tmp/skills/commercetools-catalog-migration" ~/.agents/skills/commercetools-catalog-migration &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/commercetools-catalog-migration` 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-catalog-migration &&
cp -R "$tmp/skills/commercetools-catalog-migration" ~/.cursor/skills/commercetools-catalog-migration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/commercetools-catalog-migration` 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-catalog-migration
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/commercetools-catalog-migration` 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-catalog-migration` into your agent's skills folder as `commercetools-catalog-migration`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Commercetools catalog migration load data into my commercetools project on its own?

No. Each write step requires an explicit user yes after a dry run shows what will be sent, and preflight changes need their own approval.

### Which parts of a catalog are covered?

ProductTypes, Categories, Products, Variants and prices, plus opening stock and tax categories. Customers and orders need a written yes, and carts, promotions and ongoing sync are out of scope.

### Is Commercetools catalog migration a migration from Classic to Modular catalog models?

No. The skill explicitly excludes the Classic-to-Modular migration of an existing project, which is covered by a separate staged guide.

### Does the pipeline need credentials to start?

The validate, derive, plan and audit stages run offline without credentials. Preflight, load and verify need commercetools API access.

### How do I install Commercetools catalog migration in Claude Code?

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

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 catalog migration?

The closest alternatives to Commercetools catalog migration are Commercetools aihub, Commercetools storefront, Commercetools integration layer, Commercetools commerce patterns and Commercetools scaffold anthropic agent.

## Where this comes from

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

## Alternatives

- [Commercetools aihub](https://ai-powered.com/skills/commercetools-aihub): Commercetools aihub is an open-source agent skill for e-commerce.
- [Commercetools storefront](https://ai-powered.com/skills/commercetools-storefront): Commercetools storefront is an open-source agent skill for e-commerce.
- [Commercetools integration layer](https://ai-powered.com/skills/commercetools-integration-layer): Commercetools integration layer is an open-source agent skill for e-commerce.
- [Commercetools commerce patterns](https://ai-powered.com/skills/commercetools-commerce-patterns): Commercetools commerce patterns is an open-source agent skill for e-commerce.
- [Commercetools scaffold anthropic agent](https://ai-powered.com/skills/commercetools-scaffold-anthropic-agent): Commercetools scaffold anthropic agent is an open-source agent skill for e-commerce.
- [Commercetools checkout](https://ai-powered.com/skills/commercetools-checkout): Commercetools checkout is an open-source agent skill for e-commerce.
- [Commercetools custom application](https://ai-powered.com/skills/commercetools-custom-application): Commercetools custom application is an open-source agent skill for e-commerce.
- [Commercetools intake](https://ai-powered.com/skills/commercetools-intake): Commercetools intake is an open-source agent skill for e-commerce.

---
Source: https://ai-powered.com/skills/commercetools-catalog-migration
