A Claude Code skill for writing, debugging, and explaining ShopifyQL analytics queries and Shopify Segment Query Language customer filters.
Triggers automatically when you ask Claude to:
- Write a ShopifyQL report query (
FROM sales SHOW ...) - Build a customer segment filter
- Debug a ShopifyQL syntax error
- Translate a business question into a Shopify analytics query
- Understand available tables, dimensions, or metrics
- ShopifyQL — full query structure, strict keyword ordering, all clauses (
WHERE,GROUP BY,TIMESERIES,HAVING,COMPARE TO,VISUALIZE,WITHmodifiers, semi-joins, math on metrics,TOP N) - Segment Query Language — all attribute types, operators, date formats, and functions (
products_purchased,orders_placed,shopify_email,anniversary,customer_within_distance,storefront_event) - Common ecommerce patterns — top products, channel attribution, re-engagement, high-value customers, wholesale/B2B segments
- Debugging checklist — ordered list of the most common ShopifyQL errors
Register the marketplace and install:
/plugin marketplace add devkindhq/shopifyql-skill
/plugin install shopifyql@shopifyql-skillClone this repo and point Claude Code at it, or copy skills/shopifyql/SKILL.md into your own plugin.
MIT