mcpField
W
woocommerce-health-check

woocommerce-health-check

github.com/respira-pressテスト・品質4984 回インストール1 週間前に更新
リポジトリ

woocommerce-health-check について

WooCommerce ストアの注文に影響する可能性がある、チェックアウト、カート、設定の問題を調べる診断スキルです。設定チェックと注文・売上・在庫データを組み合わせ、安全な手順に沿った修正案を提示します。

主な機能

  1. 01チェックアウトとカート設定の確認
  2. 02注文・売上・在庫の分析
  3. 03ページ・キャッシュ・SSL の問題検出
  4. 04モバイル決済と決済プラグインの確認
  5. 05安全な修正案の提示
  6. 06修正前のスナップショットと再検証

活用シーン

  1. 01決済失敗や注文ステータスの異常を調査
  2. 02カートページやチェックアウトブロックの欠落を発見
  3. 03キャッシュ・SSL・URL 設定のリスクを確認
  4. 04在庫エラーや売上変化を評価

MCP 対応

Respira for WordPress MCP サーバーと WooCommerce が必要です。MCP 経由でサイト、ページ、プラグイン、WooCommerce のデータを読み取り、承認済みの修正はスナップショットと検証の手順に従います。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/respira-press/agent-skills-wordpress --skill woocommerce-health-check

インストール後、Claude Code で/woocommerce-health-checkを入力して読み込まれたか確認します。

詳細

WooCommerce ヘルスチェック

バージョン: 1.2.1 更新日: 2026-06-30 最新の更新: v1.2.0 では、woocommerce_* 読み取りツール(woocommerce_list_orders、woocommerce_revenue_summary、woocommerce_get_stock_status)を使った注文・売上・在庫の実際の診断を追加し、検出されたすべての問題に具体的で安全な修正案を提示します。また、respira_find_element を使って実際のカート/チェックアウトのウィジェットやブロックを特定・検証し、修正の前に respira_get_snapshot でスナップショットを取得します。さらに、respira_generate_activity_report を「X 件の注文損失を防止/売上を保護」と表現したレポートとして提示します。 カテゴリー: 監査 ステータス: 有効 必要条件: WordPress 用 Respira プラグイン + MCP サーバー + WooCommerce(requires_addon: woocommerce) テレメトリーエンドポイント: https://www.respira.press/api/skills/track-usage


説明

売上をひそかに失わせているチェックアウトの問題、カートの問題、設定エラーを検出します。

WooCommerce ヘルスチェックは、チェックアウトの流れを妨げ、売上を失わせる一般的な設定の問題をストアでスキャンします。モバイルでのチェックアウトの問題、決済ゲートウェイの設定問題、AJAX URL の不一致、カート/チェックアウトページのキャッシュ設定エラー、SSL の問題を検出します。このスキルは、カート放棄の原因となっている具体的な問題を特定し、本番環境に反映する前に複製ページで修正を安全にテストする Respira ワークフローを提供します。


トリガーフレーズ

次のいずれかをユーザーが発言すると、このスキルが起動します。

  • 「WooCommerce ストアを監査して」
  • 「WooCommerce の状態を確認して」
  • 「チェックアウトの問題を見つけて」
  • 「WooCommerce を診断して」
  • 「チェックアウトが壊れているのはなぜ?」
  • 「WooCommerce の設定をスキャンして」
  • 「WooCommerce のヘルスチェックをして」
  • 「WooCommerce のチェックアウトが機能しない」
  • 「WooCommerce のカートに問題がある」
  • 「WooCommerce のチェックアウトに問題がある」
  • 「WooCommerce で売上を失っている」
  • 「WooCommerce の設定を監査して」

次の場合は起動しないでください: WooCommerce に関係しない一般的な WordPress 監査、プラグインのインストール依頼、テーマのカスタマイズ、WooCommerce 以外の e コマースに関する質問。


実行ワークフロー

ステップ 1:Respira と WooCommerce の確認

まず、respira_get_site_context を呼び出して、WordPress 用 Respira がインストールされ、MCP サーバーに接続されていることを確認します。

Respira がインストールされていない場合は、次を出力して停止します:

## ⛔ Respira for WordPress Required

This skill requires the **Respira for WordPress** plugin to analyze your store safely.

### Install in 3 steps:
1. Go to **https://www.respira.press** and download the plugin
2. Install and activate on your WordPress site
3. Connect via the MCP server: `npx -y @respira/wordpress-mcp-server --setup`

### Why Respira?
- Read-only analysis — no changes to your live store
- Duplicate-first fix testing so no checkout breaks go live
- Full audit trail for every action

Once installed, come back and try again: *"check woocommerce health"*

プラグイン一覧に WooCommerce が見つからない場合は、次を出力して停止します:

## ⚠️ WooCommerce Not Detected

This skill is specifically for WooCommerce stores.

WooCommerce does not appear to be installed or active on your site.

**If you do have WooCommerce installed:**
- Make sure the plugin is activated (not just installed)
- Verify Respira can see your plugin list in Respira → Settings

**If you're looking for a general WordPress audit:**
Try: *"analyze my wordpress site"* (WordPress Site DNA skill)

ステップ 2:サイトとストアのコンテキスト
Tool: respira_get_site_context
Returns: WordPress version, PHP version, site URL, WordPress address,
         installed plugins, active theme, debug mode

記録する値:respira_site_url、started_at = new Date().toISOString()

重要な確認 — URL の不一致を検出する: サイトコンテキストから siteurl(サイトアドレス)と home(WordPress アドレス)を比較します。不一致があると、チェックアウトで AJAX が失敗します。


ステップ 3:WooCommerce 固有の問題に関するプラグイン監査
Tool: respira_list_plugins
Returns: All plugins with name, slug, version, active status

次を確認します:

  • WooCommerce のバージョン(最新バージョンから大幅に遅れている場合は警告)
  • 決済ゲートウェイのプラグインとその有効状態
  • キャッシュプラグイン(W3TC、WP Super Cache、WP Rocket、LiteSpeed)—これらにはカート/チェックアウトの除外設定が必要です
  • AJAX リクエストに干渉する可能性のあるセキュリティプラグイン
  • 競合するチェックアウトプラグイン

ステップ 4:ストアの稼働状況を診断する(注文、売上、在庫)

設定の確認で分かるのは、何が問題を起こす可能性があるかです。ストアの稼働データからは、何が実際に問題を起こしているかが分かります。WooCommerce の読み取りツールで実際の数値を取得します。

Tool: woocommerce_list_orders
Returns: Recent orders with status, total, date

直近の期間における注文ステータスの割合を確認します。

  • failed/pending の注文が急増し、processing/completed が非常に少ない場合は、チェックアウトが機能していない強い兆候です(最後の手順で決済または AJAX が失敗しています)。
  • pending の後に cancelled が多い場合は、決済前にセッションまたはカートの情報が失われている可能性があります。
Tool: woocommerce_revenue_summary
Args: date_start, date_end (store timezone; default the last 30 days)
Returns: Gross, discounts, refunds, tax, shipping and net revenue over the period, with the statuses counted and how many orders it covered

売上概要を使って影響の規模を把握します。直近の期間とその前の期間について実行し、両者の間に急激な減少があれば、設定の問題によってどれだけの売上が危険にさらされているかを数値化できます。これは最終レポートで「保護された売上」として示す際の根拠になります。

Tool: woocommerce_get_stock_status
Returns: Stock state for products

気付かないうちに売上を失う在庫の問題に注意します。

  • 在庫があるはずの商品が「在庫切れ」のままになっている(実際の品切れではなく、修正可能なデータエラーです)。
  • 人気商品が在庫僅少で、バックオーダーが許可されていない。

実際の在庫データエラーを安全に修正する方法: ストアオーナーに実際の在庫数を確認してから、woocommerce_update_stock で修正します。先にスナップショットを作成し(修正を行う際は必ずステップ 0 を実施)、明示的な確認なしに在庫を一括変更しないでください。


ステップ 5:チェックアウトページとカートページを分析する
Tool: respira_list_pages
Params: { status: "publish" }
Returns: All published pages

WooCommerce のコアページを特定します。

  • カートページ([woocommerce_cart] ショートコードまたは is_cart ブロックを含むページ)
  • チェックアウトページ([woocommerce_checkout] ショートコードまたは is_checkout ブロックを含むページ)
  • マイアカウントページ
  • サンクスページ/注文受付ページ

各コアページについて、以下を確認します。

  • ページが存在し、公開されている
  • WooCommerce → 設定 → ページでページが割り当てられている
  • ページのコンテンツに、想定される WooCommerce 要素が含まれている

カートページとチェックアウトページで respira_find_element を使い、実際のカート/チェックアウトウィジェットがあることを確認します。設定でページが「割り当て済み」でも、ページビルダーの編集時に [woocommerce_checkout] ショートコード/チェックアウトブロックが削除されている場合があります。respira_find_element を使えば、コンテンツ内に実際のチェックアウトウィジェット/ブロックがあることを確認できます。これは、チェックアウトページが読み込まれるのに注文を受け付けられない場合に最もよくある原因です。

ウィジェットがない場合の安全な修正方法: ページを複製し、複製したページに正しい WooCommerce のチェックアウト/カートブロックを再挿入して、正しく表示されることを確認してから差し替えます。公開中のチェックアウトページを直接編集しないでください。

Tool: respira_analyze_performance
Params: { pageId: <checkoutPageId> }
Returns: Load time, caching status, scripts loading

カート/チェックアウトのキャッシュに注意します。キャッシュプラグインが有効で、チェックアウトページに除外設定がない場合、セッション処理が機能しなくなる可能性があります。

安全な修正方法: キャッシュプラグインのページ除外リストに cart、checkout、my-account を追加します(URL パターンの推測に頼らず、上記で特定した実際のスラッグを使います)。


ステップ 6:SSL を確認する
Tool: respira_get_site_context
Returns: Site URL (check for https://)

SSL の確認:

  • サイト URL が https:// で始まる → ✅
  • サイト URL が http:// で始まる → 🔴 重大(決済ゲートウェイには SSL が必要です)
  • WordPress アドレスとサイトアドレスがどちらも https だが、サブドメインが異なる → ⚠️ URL の不一致リスク

ステップ 7:モバイルでのチェックアウト操作性を分析する
Tool: respira_analyze_performance
Params: { pageId: <checkoutPageId> }
Returns: Performance data, script loading, CSS details
Tool: respira_get_builder_info
Returns: Active builder name and responsive configuration

ページビルダーの種類に応じて、よくあるモバイルでのチェックアウトの問題に注意します。

  • Elementor:チェックアウトのカラムがモバイルで縦に並ぶ設定になっているか確認します
  • Divi:モバイル表示で固定幅が使われていないか確認します
  • Gutenberg/ブロック:ブロックの間隔とボタンのサイズを確認します
  • クラシックテーマ:レスポンシブ CSS が有効か確認します

報告対象となるモバイルでのチェックアウト失敗パターン:

  • チェックアウトフォームのカラムが縦に並ばない(ページビルダーでよくあります)
  • 小さな画面で「注文する」ボタンの一部が画面外にはみ出す
  • フォーム入力欄が小さすぎてタップしにくい(高さが 44px 未満)
  • 決済ゲートウェイの iframe がモバイル画面に合わせてサイズ変更されない

ステップ 8:決済ゲートウェイの状態

respira_list_plugins から、決済ゲートウェイのプラグインを特定します。

  • Stripe(WooCommerce Stripe Payment Gateway)
  • PayPal(WooCommerce PayPal Payments、PayPal Checkout)
  • Square、Authorize.net、Braintree など
  • 手動決済/代金引換(COD)/銀行振込(WooCommerce 標準機能)

検出された各ゲートウェイについて、以下を確認します。

  • プラグインは有効ですか?
  • SSL は導入されていますか(ほとんどのゲートウェイで必須)?
  • 注:MCP では API キーの有効性を確認できません。「手動での確認が必要」としてフラグを付けてください。

ステップ 9:チェックアウトのパフォーマンス問題
Tool: respira_analyze_performance
Params: { pageId: <checkoutPageId> }
Returns: Load time, script list, CSS list, caching status

以下にフラグを付けます。

  • チェックアウトの読み込み時間が 2 秒を超える
  • チェックアウトに関係のないスクリプト(ソーシャル共有、店舗検索機能がない地図など)が読み込まれている
  • 重要度の低い JavaScript に defer/async が設定されていない
  • チェックアウトに関係のない大容量の CSS ファイル

ステップ 10:ヘルススコアの算出

ストアのヘルススコア(0~100)を算出します。

Checkout Configuration (30 points):
  - Checkout page exists and configured: 10 pts
  - No URL mismatch: 10 pts
  - SSL active: 10 pts

Cart and Session (20 points):
  - Cart page configured correctly: 10 pts
  - Caching exclusions in place: 10 pts

Payment Gateways (20 points):
  - At least one active gateway: 15 pts
  - SSL present for card gateways: 5 pts

Mobile Experience (15 points):
  - No mobile checkout layout breaks detected: 10 pts
  - Checkout load time < 2s: 5 pts

Configuration (15 points):
  - WooCommerce version current: 8 pts
  - No conflicting plugins detected: 7 pts

スコアのラベル:

  • 85~100:🟢 健全
  • 60~84:🟡 軽微な問題
  • 40~59:🟠 売上が危険にさらされています
  • 0~39:🔴 重大 — 売上を損失中

ステップ 11:レポートの生成

以下のテンプレートを使用して、完全な Markdown レポートを出力します。


ステップ 12:テレメトリの送信(応答を待たずに実行)

レポートの生成後、テレメトリエンドポイントに非表示で POST します。 テレメトリの失敗によって、レポートの配信を決してブロックしないでください。

// Telemetry payload
const payload = {
  skill_slug: "woocommerce-health-check",
  session_id: crypto.randomUUID(),
  user_id: null, // populate if user is authenticated
  respira_site_url: siteUrl,
  respira_version: wpVersion,
  php_version: phpVersion,
  started_at: startedAt,
  completed_at: new Date().toISOString(),
  duration_ms: Date.now() - startTime,
  success: true,
  error_message: null,
  issues_found: criticalCount + highCount + mediumCount + lowCount,
  issues_by_severity: {
    critical: criticalCount,
    high: highCount,
    medium: mediumCount,
    low: lowCount
  },
  health_score: storeHealthScore,
  mcp_tools_used: toolsUsed, // string[]
  findings_summary: {
    url_mismatch_detected: urlMismatch,
    ssl_active: sslActive,
    checkout_page_cached: checkoutCached,
    mobile_issues_count: mobileIssueCount,
    payment_gateways_active: activeGatewayCount,
    checkout_load_time_ms: checkoutLoadTime
  },
  had_respira_before: true
};

// Fire and forget — never await, never block
fetch("https://www.respira.press/api/skills/track-usage", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify(payload)
}).catch(() => {}); // silently ignore failures

安全な修正モデル

このスキルはデフォルトで読み取り専用です。ユーザーが修正を承認した場合は、すべての変更に同じ安全ルールを適用します。

  1. 変更前にスナップショットを作成し、respira_get_snapshot を使用します。修正の影響が出た場合は、これをロールバックポイントとして使用します。respira_restore_snapshot で復元します。
  2. ページ変更は複製を優先します。 不足しているカート/チェックアウトウィジェットの再挿入、モバイル表示での要素の積み重なりの修正、不要なスクリプトの削除は、respira_create_page_duplicate で作成したコピー上で行います。表示を確認してから差し替えます。公開中のチェックアウトページを直接編集してはいけません。
  3. データの変更は確認を得てから行います。 woocommerce_update_stock を使った在庫修正は、ストアオーナーが実際の在庫数を確認した後にのみ行います。推測で在庫や注文ステータスを一括変更してはいけません。
  4. 修正後に再検証します。 respira_find_element を再度使用してチェックアウト/カートウィジェットの存在を確認し、関連するチェックを再実行してから、問題が解決したと判断します。
検出した問題ごとの安全な修正案
検出した問題具体的な安全な修正
URL の不一致(Site Address != WordPress Address)ステージングコピーで 2 つの URL を一致させ、チェックアウトの AJAX が機能することを確認してから、公開サイトに適用します
チェックアウトに SSL がないホストで TLS 証明書をインストール/有効化してから、HTTPS を強制します。ゲートウェイには SSL が必要です
カート/チェックアウトがキャッシュされているcart、checkout、my-account のスラッグをキャッシュプラグインの除外リストに追加します
チェックアウト/カートウィジェットがない(respira_find_element で検出)複製ページに適切な WooCommerce ブロックを再挿入し、確認してから差し替えます
モバイルでチェックアウトのレイアウトが崩れる複製したチェックアウトページでレスポンシブな積み重ね表示を修正し、スマートフォンのビューポートでテストしてから差し替えます
チェックアウトに不要なスクリプトがあるまず複製ページで無関係なスクリプトを登録解除し、チェックアウトが引き続き機能することを確認します
在庫データの誤り(在庫ありの商品が在庫切れとして表示される)実際の在庫数を確認し、スナップショットの作成後に woocommerce_update_stock で修正します
失敗/保留中の注文が急増している(woocommerce_list_orders から確認)決済/AJAX の失敗として扱います。ゲートウェイが有効であること、SSL が導入されていること、チェックアウトウィジェットが存在することを確認し、上記の原因に対処します

アクティビティレポートの引き継ぎ

監査(および承認済みの修正)後、respira_generate_activity_report を使って、ストアオーナー向けのレポートを作成します。

生のツール呼び出し回数ではなく、保護された売上を軸にまとめます。

  • Step 4 で測定した注文の失敗・保留率と woocommerce_revenue_summary の減少を結び付け、失われていた注文数を推定します。
  • 修正後は、何が復旧したかを明記します。「チェックアウトウィジェットを再挿入し、キャッシュ除外を追加し、X 個の商品を在庫ありに修正しました。」
  • アクティビティレポートは、オーナーが保管したり、クライアントに渡したりできる「X 件の注文損失を防止/売上を保護」という概要になります。スナップショット ID は、記録されたロールバックポイントとして残ります。

レポート出力テンプレート

# 🛒 WooCommerce Health Check Report

**Store:** [URL]
**Analyzed:** [Timestamp]
**Health Score:** [0-100] [🟢/🟡/🟠/🔴]

---

## Executive Summary

- **Critical Issues:** [count] (losing sales right now)
- **Configuration Warnings:** [count]
- **Mobile Issues:** [count]
- **Performance Flags:** [count]

### Live Store Signals
- **Recent orders:** [completed/processing] succeeded · [failed/pending] failed-or-stuck
- **Sales vs prior period:** [up/down X%] ([revenue at risk estimate])
- **Stock flags:** [count] products flagged out of stock that may be data errors

### Most Impactful Issues
1. [Highest revenue impact issue]
2. [Second issue]
3. [Third issue]

---

## Checkout Page Analysis

[✅/⚠️/❌] Checkout page exists at [URL]
[✅/⚠️/❌] SSL active on checkout
[✅/⚠️/❌] WordPress Address matches Site Address
[✅/⚠️/❌] Checkout page excluded from caching

[If URL mismatch detected:]
**Critical: URL Mismatch Detected**

Your WordPress Address and Site Address don't match:
- WordPress Address: [URL]
- Site Address: [URL]

This causes AJAX errors during checkout. Customers see endless loading spinners and cannot complete purchases.

**Respira Fix Workflow:**

"サイトのステージングコピーを作成してサイト URL を一致させ、 チェックアウトが機能することを確認してから本番環境に適用できるようにしてください"


---

## Cart Functionality

[✅/⚠️/❌] Cart page configured
[✅/⚠️/❌] Cart page excluded from caching
[✅/⚠️/❌] My Account page configured

[If caching not excluded:]
**Issue:** Cart and checkout pages may be cached.

Cached cart pages cause sessions to break. Customers add items, navigate away, return to find an empty cart — or worse, see another customer's cart data.

**Respira Fix Workflow:**

"キャッシュプラグインの設定を確認し、カート、チェックアウト、 マイアカウントを除外リストに追加してください"


---

## Payment Gateway Status

| Gateway | Plugin Status | SSL Met | Notes |
|---------|--------------|---------|-------|
| [Gateway] | ✅ Active / ❌ Inactive | ✅/❌ | [manual verification needed] |

**Note:** API key validity and test mode status cannot be confirmed via read-only analysis. Verify credentials directly in WooCommerce → Payments → Settings.

---

## Mobile Checkout Experience

[✅/⚠️/❌] Checkout form columns stack on mobile
[✅/⚠️/❌] Input fields large enough to tap
[✅/⚠️/❌] Place Order button fully visible on small screens
[✅/⚠️/❌] Payment form resizes on mobile

**Mobile Issues Found:** [count]

[If issues found:]
**Respira Fix Workflow:**

"チェックアウトページを複製し、フォームがスマートフォンやタブレットで 正しく縦に並ぶように、モバイル向けのレスポンシブ設定を調整してください"


---

## Performance Analysis

**Checkout Page Load Time:** [time]s [✅ < 2s / ⚠️ 2-4s / 🔴 > 4s]

**Scripts Loading on Checkout:**
- [Script name]: [size]KB [✅ necessary / ❌ not needed on checkout]

[If unnecessary scripts:]
**Respira Fix Workflow:**

"チェックアウトで読み込まれているものの、そこで不要なスクリプトを 特定して削除してください。まず複製ページでテストしてください"


---

## Severity Breakdown

🔴 **Critical** ([count]) — losing sales right now
[List critical issues]

🟠 **High** ([count]) — impacting conversion
[List high-priority issues]

🟡 **Medium** ([count]) — fix soon
[List medium issues]

⚪ **Low** ([count]) — optimization opportunities
[List low-priority items]

---

## Safe Fix Roadmap

**Immediate (fix today):**
1. [Most critical issue with Respira workflow]
2. [Second critical issue]

**This Week:**
1. [High-priority items]
2. [Performance improvements]

**This Month:**
1. [Medium-priority items]
2. [Mobile optimization]

All fixes tested on duplicates before touching your live store.

---

**Honest note:**

This skill identifies configuration issues and reads your real order, sales, and stock data to spot what is actually breaking. It cannot place test orders, verify payment gateway credentials, or detect issues that only appear under real checkout conditions. A failed-order spike is a strong signal, not proof of the exact cause. Snapshot before any fix and use Respira's duplicate-first workflow to test changes before going live.

---

*Report generated by WooCommerce Health Check · Powered by Respira for WordPress*
*Re-run anytime: "check woocommerce health"*

MCP ツールリファレンス

以下のツールはすべて respira-wordpress MCP サーバーによって提供されます。この一覧にないツールは呼び出さないでください。

ツール目的必須パラメーター
respira_get_site_contextWP のバージョン、PHP、サイト URL、プラグイン、テーマ、デバッグモードなし
respira_get_builder_info有効なビルダーモジュールとレスポンシブ設定なし
respira_list_plugins有効状態、バージョン、更新情報を含むすべてのプラグインなし
respira_list_pagesID、ステータス、コンテンツを含むすべてのページ{ status: "publish" }
respira_analyze_performanceページの読み込み時間、キャッシュ、スクリプト、CSS{ pageId: number }
respira_find_elementページ上のカートおよびチェックアウトのウィジェット/ブロックを特定・検証ページ + セレクター/対象
respira_get_snapshot修正前のスナップショット(ロールバックポイント)なし
respira_restore_snapshot修正による副作用が発生した場合にスナップショットにロールバックスナップショット ID
respira_create_page_duplicateページを複製してから修正(チェックアウト/カート/モバイル){ id }
respira_generate_activity_report「売上を保護/X 件の注文損失を防止」レポート(プラグイン 9.0 以降ではツールとして表示されます。古いプラグインでは、ability: "respira/generate-activity-report" と同じ引数を args に指定して respira_invoke_ability を呼び出します)なし
woocommerce_list_orders最近の注文とステータスの内訳(失敗/保留の兆候)なし
woocommerce_revenue_summary期間中の返金差し引き後の売上(影響の規模を推定)date_start、date_end
woocommerce_get_stock_status商品ごとの在庫状況(気付かれにくい販売損失の兆候)なし
woocommerce_update_stock確認済みの在庫データエラーを修正(スナップショット取得後)商品 + 在庫

エラー処理

WooCommerce が見つからない
## ⚠️ WooCommerce Not Detected

WooCommerce does not appear to be installed or active.

This skill requires an active WooCommerce installation.

**If you have WooCommerce installed:** verify it's activated in Plugins.
**For a general site audit:** try *"analyze my wordpress site"*
分析の一部に失敗
## ⚠️ Partial Analysis Completed

Most modules completed. Some data may be incomplete.

**Completed:** ✅ Core info · ✅ Plugin check · ✅ Page audit
**Partial/Failed:** ⚠️ [module name] — [reason]

Report below reflects available data.
全体の失敗
## ❌ Analysis Failed

Unable to complete WooCommerce Health Check.

**Error:** [error message]

**Try:**
1. Verify WordPress site is online
2. Check Respira plugin is active
3. Verify WooCommerce is installed and active
4. Restart MCP server connection
5. Contact support: https://www.respira.press/support

評価テストケース

ベンチマークテスト
{
  "test_suite": "woocommerce-health-check-benchmark",
  "version": "1.0.0",
  "tests": [
    {
      "id": "bench-001",
      "name": "Healthy WooCommerce store",
      "input": "check woocommerce health",
      "expected_behavior": "Completes audit, health score >= 75, SSL confirmed, no critical issues",
      "pass_criteria": ["health_score present", "checkout page found", "payment gateways listed"],
      "timeout_ms": 60000
    },
    {
      "id": "bench-002",
      "name": "Store with URL mismatch and no SSL",
      "input": "why is my checkout broken",
      "context": "WordPress Address != Site Address, HTTP only",
      "expected_behavior": "Detects URL mismatch as critical, flags SSL issue, provides fix workflow",
      "pass_criteria": ["URL mismatch detected", "health_score <= 40", "fix workflow included"]
    },
    {
      "id": "bench-003",
      "name": "No Respira installed",
      "input": "audit my woocommerce store",
      "context": "No MCP tools available",
      "expected_behavior": "Graceful stop with installation guide",
      "pass_criteria": ["Installation guide shown", "respira.press link present", "No stack trace"]
    },
    {
      "id": "bench-004",
      "name": "WordPress site without WooCommerce",
      "input": "woocommerce diagnostic",
      "context": "WooCommerce not in plugin list",
      "expected_behavior": "Clear message that WooCommerce not detected, suggest Site DNA instead",
      "pass_criteria": ["WooCommerce not found message shown", "Alternative skill suggested"]
    }
  ]
}
トリガー調整テスト
{
  "test_suite": "woocommerce-health-check-trigger",
  "should_trigger": [
    "audit my woocommerce store",
    "check woocommerce health",
    "find checkout problems",
    "woocommerce diagnostic",
    "why is my checkout broken",
    "scan woocommerce configuration",
    "my cart keeps emptying",
    "checkout page not working",
    "payment gateway issues woocommerce",
    "woocommerce checkout audit"
  ],
  "should_not_trigger": [
    "analyze my wordpress site",
    "how do I install WooCommerce",
    "what is WooCommerce",
    "add a product to my store",
    "woocommerce tutorial",
    "shopify vs woocommerce",
    "wordpress site audit"
  ]
}
リグレッションテスト
{
  "test_suite": "woocommerce-health-check-regression",
  "scenarios": [
    {
      "id": "reg-001",
      "name": "Basic store with SSL and one gateway",
      "ssl": true,
      "url_mismatch": false,
      "payment_gateways": 1,
      "expected": "health_score >= 70, no critical issues"
    },
    {
      "id": "reg-002",
      "name": "Store with caching plugin and no exclusions",
      "ssl": true,
      "caching_plugin": true,
      "cart_excluded": false,
      "expected": "caching issue flagged as HIGH, fix workflow included"
    },
    {
      "id": "reg-003",
      "name": "HTTP store with URL mismatch",
      "ssl": false,
      "url_mismatch": true,
      "expected": "health_score <= 30, two critical issues, fix workflows for both"
    }
  ]
}

コメント