AI
This guide provides an overview of AI tools and how to use them to enhance your WooCommerce development workflows.
MCP
WooCommerce includes native support for the Model Context Protocol (MCP), enabling AI assistants and tools to interact directly with WooCommerce stores through a standardized protocol. Visit our full MCP documentation for more information.
AI Documentation Tools
LLMS.txt Files
To feed the WooCommerce Developer Documentation into your LLM or AI-assisted IDE, you have two options:
llms.txt- A table of contents that includes the title, URL, and description of each document in the developer docs.llms-full.txt- A full Markdown-formatted export of the entire documentation in one file.
If you are using an IDE like Cursor or Windsurf, we recommend adding these links as custom documentation so that you can reference them as needed.
Note that these do not include the contents of the WC REST API documentation or the WooCommerce Code Reference.
Serve as Markdown
If you want to view the documentation as Markdown files, you can use append .md to the end of any documentation URL. For example, to view this page as Markdown, you can visit:
https://developer.woocommerce.com/docs/getting-started/ai.md
Copy to Markdown
On every page of the Developer Docs, you'll see a Clipboard icon in the upper-right-hand corner. Selecting this icon will copy the current doc in Markdown formatting, which you can paste into your LLM's chat interface.
AI Development Tools
Agent Skills for Contributors
The WooCommerce monorepo includes agent skills that provide AI assistants with procedural guidance for common development tasks. These skills are located in the .ai/skills/ directory at the root of the repository.
Each skill contains a SKILL.md file with step-by-step instructions for tasks like:
- Backend PHP development and testing conventions
- Code review standards and best practices
- Git workflows and commit conventions
- Build and linting processes
- UI copy and documentation guidelines
Skills are designed to be tool-agnostic and can be used with various AI coding assistants. To explore available skills, browse the .ai/skills/ directory in the repository.
Cursor Rules files for contributors
The .cursor/rules/ directory contains configuration files that provide AI assistants with specific guidance for working with the WooCommerce codebase. These files help ensure consistent development practices and workflows.