shopify-hello-world

Featured

Create a minimal working Shopify app that queries products via GraphQL Admin API. Use when starting a new Shopify integration, testing your setup, or learning basic Shopify API patterns. Trigger with phrases like "shopify hello world", "shopify example", "shopify quick start", "simple shopify app", "first shopify API call".

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 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 (`shpat_xxx`) from Settings > Apps > Develop apps ## Instructions ### Step 1: Create Project ```bash mkdir shopify-hello-world && cd shopify-hello-world npm init -y npm install @shopify/shopify-api dotenv ``` ### Step 2: Configure Environment ```bash # .env SHOPIFY_STORE=your-store.myshopify.com SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx SHOPIFY_API_KEY=your_api_key SHOPIFY_API_SECRET=your_api_secret ``` ### Step 3: Write the Hello World Script ```typescript // hello-shopify.ts import "@shopify/shopify-api/adapters/node"; import { shopifyApi } from "@shopify/shopify-api"; import "dotenv/config"; const shopify = shopifyApi({ apiKey: process.env.SHOPIFY_API_KEY!, apiSecretKey: process.env.SHOPIFY_API_SECRET!, hostName: "localhost", apiVersion: "2024-10", isCustomStoreApp: true, adminApiAccessToken: process.env.SHOPIFY_ACCESS_TOKEN!, }); async function main() { const session = shopify.session.customAppSession( process.env.SHOPIFY_STORE! ); const client = new shopify.clients.Graphql({ session }); // Query shop info const shopInfo = await client.request(`{ shop { name currencyCode pri...

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-install-auth

Install and configure Shopify app authentication with OAuth, session tokens, and the @shopify/shopify-api SDK. Use when setting up a new Shopify app, configuring API credentials, or initializing authentication for Admin or Storefront API access. Trigger with phrases like "install shopify", "setup shopify", "shopify auth", "shopify OAuth", "configure shopify API".

2,266 Updated today
jeremylongshore
AI & Automation Solid

shopify-setup

Set up Shopify CLI auth and Admin API access for a store. Workflow: install CLI, authenticate, create custom app, store access token, verify. Use when connecting to a Shopify store, setting up API access, or troubleshooting auth issues with Shopify CLI or Admin API tokens.

809 Updated 2 weeks ago
jezweb
AI & Automation Featured

shopify-apps

Expert patterns for Shopify app development including Remix/React Router apps, embedded apps with App Bridge, webhook handling, GraphQL Admin API, Polaris components, billing, and app extensions.

39,227 Updated today
sickn33
AI & Automation Featured

shopify-core-workflow-a

Manage Shopify products, variants, and collections using the GraphQL Admin API. Use when creating, updating, or querying products, managing inventory, or building product catalog integrations. Trigger with phrases like "shopify products", "create shopify product", "shopify variants", "shopify collections", "shopify inventory".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-hello-world

Create a minimal working Klaviyo example with real API calls. Use when starting a new Klaviyo integration, testing your setup, or learning basic profile creation and event tracking patterns. Trigger with phrases like "klaviyo hello world", "klaviyo example", "klaviyo quick start", "simple klaviyo code", "first klaviyo call".

2,266 Updated today
jeremylongshore