shopify-advanced-troubleshooting

Featured

Debug complex Shopify API issues using cost analysis, request tracing, webhook delivery inspection, and GraphQL introspection. Trigger with phrases like "shopify hard bug", "shopify mystery error", "shopify deep debug", "difficult shopify issue", "shopify intermittent failure".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Shopify Advanced Troubleshooting ## Overview Deep debugging for complex Shopify API issues: cost analysis with debug headers, webhook delivery inspection, GraphQL query introspection, and systematic isolation of intermittent failures. ## Prerequisites - Access to Shopify admin and Partner Dashboard - Familiarity with GraphQL and HTTP debugging - `curl` and `jq` available ## Instructions ### Step 1: GraphQL Cost Analysis When queries THROTTLE unexpectedly, use the cost debug header: ```bash # Get detailed per-field cost breakdown curl -X POST "https://$STORE/admin/api/2024-10/graphql.json" \ -H "X-Shopify-Access-Token: $TOKEN" \ -H "Content-Type: application/json" \ -H "Shopify-GraphQL-Cost-Debug: 1" \ -d '{ "query": "{ products(first: 50) { edges { node { id title variants(first: 20) { edges { node { id price metafields(first: 5) { edges { node { key value } } } } } } } } } }" }' | jq '.extensions.cost' ``` Response shows why the cost is high: ```json { "requestedQueryCost": 1552, "actualQueryCost": 234, "throttleStatus": { "maximumAvailable": 1000.0, "currentlyAvailable": 766.0, "restoreRate": 50.0 } } ``` **Key:** `requestedQueryCost` is `first` multiplied through nested connections. `50 products * 20 variants * (1 + 5 metafields)` = high cost even if actual data is small. ### Step 2: Trace a Specific Request Every Shopify response includes `X-Request-Id`. Capture it for support: ```bash # Capture full response headers and bo...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

shopify-performance-tuning

Optimize Shopify API performance with GraphQL query cost reduction, bulk operations, caching strategies, and Storefront API for high-traffic storefronts. Trigger with phrases like "shopify performance", "optimize shopify", "shopify slow", "shopify caching", "shopify bulk operation", "shopify query cost".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-debug-bundle

Collect Shopify debug evidence including API versions, scopes, rate limit state, and request logs. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Shopify problems. Trigger with phrases like "shopify debug", "shopify support bundle", "collect shopify logs", "shopify diagnostic".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-cost-tuning

Optimize Shopify app costs through plan selection, API usage monitoring, and Shopify Plus upgrade analysis. Trigger with phrases like "shopify cost", "shopify billing", "shopify pricing", "shopify Plus worth it", "shopify API usage", "reduce shopify costs".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-common-errors

Diagnose and fix common Shopify API errors including 401, 403, 422, 429, and GraphQL errors. Use when encountering Shopify errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "shopify error", "fix shopify", "shopify not working", "debug shopify", "shopify 422".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-rate-limits

Handle Shopify API rate limits for both REST (leaky bucket) and GraphQL (calculated query cost). Use when hitting 429 errors, implementing retry logic, or optimizing API request throughput. Trigger with phrases like "shopify rate limit", "shopify throttling", "shopify 429", "shopify THROTTLED", "shopify query cost", "shopify backoff".

2,266 Updated today
jeremylongshore