cloudflare-api
Hit the Cloudflare REST API directly for operations that wrangler and MCP can't handle well. Bulk DNS, custom hostnames, email routing, cache purge, WAF rules,…
Set up Shopify CLI auth and Admin API access for a store. Install CLI, authenticate, create custom app, store access token, verify. Use whenever the user wants to connect to a Shopify store, set up Shopify API access, install Shopify CLI, or troubleshoot Shopify auth / Admin API
$ npx -y skills add jezweb/claude-skills --skill shopify-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shopify-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Set up Shopify CLI auth and Admin API access for a store. Install CLI, authenticate, create custom app, store access token, verify. Use whenever the user wants to connect to a Shopify store, set up Shopify API access, install Shopify CLI, or troubleshoot Shopify auth / Admin API
name: shopify-setup description: "Set up Shopify CLI auth and Admin API access for a store. Install CLI, authenticate, create custom app, store access token, verify. Use whenever the user wants to connect to a Shopify store, set up Shopify API access, install Shopify CLI, or troubleshoot Shopify auth / Admin API token issues." compatibility: claude-code-only
Set up working Shopify CLI authentication and Admin API access for a store. Produces a verified API connection ready for product and content management.
Verify the Shopify CLI is installed:
shopify version
If not installed:
npm install -g @shopify/cli
shopify auth login --store mystore.myshopify.com
This opens a browser for OAuth. The user must be a store owner or staff member with appropriate permissions.
After login, verify:
shopify store info
Custom apps provide stable Admin API access tokens (unlike CLI session tokens which expire).
**Check if an app already exists**: Ask the user if they have a custom app set up. If yes, skip to Step 4.
**If no custom app exists**, guide the user through creation via browser:
1. Navigate to `https://{store}.myshopify.com/admin/settings/apps/development` 2. Click **Create an app** 3. Name it (e.g. "Claude Code Integration") 4. Click **Configure Admin API scopes** 5. Enable these scopes (see `references/api-scopes.md` for details):
6. Click **Save** then **Install app** 7. Copy the **Admin API access token** (shown only once)
Use browser automation (Chrome MCP or playwright-cli) if the user prefers assistance navigating the admin.
Store the token securely. Never commit it to git.
**For project use** — create `.dev.vars`:
SHOPIFY_STORE=mystore.myshopify.com SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxx
Ensure `.dev.vars` is in `.gitignore`.
**For cross-project use** — store in your preferred secrets manager (environment variable, 1Password CLI, etc.).
Test the connection with a simple GraphQL query:
curl -s https://{store}.myshopify.com/admin/api/2025-01/graphql.json \
-H "Content-Type: application/json" \
-H "X-Shopify-Access-Token: {token}" \
-d '{"query": "{ shop { name primaryDomain { url } } }"}' | jq .Expected response includes the shop name and domain. If you get a 401, the token is invalid or expired — recreate the app.
Create a `shopify.config.json` in the project root for other skills to reference:
{
"store": "mystore.myshopify.com",
"apiVersion": "2025-01",
"tokenSource": ".dev.vars"
}---
Always specify an explicit API version (e.g. `2025-01`). Using `unstable` in production will break without warning. Shopify retires API versions quarterly.
| Token | Format | Use | |-------|--------|-----| | Admin API access token | `shpat_*` | Custom apps — stable, long-lived | | CLI session token | Short-lived | Shopify CLI commands only | | Storefront API token | `shpca_*` | Public storefront queries |
This skill sets up **Admin API access tokens** — the right choice for product and content management.
Shopify uses a leaky bucket rate limiter:
For bulk operations, use the `bulkOperationRunQuery` mutation instead of looping.
---
Production workflow skills for Claude Code. Each skill guides Claude through a recipe to produce tangible output — scaffolded projects, generated assets, professional documents, deployed services. Ten plugins of practical, production-oriented skills.
Repo: jezweb/claude-skills
Hit the Cloudflare REST API directly for operations that wrangler and MCP can't handle well. Bulk DNS, custom hostnames, email routing, cache purge, WAF rules,…
Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use…
Generate Drizzle ORM schemas for Cloudflare D1 databases with correct D1-specific patterns. Produces schema files, migration commands, type exports, and…
Cloudflare D1 migration workflow: generate with Drizzle, inspect SQL for gotchas, apply to local and remote, fix stuck migrations, handle partial failures. Use…
Generate database seed scripts with realistic sample data. Reads Drizzle schemas or SQL migrations, respects foreign key ordering, produces idempotent…
Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md…