shopify-reliability-patterns
Skill by jeremylongshore
Adds reliability patterns to Shopify apps: a circuit breaker for API outages, idempotent webhook handling, cached fallback, queued webhook processing and rate limit-aware retries. Intended for developers building fault-tolerant Shopify integrations.
Install shopify-reliability-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/shopify-reliability-patterns ~/.claude/skills/shopify-reliability-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install shopify-reliability-patterns in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/shopify-reliability-patterns ~/.gemini/antigravity-cli/skills/shopify-reliability-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install shopify-reliability-patterns in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for making Shopify integrations fault tolerant. It covers five areas: a circuit breaker built with opossum for Shopify API calls, webhook idempotency tracked with Redis and the X-Shopify-Webhook-Id header, a three-tier cached fallback, a BullMQ webhook processing queue, and retry logic that respects Shopify's Retry-After header and GraphQL throttle status.
The skill is for developers building Shopify apps who need to handle webhook retry storms, API outages, or rate limit exhaustion. It lists queue infrastructure, a cache layer and an understanding of the circuit breaker pattern as prerequisites. Each step links to a reference file with the full implementation. The skill is MIT licensed and designed for Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Circuit breaker for Shopify APIWraps Shopify API calls in an opossum breaker that opens at a 50% error rate and serves cached data.
- Webhook idempotencyTracks X-Shopify-Webhook-Id in Redis with a 7-day TTL and responds 200 before async processing.
- Cached fallbackTries the live API, then cached data, then an alternative source such as a local database.
- Webhook processing queueVerifies HMAC, responds 200 immediately, then enqueues webhooks in BullMQ with exponential backoff.
- Rate limit-aware retryRetries based on Retry-After for REST 429 responses and GraphQL throttle status to calculate wait time.
What you need
- Queue infrastructure such as BullMQ or SQS
- A cache layer for fallback data
- Redis for webhook ID tracking
- Understanding of the circuit breaker pattern
Try asking
- Add a circuit breaker around my Shopify API calls that serves cached data when open.
- Make my Shopify webhook handler idempotent using X-Shopify-Webhook-Id.
- Set up a BullMQ queue for Shopify webhooks with exponential backoff retries.
Good to know
- Circuit breaker counts only 5xx and timeout errors.
- Full implementations are in separate linked reference files, not in SKILL.md itself.
- Shopify retries failed webhooks up to 19 times over 48 hours, so handlers must be idempotent.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/shopify-reliability-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEdit
-
SKILL.md4 KB -
references/cached-fallback.md1 KB -
references/circuit-breaker.md2 KB -
references/rate-limit-retry.md1 KB -
references/webhook-idempotency.md2 KB
Show all 6 files
-
references/webhook-processing-queue.md1 KB
Alternatives to shopify-reliability-patterns
All alternatives →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Compare with shopify, shopify-development or ticketmaster
shopify-reliability-patterns: common questions
Does this skill handle Shopify webhook retries?
Yes. It explains that Shopify retries webhooks up to 19 times over 48 hours when the endpoint does not return 200, and it covers idempotent handling and queue-based processing for this.
Which libraries does this skill use?
The source names opossum for the circuit breaker, BullMQ for the webhook queue, and Redis for tracking webhook IDs. It also mentions SQS as an alternative queue.
How does the skill handle Shopify rate limits?
It retries using the Retry-After header for REST 429 responses and the GraphQL throttle status, calculating wait time from available points instead of backing off blindly.
How do I install shopify-reliability-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is shopify-reliability-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is shopify-reliability-patterns safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to shopify-reliability-patterns?
Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.
