diagnose-product
Diagnose Shopify product, variant, option, inventory, media, metafield, publication, search and bulk-operation failures across configured shops and environments.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- diagnose-product
- description
- Diagnose Shopify product, variant, option, inventory, media, metafield, publication, search and bulk-operation failures across configured shops and environments.
02 资源文件 18
- 其他knowledge/community-cases.jsonl10.2 KB
- 参考文档patterns/bulk-throttle.md503 B
- 参考文档patterns/create-update-set.md559 B
- 参考文档patterns/identity-search.md609 B
- 参考文档patterns/index.json1.4 KB
- 参考文档patterns/inventory.md533 B
- 参考文档patterns/media.md536 B
- 参考文档patterns/metafields.md451 B
- 参考文档patterns/publication.md492 B
- 参考文档patterns/variants-options.md513 B
- 其他queries/product-by-handle.graphql180 B
- 其他queries/product-diagnostic.graphql409 B
- 参考文档references/sources.md703 B
- 脚本scripts/classify-product-issue.mjs672 B
- 脚本scripts/compare-products.mjs1.1 KB
- 脚本scripts/run-product-query.mjs782 B
- 脚本scripts/summarize-product-response.mjs1019 B
- 脚本tests/product-skill.test.mjs3.6 KB
03 SKILL.md 正文
Shopify product diagnosis
For a configured metafield word or phrase, use shopify/shared/metafields/resolve-metafield-term.mjs with owner type PRODUCT, PRODUCT_VARIANT, or COLLECTION, then use build-metafield-query.mjs. Require an identified object and never guess a namespace, key, or unsupported value-search filter.
- Resolve
config-nameplus environment withshopify/shared/config/load-config.mjs; never infer a shop, storefront, market, publication or Hydrogen app. - Run
scripts/classify-product-issue.mjsand read only the first matched file inpatterns/. Load a second only when its score ties. - Start with
queries/product-diagnostic.graphqlusing one stable identifier andscripts/run-product-query.mjs, which delegates credential resolution to the shared Admin runner. Compare environments withscripts/compare-products.mjs; GIDs are shop-local, so compare handles, SKUs and option values. - Preserve top-level GraphQL errors, mutation
userErrors, request ID and cost metadata. Usescripts/summarize-product-response.mjsfor a redacted evidence summary. - Treat Community cases in
knowledge/community-cases.jsonlas hypotheses. Confirm conclusions against the linked current Shopify documentation and the target API schema/version.
Default to read-only diagnosis. Never publish, mutate products/variants/options, adjust inventory, or change media without explicit authorization for the exact configuration, environment and impact.
Return: finding, evidence, confidence, unresolved gaps and safest next action.
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-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.
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.