[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M795Z965T7A0R5XJD92YTY9Q":3,"skill-same:01M795Z965T7A0R5XJD92YTY9Q":56},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M795Z965T7A0R5XJD92YTY9Q","shopify-known-pitfalls",null,"Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong API version,\nREST instead of GraphQL, missing GDPR webhooks, and webhook timeout issues.\nUse when reviewing a Shopify codebase, preparing for App Store submission, or debugging mysterious API failures.\nTrigger with phrases like \"shopify mistakes\", \"shopify anti-patterns\",\n\"shopify pitfalls\", \"shopify what not to do\", \"shopify code review\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--shopify-pack--shopify-known-pitfalls\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shopify-known-pitfalls\ndescription: |\n  Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong API version,\n  REST instead of GraphQL, missing GDPR webhooks, and webhook timeout issues.\n  Use when reviewing a Shopify codebase, preparing for App Store submission, or debugging mysterious API failures.\n  Trigger with phrases like \"shopify mistakes\", \"shopify anti-patterns\",\n  \"shopify pitfalls\", \"shopify what not to do\", \"shopify code review\".\nallowed-tools: Read, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, ecommerce, shopify]\ncompatible-with: claude-code\n---\n\n# Shopify Known Pitfalls\n\n## Overview\n\nThe 10 most common mistakes when building Shopify apps, with real API examples showing the wrong way and the right way.\n\n## Prerequisites\n\n- Existing Shopify app codebase to review or audit\n- Familiarity with GraphQL Admin API query patterns and response shapes\n- Access scopes configured for the APIs your app uses\n- `@shopify\u002Fshopify-api` v9+ installed (for code examples)\n\n## Instructions\n\nEach pitfall includes a wrong-way and right-way code example. See [Pitfall Examples](references\u002Fpitfall-examples.md) for all 10 complete code comparisons.\n\n### Pitfall #1: Not Checking userErrors (The #1 Mistake)\n\nShopify GraphQL mutations return HTTP 200 even when they fail. The errors are in `userErrors`. Always check `userErrors.length > 0` before accessing the result.\n\n### Pitfall #2: Using REST When GraphQL Is Required\n\nREST Admin API is legacy as of October 2024. New public apps after April 2025 **must** use GraphQL. GraphQL also lets you request only the fields you need.\n\n### Pitfall #3: Ignoring API Version Deprecation\n\nShopify deprecates API versions ~12 months after release. Use `LATEST_API_VERSION` from `@shopify\u002Fshopify-api` and monitor `x-shopify-api-deprecated-reason` response headers.\n\n### Pitfall #4: Missing Mandatory GDPR Webhooks\n\nYour app **will be rejected** from the App Store without `customers\u002Fdata_request`, `customers\u002Fredact`, and `shop\u002Fredact` webhook handlers.\n\n### Pitfall #5: Webhook Handler Takes Too Long\n\nShopify expects a 200 response within 5 seconds. Respond immediately and queue work asynchronously, otherwise Shopify retries and creates duplicates.\n\n### Pitfall #6: Using ProductInput on API 2024-10+\n\nThe `ProductInput` type was split into `ProductCreateInput` and `ProductUpdateInput` in 2024-10. Use the specific type for each operation.\n\n### Pitfall #7: Not Using Cursor Pagination\n\nShopify uses Relay-style cursor pagination, not page numbers. Use `after` \u002F `endCursor` with `pageInfo`.\n\n### Pitfall #8: Requesting 250 Items Per Page\n\n`first: 250` with nested connections creates enormous query costs that THROTTLE immediately. Use `first: 50` or smaller with nested resources.\n\n### Pitfall #9: Exposing Admin Token in Client-Side Code\n\nAdmin API tokens have full access. Never send them to the browser — proxy through your server.\n\n### Pitfall #10: Not Handling APP_UNINSTALLED Webhook\n\nWhen a merchant uninstalls your app, clean up sessions immediately. Stale sessions cause auth redirect loops on reinstall.\n\n## Output\n\n- Anti-patterns identified in codebase\n- Fixes prioritized (security first, then correctness)\n- Prevention measures in place (linting, CI checks)\n\n## Error Handling\n\n| Pitfall | How to Detect | Prevention |\n|---------|--------------|------------|\n| Missing userErrors check | Null pointer crashes | ESLint rule or wrapper function |\n| REST usage | `grep -r \"clients.Rest\" src\u002F` | Migration guide + lint rule |\n| Old API version | `grep -r \"apiVersion\" src\u002F` | CI check against supported versions |\n| Missing GDPR webhooks | App Store rejection | Pre-submit compliance checker |\n| Webhook timeout | Shopify retry storms | Queue-based processing |\n| ProductInput on 2024-10 | GraphQL type error | Update mutations |\n| Page-based pagination | Query errors | Use cursor pagination pattern |\n| `first: 250` | THROTTLED responses | Query cost budgets |\n| Admin token in client | Security audit | Server-side proxy |\n| No APP_UNINSTALLED | Auth loops on reinstall | Webhook handler + session cleanup |\n\n## Examples\n\n### Quick Pitfall Scan\n\nRun automated detection against your Shopify codebase to find REST usage, missing userErrors checks, old API versions, hardcoded tokens, and oversized page requests.\n\nSee [Pitfall Scan Script](references\u002Fpitfall-scan-script.md) for the complete scan script.\n\n## Resources\n\n- [Shopify App Requirements](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Flaunch\u002Fapp-requirements)\n- [GraphQL Migration Guide](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fgraphql\u002Fmigrate\u002Flearn-how)\n- [2024-10 Breaking Changes](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Frelease-notes\u002F2024-10)\n- [Webhook Best Practices](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fwebhooks)\n\n## Quick Reference Card\n\n| Pitfall | Detection | Fix |\n|---------|-----------|-----|\n| No userErrors check | Null crashes on mutations | Always check `userErrors.length > 0` |\n| REST instead of GraphQL | `grep \"clients.Rest\"` | Migrate to `clients.Graphql` |\n| Old API version | `grep \"2023-\"` | Use `LATEST_API_VERSION` from SDK |\n| Missing GDPR webhooks | App Store rejection | Add 3 mandatory webhook handlers |\n| Webhook timeout | Retry storms, duplicates | Respond 200 immediately, queue processing |\n| ProductInput on 2024-10 | Type error | Use `ProductCreateInput` \u002F `ProductUpdateInput` |\n| Page-number pagination | Query errors | Use cursor-based with `pageInfo` |\n| `first: 250` with nesting | THROTTLED | Use `first: 50` or smaller |\n| Admin token in browser | Security scan | Server-side proxy only |\n| No APP_UNINSTALLED | Auth loop on reinstall | Clean up sessions on uninstall |\n","# Shopify Known Pitfalls\n\n## Overview\n\nThe 10 most common mistakes when building Shopify apps, with real API examples showing the wrong way and the right way.\n\n## Prerequisites\n\n- Existing Shopify app codebase to review or audit\n- Familiarity with GraphQL Admin API query patterns and response shapes\n- Access scopes configured for the APIs your app uses\n- `@shopify\u002Fshopify-api` v9+ installed (for code examples)\n\n## Instructions\n\nEach pitfall includes a wrong-way and right-way code example. See [Pitfall Examples](references\u002Fpitfall-examples.md) for all 10 complete code comparisons.\n\n### Pitfall #1: Not Checking userErrors (The #1 Mistake)\n\nShopify GraphQL mutations return HTTP 200 even when they fail. The errors are in `userErrors`. Always check `userErrors.length > 0` before accessing the result.\n\n### Pitfall #2: Using REST When GraphQL Is Required\n\nREST Admin API is legacy as of October 2024. New public apps after April 2025 **must** use GraphQL. GraphQL also lets you request only the fields you need.\n\n### Pitfall #3: Ignoring API Version Deprecation\n\nShopify deprecates API versions ~12 months after release. Use `LATEST_API_VERSION` from `@shopify\u002Fshopify-api` and monitor `x-shopify-api-deprecated-reason` response headers.\n\n### Pitfall #4: Missing Mandatory GDPR Webhooks\n\nYour app **will be rejected** from the App Store without `customers\u002Fdata_request`, `customers\u002Fredact`, and `shop\u002Fredact` webhook handlers.\n\n### Pitfall #5: Webhook Handler Takes Too Long\n\nShopify expects a 200 response within 5 seconds. Respond immediately and queue work asynchronously, otherwise Shopify retries and creates duplicates.\n\n### Pitfall #6: Using ProductInput on API 2024-10+\n\nThe `ProductInput` type was split into `ProductCreateInput` and `ProductUpdateInput` in 2024-10. Use the specific type for each operation.\n\n### Pitfall #7: Not Using Cursor Pagination\n\nShopify uses Relay-style cursor pagination, not page numbers. Use `after` \u002F `endCursor` with `pageInfo`.\n\n### Pitfall #8: Requesting 250 Items Per Page\n\n`first: 250` with nested connections creates enormous query costs that THROTTLE immediately. Use `first: 50` or smaller with nested resources.\n\n### Pitfall #9: Exposing Admin Token in Client-Side Code\n\nAdmin API tokens have full access. Never send them to the browser — proxy through your server.\n\n### Pitfall #10: Not Handling APP_UNINSTALLED Webhook\n\nWhen a merchant uninstalls your app, clean up sessions immediately. Stale sessions cause auth redirect loops on reinstall.\n\n## Output\n\n- Anti-patterns identified in codebase\n- Fixes prioritized (security first, then correctness)\n- Prevention measures in place (linting, CI checks)\n\n## Error Handling\n\n| Pitfall | How to Detect | Prevention |\n|---------|--------------|------------|\n| Missing userErrors check | Null pointer crashes | ESLint rule or wrapper function |\n| REST usage | `grep -r \"clients.Rest\" src\u002F` | Migration guide + lint rule |\n| Old API version | `grep -r \"apiVersion\" src\u002F` | CI check against supported versions |\n| Missing GDPR webhooks | App Store rejection | Pre-submit compliance checker |\n| Webhook timeout | Shopify retry storms | Queue-based processing |\n| ProductInput on 2024-10 | GraphQL type error | Update mutations |\n| Page-based pagination | Query errors | Use cursor pagination pattern |\n| `first: 250` | THROTTLED responses | Query cost budgets |\n| Admin token in client | Security audit | Server-side proxy |\n| No APP_UNINSTALLED | Auth loops on reinstall | Webhook handler + session cleanup |\n\n## Examples\n\n### Quick Pitfall Scan\n\nRun automated detection against your Shopify codebase to find REST usage, missing userErrors checks, old API versions, hardcoded tokens, and oversized page requests.\n\nSee [Pitfall Scan Script](references\u002Fpitfall-scan-script.md) for the complete scan script.\n\n## Resources\n\n- [Shopify App Requirements](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Flaunch\u002Fapp-requirements)\n- [GraphQL Migration Guide](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fgraphql\u002Fmigrate\u002Flearn-how)\n- [2024-10 Breaking Changes](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Frelease-notes\u002F2024-10)\n- [Webhook Best Practices](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fwebhooks)\n\n## Quick Reference Card\n\n| Pitfall | Detection | Fix |\n|---------|-----------|-----|\n| No userErrors check | Null crashes on mutations | Always check `userErrors.length > 0` |\n| REST instead of GraphQL | `grep \"clients.Rest\"` | Migrate to `clients.Graphql` |\n| Old API version | `grep \"2023-\"` | Use `LATEST_API_VERSION` from SDK |\n| Missing GDPR webhooks | App Store rejection | Add 3 mandatory webhook handlers |\n| Webhook timeout | Retry storms, duplicates | Respond 200 immediately, queue processing |\n| ProductInput on 2024-10 | Type error | Use `ProductCreateInput` \u002F `ProductUpdateInput` |\n| Page-number pagination | Query errors | Use cursor-based with `pageInfo` |\n| `first: 250` with nesting | THROTTLED | Use `first: 50` or smaller |\n| Admin token in browser | Security scan | Server-side proxy only |\n| No APP_UNINSTALLED | Auth loop on reinstall | Clean up sessions on uninstall |\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","ecommerce","shopify","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong API version,\nREST instead of GraphQL, missing GDPR webhooks, and webhook timeout issues.\nUse when reviewing a Shopify codebase, preparing for App Store submission, or debugging mysterious API failures.\nTrigger with phrases like \"shopify mistakes\", \"shopify anti-patterns\",\n\"shopify pitfalls\", \"shopify what not to do\", \"shopify code review\".\n","Read, Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--shopify-pack--shopify-known-pitfalls",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill shopify-known-pitfalls",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill shopify-known-pitfalls",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill shopify-known-pitfalls","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--shopify-pack--shopify-known-pitfalls\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"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":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\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":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\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":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\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":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\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":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]