Shopify CLI 操作
原名:shopify-use-shopify-cli
使用 Shopify CLI 校验配置、查询店铺并执行明确的开发工作流。
中文 Skills 技能说明
适合本地开发、配置检查和指定店铺操作;默认先只读,任何库存、商品或店铺写入都要展示目标、命令和影响并逐次确认。开源开发资料可以本地使用;Shopify 店铺、Partner、App Store、支付或托管能力需由用户确认中国大陆可用性、主体资质、账户、套餐、费用、消费者保护和数据跨境要求。执行前读取真实项目、当前版本和官方资料,输出目标、依据、影响、验证结果与回退方式;没有证据时明确说明未知,不编造数据、配置或成功状态。 创建、修改、部署、发布、提交审核、迁移、删除、发送或产生费用的操作,必须先展示目标和差异并获得有权限人员确认。 代码、schema、日志、令牌、客户、订单、支付、音视频和企业资料按敏感内容处理,只读取任务所需范围,上传或外发前完成授权、脱敏和最小化。
上游能力依据
上游原始适用说明: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); or perform explicit store-scoped reads/writes on a named store domain (for example, show/list/find the first 10 products on my store at foo.myshopify.com, or inventory and product changes by handle, SKU, or location name). Emphasize commands and operational steps, not only authoring GraphQL. Skip for API-only understanding or codegen with no CLI execution, and skip for brand-new merchant asks to start a Shopify store or try Shopify before they have an account. Examples: validate configuration before deploy; run an existing query via CLI; show the first 10 products on foo.myshopify.com; missing shopify store execute.
上游 SKILL.md 主要章节(保留原文标题):
- Required Tool Calls (do not skip)
- Shopify CLI Setup
- Installation
- Upgrade & Troubleshooting
- Command Discovery
- CLI Usage and Operational Guidance
- CLI analytics attribution
- App configuration validation
- Order of operations
- Constraints
使用边界
先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。
作者、翻译与许可证
- 原作者
- Shopify Inc. 与 shopify-ai-toolkit contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/Shopify/shopify-ai-toolkit/tree/2619755e4f4e908fb205e889bac769de1767d40f/skills/shopify-use-shopify-cli
适用范围
平台:linux、macos、windows;标签:开发运维、Shopify CLI 操作
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。