Agent skill · software engineering · jeremylongshore

shopify-hello-world

Create a minimal working Shopify app that queries products via GraphQL

Why this skill is useful

Provides a specific implementation for querying Shopify products using GraphQL that the AI wouldn't reliably generate on its own.

What it needs

Requires npm installed locally. Requires shopify account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Shopify Hello World Overview Minimal working example: query your store's products using the Shopify GraphQL Admin API. Uses @shopify/shopify-api with a custom app access token for zero-friction setup. Prerequisites Completed shopify-install-auth setup A Shopify development store An Admin API access token (shpatxxx) from Settings > Apps > Develop apps Instructions Step 1: Create Project Step 2: Configure Environment Step 3: Write the Hello World Script Initialize the Shopify API client with LATESTAPIVERSION (imported from @shopify/shopify-api), create a custom app session, then query shop info and products via GraphQL. See Hello World Script for the complete implementation. Step 4: Run It Output Expected console output: Error Handling Error Cause Solution ------- ------- ---------- HttpResponseError: 401 Unauthorized Invalid or revoked access token Regenerate token in Shopify admin > Settings > Apps HttpResponseError: 403 Forbidden Token lacks required scopes Enable readproducts scope in app config HttpResponseError: 404 Not Found Wrong store domain or API version Verify store URL is .myshopify.com ENOTFOUND your-store.myshopify.com Store domain typo or DNS issue Double-check SHOPIFYSTORE value GraphqlQueryError with userErrors Invalid query syntax Check field names against API version docs MODULENOTFOUND @shopify/shopify-api Package not installed Run npm install @shopify/shopify-api Examples Create a Product and Query via REST See GraphQL Mutation and REST Examples for a productCreate mutation and legacy REST API usage. Resources Shopify GraphQL Admin API Reference Getting Started with GraphQL REST Admin API Reference Shopify API Versioning

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/shopify-hello-world--c991eb

View the source on GitHub

Browse the @skills marketplace