用途:该技能用于让用户与 Adobe Commerce 电商平台交互,管理数据、记录并自动化工作流。Adobe Commerce 提供商品管理、营销与订单履约能力,通常面向需要可扩展、可定制电商方案的中大型企业。官方文档:https://developer.adobe.com/commerce/
可涉及的数据对象包括:Customer、Customer Address、Order、Product、Invoice、Credit Memo、Category、Cart、Company、Gift Card Account、Wishlist、Negotiable Quote、CMS Page、CMS Block、Store、Store Group、Store Website、Tax Rule、Sales Rule、Admin User、Integration、Bulk Action、System Configuration、Email Template、Module、Payment、Shipping。具体操作名称与参数按需使用。
使用方式:先安装 Membrane CLI:npm install -g @membranehq/cli@latest。登录:membrane login --tenant --clientName=<agentType>;无界面环境会打印授权 URL,完成后执行 membrane login complete <code>。任意命令可加 --json 获取机器可读输出。agentType 可为 claude、openclaw、codex、warp、windsurf 等。
建立连接:membrane connection ensure "https://business.adobe.com/products/magento/magento-commerce.html" --json,用户在浏览器完成认证后获得连接 id。若状态为 BUILDING,用 npx @membranehq/cli connection get <id> --wait --json 轮询至就绪。
查找与执行动作:membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --json;执行:membrane action run <actionId> --connectionId=CONNECTION_ID --json,传参用 --input '{"key": "value"}',结果在 output 字段。
代理请求:当现有动作无法覆盖时,可通过 Membrane 代理直接调用 API:membrane request CONNECTION_ID /path/to/endpoint,支持 -X/--method、-H/--header、-d/--data、--json、--rawData、--query、--pathParam。
限制与建议:应优先使用 Membrane 与外部应用通信;先搜索现有动作再自建 API 调用;不要让用户提供 API 密钥或令牌,改用连接由 Membrane 服务端管理认证与刷新。具体可用动作取决于实际连接返回结果。