Respira Woocommerce 标志

Respira Woocommerce

组织
respira-press
respira-woocommerce

用于在 WordPress 网站上执行 WooCommerce 操作,包括列出、读取、创建、更新和复制商品;管理分类和标签;读取订单并更新订单状态;管理库存;生成销售报告;以及编辑店面布局。全程适配页面构建器。需要 Respira WooCommerce 付费扩展。

Add to TypingMind

概览

发布者respira-press
代码仓库agent-skills-wordpress
技能名称respira-woocommerce
星标数
50
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 respira-press 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Respira Woocommerce AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/respira-press/agent-skills-wordpress/tree/main/skills/respira-woocommerce
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/respira-press/agent-skills-wordpress.git /tmp/agent-skills-wordpress
mkdir -p .claude/skills
cp -r /tmp/agent-skills-wordpress/skills/respira-woocommerce .claude/skills/respira-woocommerce
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Respira Woocommerce,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Respira Woocommerce。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Respira Woocommerce 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 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" ✓

常见问题

Respira Woocommerce AI 技能有什么作用?

用于在 WordPress 网站上执行 WooCommerce 操作,包括列出、读取、创建、更新和复制商品;管理分类和标签;读取订单并更新订单状态;管理库存;生成销售报告;以及编辑店面布局。全程适配页面构建器。需要 Respira WooCommerce 付费扩展。

为什么在 TypingMind 中使用 Respira Woocommerce?

因为您只需安装一次,就能搭配任何模型使用。Respira Woocommerce 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Respira Woocommerce?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/respira-press/agent-skills-wordpress/tree/main/skills/respira-woocommerce。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Respira Woocommerce?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Respira Woocommerce 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Respira Woocommerce 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Respira Woocommerce AI 技能免费吗?

是的。respira-press 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇