Provides a workflow to interact with Shopify's development ecosystem via the shopify-dev MCP server. It enables searching documentation, introspecting GraphQL schemas, validating Liquid/theme code, and building Shopify extensions while avoiding hallucinations.
learn_shopify_api for the required technology (admin, storefront-graphql, liquid, polaris) and capture the returned conversationId.search_docs_chunks for semantic search or fetch_full_docs for full pages.introspect_graphql_schema with the conversationId to get up‑to‑date types and fields.validate_graphql_codeblocksvalidate_component_codeblocksvalidate_themeconversationId for subsequent calls.'shopify-dev.tool(...)').@shopify/dev-mcp over npx for reliability.# 1. Initialize for Admin GraphQL
learn_shopify_api tech:admin
# ⇒ returns conversationId=abc123
# 2. Search docs for "product creation"
search_docs_chunks query:"product creation" conversationId:abc123
# 3. Introspect the schema
introspect_graphql_schema conversationId:abc123
# 4. Validate a GraphQL mutation
validate_graphql_codeblocks conversationId:abc123 codeblocks:[{content:"mutation { productCreate(input:{title:\"New\"}) { product { id } userErrors { field message } } }"}]
# 5. Validate a Liquid snippet
validate_theme conversationId:abc123 path:"/tmp/theme" files:["snippets/header.liquid"]
references/api-guide.md for full API details, GraphQL schema listings, Liquid validation options, and MCP server setup.Created by Simon Cai · More e-commerce skills: github.com/simoncai519/open-accio-skill
共 1 个版本