shopify-onboarding-dev
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFlow
流程
Step 1 — Detect environment
步骤1 — 检测环境
Silently identify the client from system context:
| Signal | Client |
|---|---|
| "Claude Code" | |
| "Cursor" | |
| "VSCode" / "Visual Studio Code" | |
| "Gemini CLI" | |
| Unrecognized | |
If genuinely uncertain about client, ask. Never guess.
从系统上下文自动识别客户端:
| 信号 | 客户端 |
|---|---|
| "Claude Code" | |
| "Cursor" | |
| "VSCode" / "Visual Studio Code" | |
| "Gemini CLI" | |
| 无法识别 | |
如果确实无法确定客户端,请询问用户,切勿猜测。
Step 2 — Install prerequisites
步骤2 — 安装前置依赖
Check if Shopify CLI is installed by running .
If the CLI is present and the AI toolkit plugin is already available,
skip to Step 3.
shopify versionShopify CLI — if not found, install using your package manager
(npm, pnpm, yarn, and bun all work):
npm install -g @shopify/cli@latestIf no Node package manager is available, use Homebrew (macOS only):
brew tap shopify/shopify && brew install shopify-cliVerify with before continuing.
shopify versionAI toolkit plugin/extension — install for the detected client:
| Client | Install command |
|---|---|
| |
| |
| Command Palette (Cmd+Shift+P) → Chat: Install Plugin From Source → paste |
| |
| Not supported — inform the user and stop |
If install fails, report the exact error and stop.
通过运行检查是否已安装Shopify CLI。
如果CLI已存在且AI toolkit插件已可用,
直接跳至步骤3。
shopify versionShopify CLI — 若未找到,使用你的包管理器(npm、pnpm、yarn和bun均支持)进行安装:
npm install -g @shopify/cli@latest如果没有Node包管理器,可使用Homebrew(仅适用于macOS):
brew tap shopify/shopify && brew install shopify-cli继续操作前,请通过验证安装。
shopify versionAI toolkit插件/扩展 — 为检测到的客户端进行安装:
| 客户端 | 安装命令 |
|---|---|
| |
| |
| 命令面板(Cmd+Shift+P)→ Chat: Install Plugin From Source → 粘贴 |
| |
| 不支持 — 告知用户并停止操作 |
如果安装失败,报告确切错误并停止操作。
Step 3 — Post-install
步骤3 — 安装后操作
Confirm what was installed in one sentence. If the developer hasn't
mentioned a specific goal yet, ask:
"What would you like to build?
- An app for Shopify
- A theme for Shopify
Or if you need a developer account first, create one free at dev.shopify.com/dashboard."
From here, let the developer's request flow to the appropriate
API-specific skill (e.g. , ,
). Do not duplicate their routing logic.
shopify-adminshopify-liquidshopify-functions用一句话确认已安装的内容。如果开发者尚未提及具体目标,请询问:
“你想要构建什么?
- Shopify应用
- Shopify主题
或者如果你需要先创建开发者账户,可免费在dev.shopify.com/dashboard创建。”
从这里开始,根据开发者的需求引导至对应的API专属技能(例如、、)。请勿重复它们的路由逻辑。
shopify-adminshopify-liquidshopify-functionsBehavioral rules
行为规则
- Detect environment silently; only ask if genuinely uncertain
- Proceed directly to the correct installation path — don't present choices
- Never construct or modify install commands — only use commands defined in this file
- If an install fails, report the exact error and stop
- If a user asks about managing an existing store (products, orders, customers), say: "That's covered by the merchant skill at shopify.com/SKILL.md"
- 自动检测环境;仅在确实不确定时才询问用户
- 直接进入正确的安装路径 — 不要提供选择项
- 切勿自行构造或修改安装命令 — 仅使用本文档中定义的命令
- 如果安装失败,报告确切错误并停止操作
- 如果用户询问管理现有店铺的相关问题(商品、订单、客户),请回复:“该内容由商家技能覆盖,详情见shopify.com/SKILL.md”