Deprecated: 関数 WP_Dependencies->add_data() がバージョン 6.9.0 から非推奨になった引数付きで呼び出されました。IE の条件付きコメントは、対応しているすべてのブラウザで無視されます。 in /home/artws/woo-japan.info/public_html/wp-includes/functions.php on line 6131

Deprecated: 関数 WP_Dependencies->add_data() がバージョン 6.9.0 から非推奨になった引数付きで呼び出されました。IE の条件付きコメントは、対応しているすべてのブラウザで無視されます。 in /home/artws/woo-japan.info/public_html/wp-includes/functions.php on line 6131
コンテンツへスキップ →

ai

AI

このガイドでは、AIツールの概要と、WooCommerce開発ワークフローを強化するためのAIツールの使用方法について説明します。

MCP

WooCommerceはモデルコンテキストプロトコル(MCP)のネイティブサポートを含んでおり、AIアシスタントやツールが標準化されたプロトコルを介してWooCommerceストアと直接対話することを可能にします。詳しくはMCPドキュメントをご覧ください。

AI Documentation Tools

LLMS.txt Files

WooCommerce Developer DocumentationをLLMまたはAIアシストIDEにフィードするには、2つのオプションがあります:

  1. llms.txt – A table of contents that includes the title, URL, and description of each document in the developer docs.
  2. llms-full.txt – A full Markdown-formatted export of the entire documentation in one file.

CursorやWindsurfのようなIDEを使用している場合は、必要に応じて参照できるように、これらのリンクをカスタム・ドキュメントとして追加することをお勧めします。

Note that these do not include the contents of the WC REST API documentation or the WooCommerce Code Reference.

Copy to Markdown

Developer Docsのどのページにも、右上にクリップボードのアイコンがあります。このアイコンを選択すると、現在のドキュメントがMarkdownフォーマットでコピーされ、LLMのチャットインターフェースに貼り付けることができます。

AI Development Tools

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:

  • generate-pr-description.mdc – Provides guidelines for creating pull request descriptions using the repository's PR template. It ensures proper markdown structure, changelog formatting, and automation compatibility.

  • git.mdc – Defines branching conventions and commit message standards for the WooCommerce repository, including naming patterns for different types of changes (fixes, features, refactors, etc.).

  • woo-build.mdc – Contains instructions for building the WooCommerce plugin, including dependency installation commands and development build processes using pnpm and nvm.

  • woo-phpunit.mdc – Provides guidance for running PHPUnit tests in the WooCommerce codebase, including the specific command structure and directory requirements.

これらのルールファイルは、AIアシスタントがプロジェクトの開発ワークフローを理解し、WooCommerceのコーディング標準とプラクティスとの一貫性を維持するのに役立ちます。