Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Build with AI

Use docs in AI tools

Use this page to connect an AI editor or coding agent to current Adobe Commerce Storefront documentation. With this context, the tool can answer questions about storefront APIs, drop-in versions, and Edge Delivery Services without relying only on general model training.

Use docs context when you want your AI tool to generate answers based on the storefront documentation you are reading. It helps you:

  • Get answers that reflect current storefront documentation instead of older model training.
  • Point different AI tools at one shared documentation source.
  • Scope a chat to a full export or a single topic export.

Context files are plain-text exports of this documentation, regenerated each time the site publishes so AI tools always have the latest content.

  • Start with llms.txt, the index that links to every export file.
  • Full exports contain the entire documentation site in one file.
  • Topic exports under _llms-txt/ each cover one subject area. Use them when a tool should not load the entire site.
FilePurpose
llms.txtIndex with an overview and links to every export file.
llms-full.txtComplete documentation in one file.
llms-small.txtSame as the full export but without the release changelog, which is very long. Use this when a tool has a context size limit.
_llms-txt/*.txtTopic exports, such as drop-ins reference, tutorials, and blocks. llms.txt lists every topic export URL.

Some of these files are large. Loading a whole file sends a lot of text into the model at once. When possible, paste a specific page URL from this site into your AI tool so it fetches the live page directly. Live pages include the latest edits, navigation, and diagrams that export files may not have yet. Use export files as a fallback when your tool cannot fetch a URL.

  • Use an AI editor or coding agent that supports project context files, documentation web addresses, or pasted context, such as Cursor, Claude Code, or GitHub Copilot Chat.
  • Open a storefront project in that editor. You might have started from the Adobe Commerce boilerplate or added Commerce blocks and drop-ins to your own site.
  • For agent-based tools, use AGENTS.md, CLAUDE.md, or an equivalent context file at the project root where you can add the llms.txt web address.

For agent-based tools, add the llms.txt URL to a project context file, such as AGENTS.md or CLAUDE.md. The agent can then fetch the index when storefront documentation is relevant. For other tools, paste a bundle web address or file content directly.

Create or update AGENTS.md at your project root and add a section that points to the documentation index:

## Adobe Commerce Storefront Documentation
See https://experienceleague.adobe.com/developer/commerce/storefront/llms.txt for Adobe Commerce Storefront documentation.

Cursor agent mode reads AGENTS.md and fetches the index when needed. You can also add this reference to a file under .cursor/rules/ if you prefer a Cursor-specific location.

After you add the documentation context, test the connection with a concrete question in chat. You can paste or rewrite the sample below.

Use the Storefront docs. I'm building a product detail page and I want to add a custom 'Add to Wishlist' button in the product details drop-in, below the existing Add to Cart button. How do I use slots to do this?

A successful setup produces replies that cite storefront topics, drop-in APIs, or paths that match this documentation. Adapt drop-in names or UI labels if your project differs. Then verify the reply against the live pages.

  • Many paths, blocks, and drop-in examples in this documentation follow the folder layout of the Adobe Commerce boilerplate on GitHub. Keep your storefront project open so suggested paths match your workspace. If your repository layout differs, tell the agent in chat. For example, say when you have merged boilerplate code into an existing site so the agent does not assume default boilerplate folders.
  • To scope one reply to a single page, paste the page web address into the same chat. Your persistent context file connection stays in place, and the pasted web address narrows only that exchange.