Instructions in this file are plain Markdown (no hidden or encoded content).
Bundle version: 1.0.5
Shopware Expert: User Guide
What This Skill Is
This skill equips your OpenClaw agent with instructions, checklists, and bundled excerpts from the Shopware Developer Documentation, oriented toward Shopware 6.7 (the export prefers newer versioned doc paths). It supports work on Admin API, Store API, plugins, apps, Administration UI, classic Storefront (Twig/themes), headless/composable frontends, hosting, upgrades, and commercial extensions - with an index of ADRs for deeper architecture topics.
Full copy-paste 6.7 examples (neutral Acme vendor, verify against official docs): {baseDir}/references/SHOPWARE_67_EXAMPLES_PLUGIN_DAL.md, {baseDir}/references/SHOPWARE_67_EXAMPLES_STOREFRONT_ADMIN_CMS.md, {baseDir}/references/SHOPWARE_67_PRACTICAL_NOTES.md.
Official code guidelines (short): {baseDir}/references/CODE_GUIDELINES_ESSENTIALS.md (public API, backward compatibility, Storefront / Store API conventions). Longer excerpts: TESTING_AND_QUALITY_PART2.md (search resources/guidelines).
The AI usually reaches Shopware via HTTPS (curl or similar). Gateway tool policy (what your OpenClaw install allows beyond curl) is configured in your host config, not by this skill; see {baseDir}/references/OPENCLAW_INTEGRATION.md and {baseDir}/references/SAFETY.md.
Not exhaustive: bundled text is not a complete mirror of Shopware 6.7 or every patch release. Treat it as guidance and entry points. For merchant "how to in the Admin" (click paths, day-to-day operations), the skill points to docs.shopware.com - see {baseDir}/references/MERCHANT_USER_DOCS.md.
No companion plugin (v1)
Unlike wordpress-expert, this skill does not ship a dedicated OpenClaw plugin yet.
- - Minimal setup:
curl + SHOPWARE_BASE_URL only. That is enough for eligibility and for HTTP/API-style tasks when you keep other tools disabled. - Broader gateway capabilities: If your host policy already allows additional tools,
{baseDir}/references/TOOLING.md describes common Shopware dev workflows (e.g. bin/console). Keep allowlists narrow; see {baseDir}/references/OPENCLAW_INTEGRATION.md. - Benefit of a future plugin: Typed Shopware tools would be easier to audit and allowlist than ad-hoc shell/curl. Until then, follow narrow allowlists and verify API calls against official docs.
Installation Steps (Typical Flow)
On your OpenClaw gateway machine:
- 1. Install the skill (e.g. ClawHub or
skills/shopware-expert on the gateway host). - Set environment variables - at minimum
SHOPWARE_BASE_URL (host env or skills.entries["shopware-expert"].env). For Admin API work, add OAuth-related vars as documented in {baseDir}/references/AUTH.md and .env.example. - Grant tools: Your gateway must allow
curl for HTTPS API use. Further tool access follows your tools.allow / sandbox policy - see {baseDir}/references/OPENCLAW_INTEGRATION.md. openclaw gateway restart after plugin, allowlist, or env changes (when applicable).
Full detail: {baseDir}/README.md, {baseDir}/references/CONNECTING.md, {baseDir}/references/AUTH.md.
What You Can Expect from the AI
- - API and integration tasks: e.g. search or update entities via Admin API / Store API - the AI should use fresh HTTP responses and documented routes, not invented URLs or request bodies.
- Extension and theme work: expects a project clone on the gateway (or clear remote workflow); may use
bin/console, Composer, and file edits only when your gateway policy permits those actions. - Merchant-style questions: the AI should steer you to user documentation links when the task is "how to use the Admin," not code.
- Version awareness: the AI should confirm the Shopware version and reconcile bundled excerpts with developer.shopware.com and, when needed, shopware/platform (including ADRs via
{baseDir}/references/ADR_OVERVIEW.md). - Security: use staging, least privilege, and explicit approval for destructive work. The AI must not echo secrets - only set/unset or masked env hints.
Required Setup (Environment Variables)
Required for skill eligibility (see metadata.openclaw.requires):
- 1.
SHOPWARE_BASE_URL - HTTPS base URL the gateway can reach (no trailing slash), e.g. https://shop.example.com.
Common additions for Admin API automation (optional; see {baseDir}/references/AUTH.md):
- - OAuth client credentials and token URL (names may vary by your scripts), e.g.
SHOPWARE_ADMIN_API_CLIENT_ID, SHOPWARE_ADMIN_API_CLIENT_SECRET, SHOPWARE_OAUTH_TOKEN_URL.
Store all secrets in env or skills.entries["shopware-expert"].env, never in chat or Git.
Important Rules for People and the AI
- - No secrets in chat or Git - see
{baseDir}/references/AUTH.md. - Confirm Shopware version and context before non-trivial advice - see
{baseDir}/references/WORKFLOWS.md (pre-flight checklist). - Deeper topics load from
{baseDir}/references/ as needed (progressive disclosure); large topics may be split across _PART2.md, _PART3.md, etc.
When the agent should use this skill
Use for Shopware-related work: APIs, plugins, apps, Administration UI, Storefront, headless frontends, hosting, upgrades, extensions, architecture. Do not use for unrelated stacks unless the user asks for comparison.
Load {baseDir}/references/ files when the task matches (examples: CONNECTING.md, AUTH.md, TOOLING.md, APPS_VS_PLUGINS_AND_PATHS.md, CODE_GUIDELINES_ESSENTIALS.md, SHOPWARE_67_EXAMPLES_PLUGIN_DAL.md, SHOPWARE_67_EXAMPLES_STOREFRONT_ADMIN_CMS.md, SHOPWARE_67_PRACTICAL_NOTES.md, ADMIN_API.md, STORE_API.md, PLUGIN_SYSTEM.md, APP_SYSTEM.md, HEADLESS_FRONTENDS.md, INSTALLATION_AND_HOSTING.md, MERCHANT_USER_DOCS.md, SOURCES_AND_VERSIONS.md, SAFETY.md, WORKFLOWS.md). Full index: {baseDir}/references/OVERVIEW.md.
Rules for the assistant (summary)
- 1. Version and environment first - Before non-trivial advice or writes, establish the target Shopware version (ask the user, or infer from
composer.lock / bin/console / project files when those files are readable on the gateway). Confirm relevant env vars are set without printing secrets - only names, set/unset, or masked placeholders ({baseDir}/references/WORKFLOWS.md). - 6.7-oriented, not complete - Bundled excerpts favour 6.7-era docs; they may lag patch releases or omit new changelog items. Do not assume full coverage.
- Verify via official sources - For breaking, security-sensitive, or API-shape-critical work, follow links in the reference files, then developer.shopware.com and shopware/platform (ADRs) as needed; reconcile with the user's actual version.
- Use fresh data from tools/API before writes; do not invent Admin API or Store API behaviour. For apps vs plugins and where first-party vs third-party code lives (
custom/static-plugins/ vs custom/plugins/), and rules not to edit core or Store plugins, read {baseDir}/references/APPS_VS_PLUGINS_AND_PATHS.md and {baseDir}/references/SAFETY.md before proposing file edits. - Never echo secrets; store credentials in host env or
openclaw.json skill env - not chat. - Prefer documented HTTP patterns in
{baseDir}/references/TOOLING.md. Do not assume tools beyond what the session policy allows. - For pure merchant Admin usage (where to click), use
{baseDir}/references/MERCHANT_USER_DOCS.md and docs.shopware.com - not developer-only excerpts alone. - After
tools.allow, plugin, or env changes, openclaw gateway restart is often required - see {baseDir}/references/CONNECTING.md and OpenClaw docs.
Where work runs: On the OpenClaw gateway (typically HTTP to Shopware) - not inside Shopware's PHP process unless the user's setup explicitly allows it.
技能名称: shopware-expert
详细描述:
本文件中的说明均为纯Markdown格式(无隐藏或编码内容)。
捆绑版本: 1.0.5
Shopware 专家:用户指南
本技能简介
本技能为您的 OpenClaw 代理提供来自 Shopware 开发者文档 的 说明、检查清单和捆绑摘录,主要面向 Shopware 6.7(导出内容优先使用较新版本的文档路径)。它支持 Admin API、Store API、插件、应用、管理界面、经典 Storefront(Twig/主题)、无头/可组合前端、托管、升级 和 商业扩展 等工作,并包含 ADR 索引 以深入探讨架构主题。
完整的 6.7 可复制示例(使用中性的 Acme 供应商,请与官方文档核对):{baseDir}/references/SHOPWARE67EXAMPLESPLUGINDAL.md、{baseDir}/references/SHOPWARE67EXAMPLESSTOREFRONTADMINCMS.md、{baseDir}/references/SHOPWARE67PRACTICALNOTES.md。
官方代码指南(精简版): {baseDir}/references/CODEGUIDELINESESSENTIALS.md(公共 API、向后兼容性、Storefront / Store API 约定)。更长的摘录:TESTINGANDQUALITY_PART2.md(搜索 resources/guidelines)。
AI 通常通过 HTTPS(curl 或类似工具)访问 Shopware。网关工具策略(您的 OpenClaw 安装允许除 curl 之外的哪些工具)在您的主机配置中设置,而非本技能;请参阅 {baseDir}/references/OPENCLAW_INTEGRATION.md 和 {baseDir}/references/SAFETY.md。
并非详尽无遗: 捆绑的文本 并非 Shopware 6.7 或任何补丁版本的完整镜像。请将其视为 指南和入口点。对于 商家如何在管理后台操作(点击路径、日常操作),本技能指向 docs.shopware.com - 请参阅 {baseDir}/references/MERCHANTUSER_DOCS.md。
无配套插件(v1)
与 wordpress-expert 不同,本技能 尚未 附带专用的 OpenClaw 插件。
- - 最小化设置: 仅需 curl + SHOPWAREBASEURL。当您禁用其他工具时,这足以满足资格要求和 HTTP/API 类任务。
- 更广泛的网关能力: 如果您的主机策略已允许其他工具,{baseDir}/references/TOOLING.md 描述了常见的 Shopware 开发工作流(例如 bin/console)。请保持允许列表 精简;请参阅 {baseDir}/references/OPENCLAW_INTEGRATION.md。
- 未来插件的优势: 类型化的 Shopware 工具比临时的 shell/curl 更容易审计和列入允许列表。在此之前,请遵循 精简的允许列表 并 对照官方文档验证 API 调用。
安装步骤(典型流程)
在您的 OpenClaw 网关机器上:
- 1. 安装技能(例如,通过 ClawHub 或网关主机上的 skills/shopware-expert)。
- 设置环境变量 - 至少需要 SHOPWAREBASEURL(主机环境或 skills.entries[shopware-expert].env)。对于 Admin API 工作,请按照 {baseDir}/references/AUTH.md 和 .env.example 中的文档添加 OAuth 相关变量。
- 授予工具权限: 您的网关必须允许 curl 用于 HTTPS API 使用。进一步的工具访问遵循您的 tools.allow / 沙箱策略 - 请参阅 {baseDir}/references/OPENCLAW_INTEGRATION.md。
- openclaw gateway restart 在插件、允许列表或环境变量更改后(如适用)。
完整详情:{baseDir}/README.md、{baseDir}/references/CONNECTING.md、{baseDir}/references/AUTH.md。
您对 AI 的期望
- - API 和集成任务: 例如,通过 Admin API / Store API 搜索或更新实体 - AI 应使用 最新的 HTTP 响应 和 有文档记录的 路由,而非虚构的 URL 或请求体。
- 扩展和主题工作: 期望在网关上有一个 项目克隆(或清晰的远程工作流);仅当 您的网关策略允许这些操作时,才可能使用 bin/console、Composer 和文件编辑。
- 商家类问题: 当任务是如何使用管理后台而非代码时,AI 应引导您访问 用户文档 链接。
- 版本意识: AI 应 确认 Shopware 版本 并 协调 捆绑摘录与 developer.shopware.com,必要时与 shopware/platform(包括通过 {baseDir}/references/ADR_OVERVIEW.md 的 ADR)进行核对。
- 安全性: 使用 暂存环境、最小权限原则,并对破坏性操作进行明确批准。AI 不得输出 机密信息 - 仅可输出 设置/取消设置 或 掩码后的 环境提示。
必需设置(环境变量)
技能资格必需(请参阅 metadata.openclaw.requires):
- 1. SHOPWAREBASEURL - 网关可访问的 HTTPS 基础 URL(无尾部斜杠),例如 https://shop.example.com。
Admin API 自动化的常见补充(可选;请参阅 {baseDir}/references/AUTH.md):
- - OAuth 客户端凭据和令牌 URL(名称可能因您的脚本而异),例如 SHOPWAREADMINAPICLIENTID、SHOPWAREADMINAPICLIENTSECRET、SHOPWAREOAUTHTOKEN_URL。
将所有机密信息存储在 环境变量 或 skills.entries[shopware-expert].env 中,切勿存储在聊天或 Git 中。
对用户和 AI 的重要规则
- - 聊天或 Git 中不得包含机密信息 - 请参阅 {baseDir}/references/AUTH.md。
- 在进行重要建议前确认 Shopware 版本和上下文 - 请参阅 {baseDir}/references/WORKFLOWS.md(预检清单)。
- 更深入的主题 根据需要从 {baseDir}/references/ 加载(渐进式披露);大型主题可能被拆分为 PART2.md、PART3.md 等。
代理何时应使用本技能
用于 Shopware 相关 工作:API、插件、应用、管理界面、Storefront、无头前端、托管、升级、扩展、架构。不要 用于无关的技术栈,除非用户要求进行比较。
当任务匹配时加载 {baseDir}/references/ 文件(示例:CONNECTING.md、AUTH.md、TOOLING.md、APPSVSPLUGINSANDPATHS.md、CODEGUIDELINESESSENTIALS.md、SHOPWARE67EXAMPLESPLUGINDAL.md、SHOPWARE67EXAMPLESSTOREFRONTADMINCMS.md、SHOPWARE67PRACTICALNOTES.md、ADMINAPI.md、STOREAPI.md、PLUGINSYSTEM.md、APPSYSTEM.md、HEADLESSFRONTENDS.md、INSTALLATIONANDHOSTING.md、MERCHANTUSERDOCS.md、SOURCESAND_VERSIONS.md、SAFETY.md、WORKFLOWS.md)。完整索引:{baseDir}/references/OVERVIEW.md。
对助手的规则(摘要)
- 1. 版本和环境优先 - 在进行重要建议或写入操作之前,先确定 目标 Shopware 版本(询问用户,或从 composer.lock / bin/console / 项目文件中推断,前提是这些文件在网关上可读)。确认 相关的环境变量 已设置 且不打印机密信息 - 仅提及名称、设置/取消设置状态或掩