本文へ移動
cccskills
無料GitHub で公開

respira-woocommerce

Use for WooCommerce operations on a WordPress site. Listing, reading, creating, updating, and duplicating products. Managing categories and tags. Reading orders and updating order status. Stock management. Sales reports. Storefront layout edits. Builder-aware throughout. Requires the Respira WooCommerce add-on (paid).

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Respira WooCommerce

What this skill covers

The Respira WooCommerce add-on (v2.1.0+) exposes 21 abilities through the WordPress Abilities API, plus a storefront layout surface for Elementor, Divi, Flatsome UX Builder, Bricks, and Gutenberg shop / product templates. The add-on is paid and license-gated; if the add-on isn't active, every Woo tool returns a clear respira_webmcp_woo_unavailable error and the user should be sent to respira.press/addons/woocommerce.

The 21 abilities namespace under respira-woocommerce/*:

  • Products: get-products, get-product, create-product, update-product, duplicate-product.
  • Categories: get-categories, get-category, create-category, update-category, delete-category.
  • Tags: get-tags, get-tag, create-tag, update-tag, delete-tag.
  • Orders: get-orders, get-order, update-order-status.
  • Stock: get-stock-status, update-stock.
  • Reporting: get-sales-report.

The storefront surface (under /respira/v1/woocommerce/storefront/) covers analyze-shop, analyze-product, update-card-layout, and add-low-stock-badge. These act on builder-managed product card templates rather than the WC core data.

Common Mistakes

MistakeCorrect approach
Using respira_update_page on a WooCommerce product pageUse the WooCommerce update-product ability for product data. Use respira_find_element plus respira_update_element for builder-managed visual content on the page.
Editing product price or stock directly in the page contentThese are post meta fields. Use the update-product or update-stock abilities.
Running get-products without pagination on a large catalogAlways set per_page (max 100) and paginate. Large catalogs cause timeouts.
Applying a coupon via post metaCoupons should go through the canonical WooCommerce coupon mutation (or the WC admin). Direct meta edits bypass WC validation.
Editing a builder-managed shop archive template via update_pageUse respira_get_builder_info to identify the template type first. The storefront tools cover product-card layout changes; visual edits go through respira_update_element.
Not checking whether WooCommerce is active before calling Woo toolsConfirm with respira_get_site_context. Woo tools return a structured error if the plugin is inactive or the add-on isn't licensed.
Forgetting that update-order-status only changes statusUpdating the rest of the order (line items, totals, addresses) needs the WC admin or a dedicated tool. The ability is narrow on purpose.

Inputs

  • Product ID, SKU, or search term.
  • Category or tag slug or ID.
  • Order ID or order status filter (pending, processing, on-hold, completed, cancelled, refunded, failed).
  • Coupon code or coupon ID.
  • The fields to read or update.

Workflow

Product operations

  1. respira_get_site_context. Confirm WooCommerce active + add-on licensed.
  2. get-products. Find the product by name, SKU, or filter. Set per_page and paginate.
  3. update-product. Apply changes (price, stock, status, title, description, images).
  4. For visual / builder content on the product page: respira_get_builder_info plus respira_find_element plus respira_update_element.

Category and tag operations

  1. get-categories or get-tags. Find the target by slug or name.
  2. create-, update-, or delete-. Mutations gated by capability checks.
  3. Reorder or reparent through update-category (parent + display order).

Order operations

  1. get-orders with a status filter.
  2. get-order for a specific record.
  3. update-order-status for status transitions. Anything more invasive needs the WC admin.

Stock operations

  1. get-stock-status for a snapshot.
  2. update-stock for quantity or status mutations. The ability respects manage_stock per product.

Storefront layout

  1. analyze-shop or analyze-product. Returns the active builder and the editable card / template paths.
  2. update-card-layout to mutate the product card structure.
  3. add-low-stock-badge to insert the conditional badge widget.
  4. Always snapshot the page first with respira_create_page_duplicate.

Batch product updates

For updating multiple products (a price increase across a category):

  1. get-products with the category filter. Collect target IDs.
  2. respira_batch_update. Apply the same field change across all collected IDs in a single call.

Rules

  • Always check WooCommerce is active and the add-on is licensed before calling Woo tools.
  • Never use respira_update_page on a product page to change price, stock, or product meta. Those are WC data fields.
  • For product description: if the product page uses a builder, the visual description may live in the builder JSON. Use respira_find_element to locate it. The WC description field is the fallback (non-builder) description.
  • respira_batch_update accepts a maximum of 100 items per call. Chunk larger operations.
  • Never create or modify coupons without confirming the discount type with the user. A percent coupon applied as fixed_cart can cause significant revenue loss.
  • Currency is per-site. Don't assume USD or EUR; read it from respira_get_site_context.

Verification

After update-product:

  1. Call get-product and confirm the changed fields match.
  2. For price changes, verify both regular_price and sale_price are correct.
  3. For stock changes, verify stock_quantity and stock_status.

After update-order-status:

  1. Call get-order and confirm the status transition.
  2. Note that WC emails fire automatically on certain transitions; tell the user.

After a batch update:

  1. Sample 2-3 products from the batch and verify the changed field.
  2. Report the total number of products updated and any that returned errors.

Escalation

Stop and ask the user if:

  • The product catalogue has more than 1,000 items and the request is "update all products". Confirm scope and batch strategy first.
  • A coupon update would affect unlimited use or a site-wide discount. Confirm before applying.
  • WooCommerce Subscriptions, Memberships, or Bookings are involved. These have their own data models. Check available tools before proceeding.
  • The update would change a product's status from publish to draft. Confirm the user intends to unpublish.
  • An order has been paid and shipped, and the request would modify it. WC stores immutable history on paid orders; ask before mutating.

Example

Goal: update the regular price of "Merino Wool Tee" from €49 to €59.

1. respira_get_site_context        → WooCommerce 8.7 active, Woo add-on licensed ✓
2. get-products                    → search "Merino Wool Tee" → ID 2847
3. update-product                  → ID 2847, regular_price: "59"
4. get-product                     → ID 2847 → regular_price: "59.00" ✓

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when the user asks for a client report, a monthly or activity report, a case study draft, or says 'what did i ship this month'. Turns the site audit log into a written report in one of six framings: agency client report, case study, internal recap, testimonial draft, build-in-public, personal recap.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use on any page build, redesign, or 'make it look better' request on a site that has (or needs) a saved Art Direction. Loads the direction before the first element is written, plans tokens in two passes against the direction's donts and the known AI-default aesthetics, builds with tokens preserved, checks the result with respira_check_design, and mints a live preview. Also the import lane for Claude Design output and other design-system documents.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'extract my brand voice', 'what is my writing style', or 'analyze my tone', or before any skill that writes copy for the site. Reads 5-10 published posts and persists tone, lexicon, sentence patterns, formality, signature phrases, and phrases the site never uses.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when building or rebuilding a page, header, footer, or template on an Oxygen 6 (Jenga) site, or when a previous attempt produced a blank page, one raw HTML block, or 'Unknown element'. Hands the agent the Oxygen 6 element schemas and the Template Content Area rule. Not for Oxygen Classic.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'export my site', 'backup my pages before editing', 'download my content locally', or 'migrate content to my other site'. Exports pages, posts, and custom posts to portable local packages with builder data, media, and markdown, then imports elsewhere with ID remapping.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'audit my conversion rate', 'cro check', 'find conversion leaks', or asks what is hurting conversion before a paid campaign or after a redesign. Scores six friction dimensions: above-the-fold clarity, CTA hierarchy, form length, social proof, speed, trust signals.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

respira-press のスキルをすべて見る

このスキルの問題を報告する