shopify-sdk-patterns

Installation
SKILL.md

Shopify SDK Patterns

Overview

Production-ready patterns for the @shopify/shopify-api library: singleton clients, typed GraphQL operations, session management, cursor-based pagination, and error handling wrappers.

Prerequisites

  • @shopify/shopify-api v9+ installed
  • Familiarity with Shopify's GraphQL Admin API
  • Understanding of async/await and TypeScript generics

Instructions

Step 1: Typed GraphQL Client Wrapper

// src/shopify/client.ts
import "@shopify/shopify-api/adapters/node";
Related skills
Installs
1
GitHub Stars
2.2K
First Seen
Mar 26, 2026