commercetools-platform

Connect to the commercetools API using TypeScript SDK patterns.

5|Updated May 27, 2026
One-click install
npx skills add https://github.com/commercetools/commercetools-ai-plugins --skill commercetools-platform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commercetools-platform
Source: https://github.com/commercetools/commercetools-ai-plugins/tree/main/.agents/plugins/commercetools/skills/commercetools-platform
Command: npx skills add https://github.com/commercetools/commercetools-ai-plugins --skill commercetools-platform

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the risk of hallucinated API patterns and stale documentation by providing verified, project-agnostic TypeScript SDK patterns and real-time schema lookups for commercetools development.

Core Features & Use Cases

  • Verified SDK Patterns: Implements robust, singleton-based ClientBuilder authentication and TypeScript SDK patterns that prevent token exhaustion and memory leaks.
  • Real-time Schema Inspection: Provides on-demand access to current GraphQL SDLs and OpenAPI specifications for any commercetools resource.
  • Use Case: Use this Skill when initializing a new commercetools project or when you need to verify the exact structure of a Product or Cart resource before writing your API integration code.

Quick Start

Use the commercetools-platform skill to search for the latest documentation on setting up the TypeScript SDK for a new project.

Frequently Asked Questions about commercetools-platform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the commercetools TypeScript SDK for a new project?

To set up the commercetools TypeScript SDK, use verified singleton-based ClientBuilder authentication patterns to establish your client, which prevents token exhaustion and memory leaks during API integration.

Why does my commercetools API client suffer from token exhaustion or memory leaks?

Token exhaustion and memory leaks in commercetools API clients typically occur when singleton-based ClientBuilder patterns are not used, leading to repeated client instantiation instead of proper authenticated client management.

How do I find the exact OpenAPI specification or GraphQL SDL for commercetools resources?

You can inspect current GraphQL SDLs and OpenAPI specifications for any commercetools resource on-demand using schema validation tools, ensuring your API integration code matches the exact structure of Product or Cart resources.

Can I use the same commercetools TypeScript SDK patterns for storefronts and serverless integrations?

Yes, the verified commercetools TypeScript SDK patterns apply to all project types including storefronts, Connect applications, and serverless integrations, providing project-agnostic authenticated API client management.

How do I prevent hallucinated API patterns when developing commercetools integrations?

Prevent hallucinated API patterns in commercetools development by using verified TypeScript SDK patterns and real-time schema lookups grounded in up-to-date documentation, eliminating the risk of stale API references.

What is the best way to verify a commercetools Cart or Product resource structure before writing API code?

The best way to verify commercetools Cart or Product resource structures is by performing real-time schema inspection of current GraphQL SDLs and OpenAPI specifications before writing your API integration code.