AI-Assisted Development
Commerce Engine provides first-class support for AI-assisted development. We publish a comprehensive skills package that gives AI coding agents deep knowledge of our platform — SDK patterns, decision trees, code templates, and common pitfall documentation.Machine-Readable Documentation
llms.txt
Our docs site hosts anllms.txt file that indexes every page. AI agents use this to discover what documentation is available before diving in.
LLM-Optimized API Reference
We maintain a dedicated LLM-optimized site with our complete API reference, SDK methods, schemas, and webhooks in clean markdown:LLM API/SDK Reference
Browse the full LLM-optimized API reference at
llm-docs.commercengine.ioAccept: text/markdown header:
| Section | URL Path | Content |
|---|---|---|
| Index | / | Full documentation overview |
| SDK Methods | /sdk/ | 151 SDK method references with signatures |
| API Operations | /operations/ | All REST endpoint documentation |
| Schemas | /schemas/ | 244 request/response type definitions |
| Webhooks | /webhooks/ | 14 webhook event payload specs |
| Parameters | /parameters/ | Shared API parameter definitions |
| Responses | /responses/ | Shared response type definitions |
Adding Skills to Your Agent
Using the skills CLI (Recommended)
The fastest way to add Commerce Engine capabilities to your AI agent:Claude Code Plugin Marketplace
If you’re using Claude Code, add the Commerce Engine marketplace directly:/plugin, or install the router skill that auto-routes to the right one:
Manual
What Agents Can Do
With the skill installed, your AI coding assistant can:Generate SDK Code
Produce correct, type-safe SDK calls with proper error handling and token
management
Look Up TypeScript Definitions
Fetch exact TypeScript interfaces for any of the 244 schemas or 151 SDK
methods on demand
Build Full Features
Scaffold complete e-commerce flows: auth, catalog, cart, checkout, orders
Debug Issues
Understand error codes, token refresh behavior, and framework-specific
gotchas
Looking Up TypeScript Definitions
The LLM docs site atllm-docs.commercengine.io is the definitive reference for TypeScript types. Every schema and every SDK method includes its full TypeScript definition with JSDoc comments.
Schema Types
To look up the TypeScript definition for any schema (e.g.,Cart, Product, Order):
/schemas/.
SDK Method Signatures
To look up the full TypeScript signature for any SDK method (e.g.,createCart, listProducts):
/sdk/storefront.
Importing Types
All types are auto-generated from the OpenAPI spec and exported as direct named exports from the SDK. Always import types from the package — never write custom interfaces for API schemas.{OperationName}Body— Request body{OperationName}Content— Response data (thecontentfield){OperationName}Query— Query parameters{OperationName}PathParams— Path parameters
Ready-to-Use Prompts
We provide a library of copy-paste prompts for common Commerce Engine tasks. These are designed to give AI assistants the right context to produce production-quality code on the first try.Browse Prompts
Copy-paste prompts for authentication, catalog, cart, checkout, Next.js, and
more