Skip to content
Skill

Commercetools integration layer

Guides building and publishing commercetools Commerce Integration Layer extensions

Commercetools integration layer is an open-source agent skill for e-commerce. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
CC-BY-4.0
Listing updated

Similar skills

About Commercetools integration layer

This skill walks an agent through choosing and building extensions for the commercetools Commerce Integration Layer, a project-scoped GraphQL gateway in front of a commercetools project. It separates two mechanisms: schema extensions that shape what clients read through the Experience API, and Managed API Extensions that approve, modify, or block a write before it is persisted. A decision tree helps place custom logic, including porting logic that previously ran in a pre-request backend, and it steers toward native commercetools features first.

The skill also covers the integration-layer CLI workflow: initializing a workspace, running unit tests, a local gateway, validation, and pushing the bundle to a project. It advises confirming with the user before installing tools or pushing, since a push replaces what the project serves. Testing guidance covers handlers run offline and against real writes for every entry point of a business action.

Users need a commercetools project enrolled in the Commerce Integration Layer, Node tooling with pnpm, and the commercetools CLI. Reference documents on the write path and on verifying and pushing bundles are included.

When your agent uses it

Build and publish extensions for the commercetools Commerce Integration Layer — the project-scoped commercetools BFF. Covers the two extension types (a schema extension, i.e. an extension subgraph of GraphQL typeDefs + resolvers that shapes what clients read through the Experience API; and a Managed API Extension that approves, modifies, or blocks a commercetools write), a decision tree for where custom logic belongs (incl. porting pre-request BFF logic), and the integration-layer CLI flow to init, test, validate, and push an extension bundle. Use when building, publishing, or debugging a Commerce Integration Layer extension, or asking how to add custom logic to a Commerce Integration Layer project — even if the user just says 'integration layer' or 'CIL'. Not for building commercetools Connect connectors (see commercetools-connect), the hosted Checkout (see commercetools-checkout), or storefront clients that consume the Experience API (see commercetools-storefront).

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 3 files (27 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-integration-layer:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Extension type selection
Guides choosing between a schema extension and a Managed API Extension based on when the logic must run.
Schema extension authoring
Covers GraphQL typeDefs and resolvers that add fields or queries to the Experience API.
Managed API Extension handlers
Explains approving, modifying, or blocking commercetools writes before they are persisted.
Integration-layer CLI workflow
Lists the commands to init, test, run locally, validate, and push an extension bundle.
Pre-request logic porting
Helps move logic from a hand-built backend into the integration layer.
Pre-push verification
Describes testing the merged bundle in layers before publishing.

Good for

  • Add a computed field to products returned through the Experience API
  • Block a cart update that breaks a business rule before it is saved
  • Port custom logic from an older backend into a Commerce Integration Layer project
  • Set up and test a new integration-layer extension bundle before pushing it

Commercetools integration layer FAQ

Does Commercetools integration layer work with commercetools Connect or Checkout?

No. The skill states it does not cover commercetools Connect connectors, the hosted Checkout, or storefront clients that consume the Experience API; those have their own skills.

What must be in place before pushing an extension?

The project must be enrolled and activated for the Commerce Integration Layer, and the CLI and its integration-layer plugin must be installed and the user logged in.

Does the skill run commands on my machine automatically?

No. It asks for explicit approval before installing the CLI or pushing, and names the target project first.

How do I install Commercetools integration layer in Claude Code?

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

No. It is instructions only, with no scripts. 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 integration layer?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Commercetools integration layer?

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

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