Shopify Use Shopify 命令行
Shopify CLI 使用
功能与用途
当用户需要现在用 Shopify CLI 跑或修东西时使用:校验磁盘上的应用/扩展配置(shopify.app.toml 等)、运行或排查店铺工作流(shopify store auth/execute)、按 handle/SKU/位置改库存或商品、或解决 CLI 安装/授权/升级问题。强调命令与操作步骤,而非只写 GraphQL。需 Node。
适用场景
- 本地应用与扩展配置文件校验:运行 CLI 配置校验命令排查 shopify.app.toml 与扩展配置,避免部署前报错。
- 快速生成新扩展与项目脚手架:按指定模板生成 POS、结账或管理后台扩展工程目录,规范初始化配置结构。
- 排查店铺登录授权与命令异常:处理 shopify store 认证失效、版本升级滞后或全局 CLI 命令缺失等开发环境问题。
适用人群
- Shopify 开发者
- 技术团队
使用步骤
- 判断是 CLI 运行需求
- 给命令与操作步骤
- 装/修 CLI 或排障
开始使用
将需求和 Skill 名称发送给已连接 SkillPX MCP 的 AI 助手,核对适用工具和安装要求。
技术信息
- 分类
- 电商
- 适用工具
- Codex、Claude Code、OpenClaw、Hermes、国内 Agent
- 使用难度
- 进阶
- 版本
- main
- 最近更新
- 2026-09-18
- 文件数
- 3
- 安装包大小
- 自动生成 ZIP
- 安全检查
- 基础检查通过
Choose when the user needs **Shopify CLI** to run or fix something now: validate app or extension config on disk (`shopify.app.toml`, `shopify.app.<name>.toml`, `shopify.extension.toml`); run or troubleshoot store workflows (`shopify store auth`, `shopify store execute`); inventory or product changes by handle, SKU, or location name; or CLI setup, auth, upgrade issues. Emphasize **commands and operational steps**, not only authoring GraphQL. Skip for API-only understanding or codegen with no CLI execution. Examples: validate configuration before deploy; run an existing query via CLI; list products; missing `shopify store execute`.
使用前准备
- Node.js
- Shopify CLI
依赖与权限
- 读取用户主动提供的内容