[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758W2TTWZD47WK7F7FHCH0E":3,"skill-same:01M758W2TTWZD47WK7F7FHCH0E":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M758W2TTWZD47WK7F7FHCH0E","shopify",null,"Shopify Admin & Storefront GraphQL APIs via curl. Products, orders, customers, inventory, metafields.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fshopify\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: shopify\nversion: 1.0.0\ndescription: \"Shopify Admin & Storefront GraphQL APIs via curl. Products, orders, customers, inventory, metafields.\"\n---\n\n## When to Use\nUse when reading or querying Shopify store data (products, orders, customers, inventory, metafields) via the Admin or Storefront GraphQL APIs using curl — no SDK needed. For order mutations or app development, prefer the official libraries.\n\n## Workflow\n1. **Get credentials.** Admin: a private\u002Fcustom app admin API access token sent as `X-Shopify-Access-Token`. Storefront: a storefront access token sent as `X-Shopify-Storefront-Access-Token` (safe to expose client-side).\n2. **Pick the endpoint.** Admin: `https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json`. Storefront: `https:\u002F\u002F{store}.myshopify.com\u002Fapi\u002F2026-01\u002Fgraphql.json`.\n3. **Query.** Use `curl -s -X POST` with a JSON body containing `query` and optional `variables`.\n\n### Admin — products with variants\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { products(first: 10) { edges { node { id title handle status variants(first: 5) { edges { node { id title sku price } } } } } } }\"\n  }'\n```\n\n### Admin — recent orders\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { orders(first: 10, sortKey: CREATED_AT, reverse: true) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } } } } }\"\n  }'\n```\n\n### Admin — customers\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\"query\": \"query { customers(first: 10) { edges { node { id email firstName lastName ordersCount } } } }\"}'\n```\n\n### Admin — inventory locations then levels\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\"query\": \"query { locations(first: 10) { edges { node { id name } } } }\"}'\n```\nThen query `inventoryLevels(locationId: \"LOCATION_ID\") { nodes { available } }` for stock per variant.\n\n### Admin — metafields on a product\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { product(id: \\\"gid:\u002F\u002Fshopify\u002FProduct\u002FPRODUCT_ID\\\") { metafields(first: 10) { edges { node { namespace key value type } } } } }\"\n  }'\n```\n\n### Storefront — products (public, client-safe)\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Storefront-Access-Token: $SHOPIFY_STOREFRONT_TOKEN\" \\\n  -d '{\"query\": \"query { products(first: 10) { edges { node { id title handle availableForSale } } } }\"}'\n```\n\n### Pagination (cursor)\nShopify returns `pageInfo { hasNextPage endCursor }`; pass the cursor to the next request:\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { products(first: 10, after: \\\"CURSOR\\\") { edges { node { id title } } pageInfo { hasNextPage endCursor } } }\"\n  }'\n```\n\n## Pitfalls\n- Admin API rate limit: 2 requests\u002Fsecond (burst 40). Storefront: 4 requests\u002Fsecond (burst 60). Monitor the `X-Shopify-Shop-Api-Call-Limit` response header; back off with jitter on 429s.\n- IDs are opaque GIDs (`gid:\u002F\u002Fshopify\u002FProduct\u002F123`) — always pass them as strings and URL-encode them inside query variables.\n- Product `status` is DRAFT\u002FACTIVE\u002FARCHIVED; use the `query:` argument to filter list queries.\n- The Storefront API only exposes published, sales-channel-visible data — don't use it for admin reads.\n- Never hardcode tokens in scripts — use env vars (e.g. `$SHOPIFY_ADMIN_TOKEN`); keep them out of logs and reports.\n- The `2026-01` version segment is pinned — Shopify deprecates API versions, so update it on a schedule.\n\n## Verification\n- Confirm the response has no `errors` key; if present, fix the query before trusting data.\n- Sanity-check counts: products returned vs. expected catalog size; order timestamps within the expected window.\n- For storefront calls, verify the query works with the public token only (no admin auth).\n- During bulk loops, watch the rate-limit header stays under limits.\n","## When to Use\nUse when reading or querying Shopify store data (products, orders, customers, inventory, metafields) via the Admin or Storefront GraphQL APIs using curl — no SDK needed. For order mutations or app development, prefer the official libraries.\n\n## Workflow\n1. **Get credentials.** Admin: a private\u002Fcustom app admin API access token sent as `X-Shopify-Access-Token`. Storefront: a storefront access token sent as `X-Shopify-Storefront-Access-Token` (safe to expose client-side).\n2. **Pick the endpoint.** Admin: `https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json`. Storefront: `https:\u002F\u002F{store}.myshopify.com\u002Fapi\u002F2026-01\u002Fgraphql.json`.\n3. **Query.** Use `curl -s -X POST` with a JSON body containing `query` and optional `variables`.\n\n### Admin — products with variants\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { products(first: 10) { edges { node { id title handle status variants(first: 5) { edges { node { id title sku price } } } } } } }\"\n  }'\n```\n\n### Admin — recent orders\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { orders(first: 10, sortKey: CREATED_AT, reverse: true) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } } } } }\"\n  }'\n```\n\n### Admin — customers\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\"query\": \"query { customers(first: 10) { edges { node { id email firstName lastName ordersCount } } } }\"}'\n```\n\n### Admin — inventory locations then levels\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\"query\": \"query { locations(first: 10) { edges { node { id name } } } }\"}'\n```\nThen query `inventoryLevels(locationId: \"LOCATION_ID\") { nodes { available } }` for stock per variant.\n\n### Admin — metafields on a product\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { product(id: \\\"gid:\u002F\u002Fshopify\u002FProduct\u002FPRODUCT_ID\\\") { metafields(first: 10) { edges { node { namespace key value type } } } } }\"\n  }'\n```\n\n### Storefront — products (public, client-safe)\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Storefront-Access-Token: $SHOPIFY_STOREFRONT_TOKEN\" \\\n  -d '{\"query\": \"query { products(first: 10) { edges { node { id title handle availableForSale } } } }\"}'\n```\n\n### Pagination (cursor)\nShopify returns `pageInfo { hasNextPage endCursor }`; pass the cursor to the next request:\n```bash\ncurl -s -X POST \"https:\u002F\u002F{store}.myshopify.com\u002Fadmin\u002Fapi\u002F2026-01\u002Fgraphql.json\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN\" \\\n  -d '{\n    \"query\": \"query { products(first: 10, after: \\\"CURSOR\\\") { edges { node { id title } } pageInfo { hasNextPage endCursor } } }\"\n  }'\n```\n\n## Pitfalls\n- Admin API rate limit: 2 requests\u002Fsecond (burst 40). Storefront: 4 requests\u002Fsecond (burst 60). Monitor the `X-Shopify-Shop-Api-Call-Limit` response header; back off with jitter on 429s.\n- IDs are opaque GIDs (`gid:\u002F\u002Fshopify\u002FProduct\u002F123`) — always pass them as strings and URL-encode them inside query variables.\n- Product `status` is DRAFT\u002FACTIVE\u002FARCHIVED; use the `query:` argument to filter list queries.\n- The Storefront API only exposes published, sales-channel-visible data — don't use it for admin reads.\n- Never hardcode tokens in scripts — use env vars (e.g. `$SHOPIFY_ADMIN_TOKEN`); keep them out of logs and reports.\n- The `2026-01` version segment is pinned — Shopify deprecates API versions, so update it on a schedule.\n\n## Verification\n- Confirm the response has no `errors` key; if present, fix the query before trusting data.\n- Sanity-check counts: products returned vs. expected catalog size; order timestamps within the expected window.\n- For storefront calls, verify the query works with the public token only (no admin auth).\n- During bulk loops, watch the rate-limit header stays under limits.\n",{"name":5,"version":24,"description":7},"1.0.0","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fproductivity\u002Fshopify",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill shopify",{"tool":40,"command":41},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill shopify",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill shopify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fshopify\u002FSKILL.md",true,[],[49,57,64,71,78,85],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":56},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":56},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":56},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":56},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":56},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]