diagnose-storefront-api
Diagnose cross-cutting Shopify Storefront GraphQL authentication, context, publication, version, throttling, Hydrogen transport and response failures; route resource-specific failures to their domain skill.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- diagnose-storefront-api
- description
- Diagnose cross-cutting Shopify Storefront GraphQL authentication, context, publication, version, throttling, Hydrogen transport and response failures; route resource-specific failures to their domain skill.
02 资源文件 20
- 其他knowledge/community-cases.jsonl10.5 KB
- 参考文档patterns/auth-access.md826 B
- 参考文档patterns/context-localization.md735 B
- 参考文档patterns/hydrogen-runtime.md720 B
- 参考文档patterns/index.json330 B
- 参考文档patterns/publication-visibility.md696 B
- 参考文档patterns/response-errors.md589 B
- 参考文档patterns/throttle-performance.md581 B
- 参考文档patterns/version-schema.md588 B
- 其他queries/schema-type.graphql120 B
- 其他queries/shop-context.graphql282 B
- 参考文档references/evidence-and-routing.md902 B
- 脚本scripts/classify-issue.mjs1.7 KB
- 脚本scripts/compare-responses.mjs868 B
- 脚本scripts/resolve-access.mjs2.3 KB
- 脚本scripts/run-storefront-graphql.mjs2.3 KB
- 脚本scripts/summarize-response.mjs1.1 KB
- 脚本tests/access.test.mjs1.3 KB
- 脚本tests/classify.test.mjs655 B
- 脚本tests/response.test.mjs1.1 KB
03 SKILL.md 正文
Shopify Storefront API diagnosis
- Resolve
config-nameplus the caller-supplied environment throughshopify/shared/config/load-config.mjsandresolve-config.mjs. Accept--override-uriorSHOPIFY_CONFIG_OVERRIDE_URI; never assume environment names, shops, storefronts, or Hydrogen apps. - Run
scripts/classify-issue.mjs. If it returns a domain route, stop here and use that domain skill. Otherwise read only its matched file underpatterns/. - Reproduce with the smallest read-only query through
scripts/run-storefront-graphql.mjs. Select the Hydrogen app when credentials differ. Never print tokens. - Capture HTTP status, content type, Shopify request ID, GraphQL errors, warnings, and throttle metadata. A 200 response is not success when the body is HTML or contains GraphQL errors.
- Compare the same variables and buyer context when testing environments or API versions. Treat forum reports in
knowledge/community-cases.jsonlas leads; verify against current official docs and direct evidence. - Return finding, evidence, confidence, unresolved gaps, and the least-risk next check.
Mutations require explicit authorization for the exact target and --allow-mutation.
04 同仓库更多 Skills
diagnose-spring-boot
Diagnose Spring Boot application failures, behavior, configuration, security, data access, messaging, tests, observability, and runtime issues across explicitly resolved enterprise environments and services.
diagnose-product
Diagnose Shopify product, variant, option, inventory, media, metafield, publication, search and bulk-operation failures across configured shops and environments.
diagnose-order
Diagnose Shopify order retrieval, lifecycle, payment, fulfillment, return, refund, webhook, Markets and B2B discrepancies.
diagnose-discount
Diagnose Shopify discount configuration, eligibility, Functions, combinations, markets, B2B, and cart or checkout outcomes without changing discounts.
diagnose-customer
Diagnose Shopify customer identity, profile, access, and cross-storefront failures while keeping Admin, Storefront, and Customer Account API evidence separate.
diagnose-cart
Diagnose Shopify Storefront API, Hydrogen, and theme cart failures across configured storefronts and environments without mutating carts by default.