Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mrgoonie avatar

Shopify

  • 422 installs
  • 2.2k repo stars
  • Updated April 3, 2026
  • mrgoonie/claudekit-skills

shopify is an agent skill that teaches Shopify app development with GraphQL Admin API, Shopify CLI, Polaris UI, Liquid themes, checkout extensions, webhooks, and billing for developers building merchant integrations.

About

shopify is a ClaudeKit agent skill for building on the Shopify platform with @shopify/cli, GraphQL Admin API, REST legacy endpoints, Polaris design system, and Liquid templating. The skill covers OAuth app setup via shopify.app.toml scopes, checkout_ui_extension and admin_block extension types, POS UI extensions, Shopify Functions for discounts and validation, and theme development with shopify theme dev on port 9292. Three reference guides cover app development, extensions, and themes, plus a shopify_init.py scaffold script. API examples use the 2025-01 Admin API version with pagination, bulk operations, and webhook signature verification patterns. Developers reach for shopify when creating public or custom apps, customizing checkout, managing products and orders via API, or building Liquid storefront sections. Best practices emphasize minimal scopes, GraphQL field selection to control query cost, and development-store testing before production deployment.

  • Admin GraphQL API
  • Webhook handlers
  • App OAuth setup
  • Storefront extensions

Shopify by the numbers

  • 422 all-time installs (skills.sh)
  • +5 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #1,003 of 4,348 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mrgoonie/claudekit-skills --skill shopify

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs422
repo stars2.2k
Last updatedApril 3, 2026
Repositorymrgoonie/claudekit-skills

How do you build a Shopify app with GraphQL Admin API?

Build Shopify apps, Admin API flows, webhooks, and storefront extensions for products, checkout, orders, and merchant automation.

Who is it for?

Developers building Shopify public apps, checkout customizations, admin dashboard extensions, or theme features who need CLI workflows, GraphQL patterns, and Polaris UI conventions.

Skip if: Developers building generic ecommerce backends without Shopify or teams only needing bulk CSV product imports—use shopify-products or shopify-setup skills in specialized plugin bundles.

When should I use this skill?

The user asks to build a Shopify app, implement checkout UI extensions, query products via Admin API, configure webhooks, or develop Liquid theme sections.

What you get

Shopify app project with shopify.app.toml scopes, OAuth flow, GraphQL queries, extension manifests, webhook handlers, and optional Liquid theme files.

  • shopify.app.toml with OAuth scopes
  • GraphQL Admin API integration code
  • Extension or theme project ready for shopify app deploy

By the numbers

  • References Shopify Admin API version 2025-01
  • Includes 3 reference guides plus shopify_init.py scaffold script
  • Documents 5 Shopify extension types including checkout UI and Functions

Files

SKILL.mdMarkdownGitHub ↗

Shopify Development

Comprehensive guide for building on Shopify platform: apps, extensions, themes, and API integrations.

Platform Overview

Core Components:

  • Shopify CLI - Development workflow tool
  • GraphQL Admin API - Primary API for data operations (recommended)
  • REST Admin API - Legacy API (maintenance mode)
  • Polaris UI - Design system for consistent interfaces
  • Liquid - Template language for themes

Extension Points:

  • Checkout UI - Customize checkout experience
  • Admin UI - Extend admin dashboard
  • POS UI - Point of Sale customization
  • Customer Account - Post-purchase pages
  • Theme App Extensions - Embedded theme functionality

Quick Start

Prerequisites

# Install Shopify CLI
npm install -g @shopify/cli@latest

# Verify installation
shopify version

Create New App

# Initialize app
shopify app init

# Start development server
shopify app dev

# Generate extension
shopify app generate extension --type checkout_ui_extension

# Deploy
shopify app deploy

Theme Development

# Initialize theme
shopify theme init

# Start local preview
shopify theme dev

# Pull from store
shopify theme pull --live

# Push to store
shopify theme push --development

Development Workflow

1. App Development

Setup:

shopify app init
cd my-app

Configure Access Scopes (shopify.app.toml):

[access_scopes]
scopes = "read_products,write_products,read_orders"

Start Development:

shopify app dev  # Starts local server with tunnel

Add Extensions:

shopify app generate extension --type checkout_ui_extension

Deploy:

shopify app deploy  # Builds and uploads to Shopify

2. Extension Development

Available Types:

  • Checkout UI - checkout_ui_extension
  • Admin Action - admin_action
  • Admin Block - admin_block
  • POS UI - pos_ui_extension
  • Function - function (discounts, payment, delivery, validation)

Workflow:

shopify app generate extension
# Select type, configure
shopify app dev  # Test locally
shopify app deploy  # Publish

3. Theme Development

Setup:

shopify theme init
# Choose Dawn (reference theme) or start fresh

Local Development:

shopify theme dev
# Preview at localhost:9292
# Auto-syncs to development theme

Deployment:

shopify theme push --development  # Push to dev theme
shopify theme publish --theme=123  # Set as live

When to Build What

Build an App When:

  • Integrating external services
  • Adding functionality across multiple stores
  • Building merchant-facing admin tools
  • Managing store data programmatically
  • Implementing complex business logic
  • Charging for functionality

Build an Extension When:

  • Customizing checkout flow
  • Adding fields/features to admin pages
  • Creating POS actions for retail
  • Implementing discount/payment/shipping rules
  • Extending customer account pages

Build a Theme When:

  • Creating custom storefront design
  • Building unique shopping experiences
  • Customizing product/collection pages
  • Implementing brand-specific layouts
  • Modifying homepage/content pages

Combination Approach:

App + Theme Extension:

  • App handles backend logic and data
  • Theme extension provides storefront UI
  • Example: Product reviews, wishlists, size guides

Essential Patterns

GraphQL Product Query

query GetProducts($first: Int!) {
  products(first: $first) {
    edges {
      node {
        id
        title
        handle
        variants(first: 5) {
          edges {
            node {
              id
              price
              inventoryQuantity
            }
          }
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

Checkout Extension (React)

import { reactExtension, BlockStack, TextField, Checkbox } from '@shopify/ui-extensions-react/checkout';

export default reactExtension('purchase.checkout.block.render', () => <Extension />);

function Extension() {
  const [message, setMessage] = useState('');

  return (
    <BlockStack>
      <TextField label="Gift Message" value={message} onChange={setMessage} />
    </BlockStack>
  );
}

Liquid Product Display

{% for product in collection.products %}
  <div class="product-card">
    <img src="{{ product.featured_image | img_url: 'medium' }}" alt="{{ product.title }}">
    <h3>{{ product.title }}</h3>
    <p>{{ product.price | money }}</p>
    <a href="{{ product.url }}">View Details</a>
  </div>
{% endfor %}

Best Practices

API Usage:

  • Prefer GraphQL over REST for new development
  • Request only needed fields to reduce costs
  • Implement pagination for large datasets
  • Use bulk operations for batch processing
  • Respect rate limits (cost-based for GraphQL)

Security:

  • Store API credentials in environment variables
  • Verify webhook signatures
  • Use OAuth for public apps
  • Request minimal access scopes
  • Implement session tokens for embedded apps

Performance:

  • Cache API responses when appropriate
  • Optimize images in themes
  • Minimize Liquid logic complexity
  • Use async loading for extensions
  • Monitor query costs in GraphQL

Testing:

  • Use development stores for testing
  • Test across different store plans
  • Verify mobile responsiveness
  • Check accessibility (keyboard, screen readers)
  • Validate GDPR compliance

Reference Documentation

Detailed guides for advanced topics:

  • [App Development](references/app-development.md) - OAuth, APIs, webhooks, billing
  • [Extensions](references/extensions.md) - Checkout, Admin, POS, Functions
  • [Themes](references/themes.md) - Liquid, sections, deployment

Scripts

[shopify_init.py](scripts/shopify_init.py) - Initialize Shopify projects interactively

python scripts/shopify_init.py

Troubleshooting

Rate Limit Errors:

  • Monitor X-Shopify-Shop-Api-Call-Limit header
  • Implement exponential backoff
  • Use bulk operations for large datasets

Authentication Failures:

  • Verify access token validity
  • Check required scopes granted
  • Ensure OAuth flow completed

Extension Not Appearing:

  • Verify extension target correct
  • Check extension published
  • Ensure app installed on store

Webhook Not Receiving:

  • Verify webhook URL accessible
  • Check signature validation
  • Review logs in Partner Dashboard

Resources

Official Documentation:

  • Shopify Docs: https://shopify.dev/docs
  • GraphQL API: https://shopify.dev/docs/api/admin-graphql
  • Shopify CLI: https://shopify.dev/docs/api/shopify-cli
  • Polaris: https://polaris.shopify.com

Tools:

  • GraphiQL Explorer (Admin → Settings → Apps → Develop apps)
  • Partner Dashboard (app management)
  • Development stores (free testing)

API Versioning:

  • Quarterly releases (YYYY-MM format)
  • Current: 2025-01
  • 12-month support per version
  • Test before version updates

---

Note: This skill covers Shopify platform as of January 2025. Refer to official documentation for latest updates.

Related skills

How it compares

Use the shopify skill for full-platform app, extension, and theme guidance; pick narrower shopify-setup or shopify-products skills when the task is only API credentials or bulk CSV catalog import.

FAQ

Which Shopify API does the shopify skill recommend?

The shopify skill recommends GraphQL Admin API for new development, with REST Admin API noted as legacy maintenance mode. Examples reference the 2025-01 API version with quarterly Shopify release cadence and 12-month support per version.

What Shopify extension types does the skill cover?

The shopify skill documents checkout_ui_extension, admin_action, admin_block, pos_ui_extension, and function extensions for discounts, payment, delivery, and cart validation, generated via shopify app generate extension.

How do you start local Shopify theme development?

The shopify skill runs shopify theme init, then shopify theme dev for localhost:9292 preview with auto-sync to a development theme. Use shopify theme push --development before publishing with shopify theme publish.

Backend & APIsecommercepayments

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.