AI
This guide provides an overview of AI tools and how to use them to enhance your WooCommerce development workflows.
MCP
WooCommerce registers product and order abilities that compatible AI clients can use through the WordPress MCP Adapter. This integration is a developer preview. See the MCP documentation for setup and permissions.
AI documentation tools
Curated documentation index
The curated llms.txt index links directly to Markdown versions of starting points and key references for WooCommerce development. Choose the guides relevant to your task, then open the individual pages for full instructions.
The index does not include the contents of the WooCommerce Code Reference.
Serve as Markdown
To read an individual documentation page as Markdown, append .md to its URL. For example, this page is available at:
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.
Agent Skills for Extending
If you are building on top of WordPress and WooCommerce, the WordPress/agent-skills and woocommerce/agent-skills repositories provide reusable guidance for AI coding assistants.
The WordPress skills cover foundational WordPress development patterns, while the WooCommerce skills build on those foundations with guidance for WooCommerce extension development. Review both repositories for installation instructions.
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.