shopify-core-workflow-a
/shopify-core-workflow-a
Zarządza produktami, wariantami i kolekcjami Shopify przez GraphQL Admin API: tworzenie, aktualizacja i zapytania, inwentarz i integracje katalogu produktów.
- Autor
- jeremylongshore ↗
- Repozytorium
- tons-of-skills-marketplace ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 6
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 4
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Zarządza produktami, wariantami i kolekcjami Shopify przez GraphQL Admin API: tworzenie, aktualizacja i zapytania, inwentarz i integracje katalogu produktów.
Wyzwalacze z opisu
Oryginalny opis (EN)
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".
Jak działa
- Overview
- Prerequisites
- Instructions
- Output
- Error Handling
- Examples
- Resources
Podgląd SKILL.md
---
name: shopify-core-workflow-a
description: '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".
'
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 2.7.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- ecommerce
- shopify
compatibility: Designed for Claude Code
---
# Shopify Products & Catalog Management
## Overview
Primary workflow for Shopify: manage products, variants, collections, and inventory using the GraphQL Admin API. Covers CRUD operations with real API mutations and response shapes.
## Prerequisites
- Completed `shopify-install-auth` setup
- Access scopes: `read_products`, `write_products`, `read_inventory`, `write_inventory`
- API version 2024-10 or later (ProductInput was split in this version)
## Instructions
### Step 1: Create a Product
Use `productCreate` with `ProductCreateInput` (as of 2024-10, this replaced the old unified `ProductInput`). Always check `userErrors` -- Shopify returns 200 even on validation failures.
See [Product Create Mutation](references/product-create-mutation.md) for the complete mutation, variables, and error handling.
### Step 2: Update a Product
Use `productUpdate` with `ProductUpdateInput` (separate from create as of 2024-10). Supports metafield updates inline.
See [Product Update Mutation](references/product-update-mutation.md) for the complete mutation and variables.
### Step 3: Query Products with Filtering
Search products using Shopify's query syntax (`status:active`, `product_type:Apparel AND vendor:'My Brand'`, `tag:sale`, etc.) with cursor-based pagination.
See [Search Products Query](references/search-products-query.md) for the complete query with pagination and query syntax examples.
### Step 4: Manage Variants and Pricing
Create variants in bulk with `productVariantsBulkCreate`, including pricing, SKU, barcode, option values, and inventory quantities per location.
See [Bulk Create Variants](references/bulk-create-variants.md) for the complete mutation and variables.
### Step 5: Manage Collections
Create smart (automated) collections with rule-based product matching using tag, product type, and other column filters.
See [Smart Collection Create](references/smart-collection-create.md) for the complete mutation and variables.
## Output
- Product created with variants and options
- Products queryable with search filters
- Variant pricing and inventory configured
- Smart collections auto-organizing products
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| `userErrors: [{code: "TAKEN", field: ["handle"]}]` | Duplicate product handle | Use a unique handle or let Shopify auto-generate |
| `userErrors: [{code: "BLANK", field: ["title"]}]` | Empty required field | Provide non-empty title |
| `userErrors: [{code: "INVALID"}]` | Invalid metafield type | Check `type` matches Shopify's metafield types |
| `Access denied` on `productCreate` | Missing `write_products` scope | Request scope in app config |
| `Product not found` | Wrong GID format | Must be `gid://shopify/Product/1234567890` (numeric ID) |
## Examples
### ProductSet Mutation (Upsert)
```typescript
// productSet creates OR updates — idempotent by handle
const PRODUCT_SET = `
mutation productSet($input: ProductSetInput!) {
productSet(input: $input) {
product { id title }
userErrors { field message code }
}
}
`;
await client.request(PRODUCT_SET, {
variables: {
input: {
title: "Organic Coffee Beans",
handle: "organic-coffee-beans", // unique identifier
productType: "Coffee",
vendor: "Bean Co",
},
},
});
```
## Resources
- [productCreate Mutation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate)
- [productSet Mutation (Upsert)](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
- [Product Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)
- [2024-10 ProductInput Split](https://shopify.dev/docs/api/release-notes/2024-10)
Pliki w paczce (6)
- SKILL.md 4 KB
- references/bulk-create-variants.md 1 KB
- references/product-create-mutation.md 2 KB
- references/product-update-mutation.md 1 KB
- references/search-products-query.md 1 KB
- references/smart-collection-create.md 1 KB
Wersje
W bazie nie ma innych skilli o nazwie shopify-core-workflow-a.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 2374a41df563 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100shopify-products
Tworzy i zarządza produktami Shopify przez Admin GraphQL API lub import CSV: zbiorcze dodawanie katalogu, aktualizacja wariantów i cen, stany magazynowe, obrazy i przypisanie do kolekcji. - 100shopify-core-workflow-b
Zarządza zamówieniami, klientami i realizacją zamówień Shopify przez GraphQL Admin API: zapytania o zamówienia, fulfillment i integracje zarządzania zamówieniami. - 100shopify-hello-world
Tworzy minimalną aplikację Shopify pobierającą produkty przez GraphQL Admin API, przydatną na starcie integracji i do sprawdzenia konfiguracji. - 100shopify-app-development
Buduje aplikację Shopify z uwierzytelnianiem sesji, zapytaniami Admin GraphQL i obsługą webhooków weryfikowanych przez HMAC. - 95shopify-admin
Pisze i wyjaśnia zapytania oraz mutacje Admin GraphQL dla aplikacji rozszerzających panel administracyjny sklepu Shopify. - 100shopify
Pracuje z zasobami Shopify przez Admin GraphQL: odczyt i zmiany produktów, zamówień, klientów i stanów, w kilku sklepach naraz.