Shopify Toolkit
Shopify development reference covering Liquid templates, Admin and Storefront APIs, theme architecture (OS 2.0), app development with OAuth, checkout extensibility, and performance optimization. No API keys or credentials required — outputs reference documentation only.
When to Use
- - Building or customizing a Shopify theme with Liquid templates
- Working with Shopify Admin or Storefront GraphQL APIs
- Setting up OAuth flow for a Shopify app
- Optimizing storefront Core Web Vitals (LCP, CLS, INP)
- Migrating from Theme 1.0 to OS 2.0 or Checkout Extensibility
- Looking up Liquid filters, tags, or CLI commands
Commands
| Command | Description |
|---|
| INLINECODE0 | Platform architecture — Liquid, APIs, Functions, Hydrogen, CLI |
| INLINECODE1 |
Theme file structure, section schema, OAuth scopes, metafields |
|
troubleshooting | Liquid errors, API rate limits (40 req/s), webhook failures, checkout issues |
|
performance | Liquid optimization, image srcset, JS/CSS auditing, Core Web Vitals |
|
security | HMAC webhook validation, session tokens, OAuth flow, CSP |
|
migration | Theme 1.0→2.0, checkout.liquid→Checkout Extensibility, platform migration |
|
cheatsheet | Shopify CLI commands, GraphQL queries, Liquid filters/tags, webhook events |
|
faq | Payments, multi-currency, Hydrogen vs Online Store, app count, Plus pricing |
Usage
CODEBLOCK0
Output Format
All commands output plain-text reference documentation via heredoc. No external API calls, no credentials needed, no network access.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
Shopify 工具包
涵盖Liquid模板、Admin和Storefront API、主题架构(OS 2.0)、OAuth应用开发、结账扩展性及性能优化的Shopify开发参考。无需API密钥或凭证——仅输出参考文档。
使用场景
- - 使用Liquid模板构建或定制Shopify主题
- 使用Shopify Admin或Storefront GraphQL API
- 为Shopify应用设置OAuth流程
- 优化商店核心网页指标(LCP、CLS、INP)
- 从Theme 1.0迁移至OS 2.0或结账扩展性
- 查询Liquid过滤器、标签或CLI命令
命令
| 命令 | 描述 |
|---|
| intro | 平台架构 — Liquid、API、函数、Hydrogen、CLI |
| standards |
主题文件结构、区块模式、OAuth作用域、元字段 |
| troubleshooting | Liquid错误、API速率限制(40请求/秒)、Webhook失败、结账问题 |
| performance | Liquid优化、图片srcset、JS/CSS审计、核心网页指标 |
| security | HMAC Webhook验证、会话令牌、OAuth流程、CSP |
| migration | Theme 1.0→2.0、checkout.liquid→结账扩展性、平台迁移 |
| cheatsheet | Shopify CLI命令、GraphQL查询、Liquid过滤器/标签、Webhook事件 |
| faq | 支付、多币种、Hydrogen vs在线商店、应用数量、Plus定价 |
使用方法
bash
scripts/script.sh intro
scripts/script.sh cheatsheet
scripts/script.sh troubleshooting
输出格式
所有命令通过heredoc输出纯文本参考文档。无需外部API调用、无需凭证、无需网络访问。
由BytesAgain提供 | bytesagain.com | hello@bytesagain.com