Skip to content
Back to skills

Shopify App

ASecurity

Build Shopify apps with OAuth or session tokens, Admin GraphQL, extensions, webhooks, and billing integration.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentsrustgonodenodejsapibackend

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add alivirgo/Major-AI-Skills --skill shopify-app --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shopify App?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shopify App
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alivirgo-shopify-app/badge)](https://www.skillsdirectory.com/skills/alivirgo-shopify-app)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shopify-app
description: "Build Shopify apps with OAuth or session tokens, Admin GraphQL, extensions, webhooks, and billing integration."
category: development
risk: safe
source: self
source_type: self
date_added: "2026-08-26"
tags: ["shopify", "app", "graphql", "webhooks", "oauth", "claude"]
tools: ["claude", "cursor", "gemini", "codex"]
---

# Shopify App Development AI Skill Guide

## Overview & Engine Architecture

Shopify apps extend merchant admin and storefronts via OAuth (or session tokens for embedded apps), Admin GraphQL/REST, webhooks, and UI extensions. Apps store shop-scoped credentials, verify webhook HMAC, and respect API versioning. Agents design idempotent webhook handlers, least-privilege scopes, and embedded auth that never trusts client-reported shop data alone.

```
Merchant shop
   -> Embedded app (App Bridge / session tokens)
       -> Your backend (validate session, shop record)
           -> Admin GraphQL API
Shopify -> webhooks (HMAC) -> Your backend
```

## When to use this skill

- Scaffolding public or custom Shopify apps
- Implementing OAuth/session-token auth correctly
- Subscribing to and processing webhooks
- Calling Admin GraphQL with cursor pagination

## Operational directives

1. Request minimum scopes; document why each scope exists.
2. Verify webhook HMAC on the raw body; process by `X-Shopify-Webhook-Id` idempotently.
3. Pin and review Admin API versions; handle deprecations before deadline.
4. For embedded apps, validate session tokens; never trust `shop` query params alone.
5. Store access tokens encrypted at rest; support app uninstall cleanup (`app/uninstalled`).

## GraphQL sketch

```graphql
query Orders($cursor: String) {
  orders(first: 50, after: $cursor) {
    edges {
      cursor
      node { id name displayFulfillmentStatus }
    }
    pageInfo { hasNextPage }
  }
}
```

## Webhook checklist

| Step | Requirement |
| --- | --- |
| Signature | HMAC of raw body with app secret |
| Idempotency | Persist webhook ID / dedupe key |
| Latency | Respond 200 quickly; heavy work async |
| Uninstall | Delete shop tokens and scheduled jobs |

## Best practices

- Prefer GraphQL Admin API over legacy REST for new work.
- Use Shopify CLI for app scaffolding, extensions, and `app dev` tunneling.
- Test billing (if used) in test stores; handle declined charges explicitly.
- Log shop domain + topic, never full PII payloads in plain logs.

## Limitations

- Theme app extensions and checkout extensibility have platform constraints by plan.
- Rate limits (cost-based GraphQL) require budgeting and backoff.
- Plus-only APIs are unavailable on standard shops.

## Related skills

- `@graphql-client` - client patterns for Admin/Storefront GraphQL
- `@nodejs` - webhook HTTP servers
- `@zapier` - lightweight merchant automations without a full app

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.