Skip to content
Skill

Commercetools commerce patterns

Guides agents through commercetools pricing, discount, shipping, tax, payment and catalog

Commercetools commerce patterns 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 commerce patterns

This skill gives an agent a reference library for commerce-domain questions that do not depend on a specific front end. It covers customer group and channel-based pricing, high-precision money, discount stacking and sort order, discount groups, shipping predicates and cart score tiers, tax modes, payment object modeling, Import API batching, catalog and ProductType design, and B2B flows such as business units, quotes and approval rules.

Before answering, the agent is directed to run a bundled Node script that searches commercetools documentation, and it can also fetch GraphQL or OpenAPI schema fragments for a given resource. The answers are then grounded in a set of topic reference files and a list of priority rules, such as never marking a payment transaction successful before PSP confirmation and always using the as-associate API chain for B2B writes.

The skill expects a commercetools project context for the documentation search when available, and it uses JavaScript scripts that run through Node.

When your agent uses it

Surface-independent commerce domain logic — pricing models (customer groups, channel fallback, high-precision money), discount stacking (Product/Cart/Code/Direct/Groups), shipping predicates and cart score, tax modes, payment object modeling, Import API bulk patterns, and catalog architecture. Use for commerce-domain questions that are independent of surface (storefront, MC app, Connect).

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 31 files (299 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-commerce-patterns:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Pricing and customer groups
Covers customer group price selection, channel price fallback, time-limited prices and high-precision money settings.
Discount stacking rules
Explains the order of product, cart, code and direct discounts, sort order behavior and discount groups.
Shipping and cart score
Describes shipping predicates, cart score tiers and price functions for dynamic shipping rates.
Tax and payment modeling
Summarizes tax modes and how payment objects, transactions and PSP interface IDs should be modeled.
Catalog and Import API
Provides guidance on ProductType design, bundles, item substitutes, inventory and bulk import limits.
B2B order flows
Covers business units, as-associate API calls, quote lifecycle and recurring order behavior.

Good for

  • Design a customer group pricing setup for wholesale buyers
  • Work out how multiple cart discounts will stack and which one fires first
  • Model a payment flow that records PSP authorizations and refunds
  • Choose a tax mode for an external tax service integration
  • Set up tiered shipping rates driven by a cart score

Commercetools commerce patterns FAQ

What does Commercetools commerce patterns need to run?

The skill runs bundled Node.js scripts for documentation search and schema lookup. A commercetools project key and region are optional and only passed when already known.

Does Commercetools commerce patterns work with every AI client?

It is a plain SKILL.md folder that follows the shared agent skills format, so it applies across the supported clients listed on the platform.

When does the skill trigger?

It triggers for commerce-domain questions about pricing, discounts, shipping, tax, payments, catalog, B2B or recurring orders that are independent of a storefront, Merchant Center app or Connect surface.

How do I install Commercetools commerce patterns in Claude Code?

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

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 commerce patterns?

The closest alternatives to Commercetools commerce patterns are Commercetools storefront, Commercetools checkout, Commercetools integration layer, Commercetools catalog migration 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 building, testing, deploying and certifying commercetools Connect connectors

    • Open source
    • 6 GitHub stars
    • Developer tools