[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CHM55484S831548DRT6BW0":3,"skill-same:01M7CHM55484S831548DRT6BW0":55},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7CHM55484S831548DRT6BW0","shopify-custom-data",null,"MUST be used first when prompts mention Metafields or Metaobjects. Use Metafields and Metaobjects to model and store custom data for your app. Metafields extend built-in Shopify data types like products or customers, Metaobjects are custom data types that can be used to store bespoke data structures. Metafield and Metaobject definitions provide a schema and configuration for values to follow.","rossboyd\u002Fquickque","rossboyd","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3195729?v=4","01M7CG99NTNRFV0TWTZX9JY9CQ","rbyd","01M7CG99PH4WEP5P45VTBNPDB0",0,"MIT","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002F.tmp\u002Fplugins\u002Fplugins\u002Fshopify\u002Fskills\u002Fshopify-custom-data\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shopify-custom-data\ndescription: \"MUST be used first when prompts mention Metafields or Metaobjects. Use Metafields and Metaobjects to model and store custom data for your app. Metafields extend built-in Shopify data types like products or customers, Metaobjects are custom data types that can be used to store bespoke data structures. Metafield and Metaobject definitions provide a schema and configuration for values to follow.\"\ncompatibility: Requires Node.js\nmetadata:\n  author: Shopify\n  version: \"1.9.1\"\n---\n\n\u003Ccritical-instructions>\n# Best Practise for working with Metafields and Metaobjects\n\n# ESSENTIAL RULES\n\n- **ALWAYS** show creating metafield\u002Fmetaobject definitions, then writing values, then retrieving values.\n- **NEVER** show or offer alternate approaches to the same problem if not explicitly requested. It will only increase the user's confusion.\n- Keep examples minimal -- avoid unnecessary prose and comments\n- Remember the audience for this guidance is app developers -- they do not have access to the Shopify Admin site\n- Follow this guidance meticulously and thoroughly\n\nREMEMBER!!! Other documentation can flesh out this guidance, but the instructions here should be followed VERY CLOSELY and TAKE PRECEDENCE!\n\n# ALWAYS: First, create definitions\n\n## with TOML (99.99% of apps)\n\n```toml\n# shopify.app.toml\n\n# Metafield definition -- owner type is PRODUCT, namespace is $app, key is care_guide\n[product.metafields.app.care_guide]\ntype = \"single_line_text_field\"\nname = \"Care Guide\"\naccess.admin = \"merchant_read_write\"\n\n# Metaobject definition -- type is $app:author\n[metaobjects.app.author]\nname = \"Author\"\ndisplay_name_field = \"name\"\naccess.storefront = \"public_read\"\n\n[metaobjects.app.author.fields.name]\nname = \"Author Name\"\ntype = \"single_line_text_field\"\nrequired = true\n\n# Link metaobject to product\n[product.metafields.app.author]\ntype = \"metaobject_reference\u003C$app:author>\"\nname = \"Book Author\"\n```\n\nWhy: Version controlled, auto-installed, type-safe. GraphQL (Admin\u002FStorefront) is used for reading or writing values after the TOML definitions already exist. Fields\u002Fobjects can be edited by merchants when `access.admin = \"merchant_read_write\"` is set.\n\n**NEVER** include `metafieldDefinitionCreate`, `metaobjectDefinitionCreate` GraphQL if TOML is the correct fit.\n\n### Exceptions (0.01% of apps)\n\n**NEVER, EVER** show these unless strictly required:\n\n- Apps that **REQUIRE** creating definitions at **runtime** (i.e. types are configured dynamically by merchants) should use `metafieldDefinitionCreate`, `metaobjectDefinitionCreate`\n- Apps that want **other apps** to read\u002Fwrite their data should use the above GraphQL, and \"merchant-owned\" namespace\n\n# CRITICAL: App-Owned Metaobject and Metafield identification\n\n- Metaobjects defined with `[metaobjects.app.example...]` in `shopify.app.toml`, MUST be accessed using `type: $app:example`\n- Metafields defined with `[product.metafields.app.example]` MUST be accessed using `namespace: $app` and `key: example`\n  - The same applies to other owner types, like customers, orders, etc.\n- Avoid customizing namespaces for metafields.\n- Avoid the common mistake of using `namespace: app`. This is profoundly incorrect.\n\n# NEXT: demonstrate writing metafield and metaobject values via Admin API\n\n## Writing metafields\n\n**ALWAYS** use `metafieldsSet` to write metafields. `namespace` should normally be excluded as the default is $app.\n\n```graphql\nmutation {\n  metafieldsSet(metafields:[{\n    ownerId: \"gid:\u002F\u002Fshopify\u002FProduct\u002F1234\",\n    key: \"example\",\n    value: \"Hello, World!\"\n  }]) { ... }\n}\n```\n\n## Writing metaobjects\n\n**ALWAYS** use `metaobjectUpsert` to write metaobjects.\n\n```graphql\nmutation {\n  metaobjectUpsert(handle: {\n    type: \"$app:author\",\n    handle: \"my-metaobject\",\n  }, metaobject: {\n    fields: [{\n      key: \"example\",\n      value: \"Hello, world!\"\n    }]\n  }) { ... }\n}\n```\n\n# FINALLY: demonstrate reading metafield and metaobject values\n\n## Loading metafields\n\nMetafields are accessed via their owning type (e.g. a Product). `namespace` should normally be excluded as the default is $app.\n\n- Always prefer `jsonValue` where possible as it better serialises complex types\n- Always alias metafield loads for easy reference\n\n```graphql\n# Admin API\nquery {\n  product(id: \"gid:\u002F\u002Fshopify\u002FProduct\u002F1234\") {\n    example: metafield(key: \"example\") {\n      jsonValue\n    }\n  }\n}\n# Storefront API\nquery {\n  product(handle: \"wireless-headphones-1\") {\n    example: metafield(key: \"example\") {\n      value\n    }\n  }\n}\n```\n\n## Loading metaobjects\n\n```graphql\n# Admin API\nquery {\n  metaobjects(type: \"$app:author\", first: 10) {\n    nodes {\n      handle\n      example: field(key: \"example\") {\n        jsonValue\n      }\n    }\n  }\n}\n# Storefront API\nquery {\n  metaobjects(type: \"$app:author\", first: 10) {\n    nodes {\n      handle\n      example: field(key: \"example\") {\n        value\n      }\n    }\n  }\n}\n```\n\n### Access Metafields directly in checkout extensions\n\n**DO**: Access app-owned metafields directly (NO network call):\n\n```tsx\nfunction Extension() {\n  \u002F\u002F ESSENTIAL: Register this metafield in `shopify.extension.toml`\n  const [energyRating] = useAppMetafields({\n    namespace: \"$app\",\n    key: \"energy-rating\",\n    type: \"product\",\n  }).filter((entry) => entry.target.id === productVariantId);\n}\n```\n\n**DON'T**: Make network calls for app-owned metafields.\n\n### Access Metafields in Shopify Functions\n\nUse the GraphQL input query to select metafields to load:\n\n```graphql\nquery Input {\n  cart {\n    lines {\n      merchandise {\n        __typename\n        ... on ProductVariant {\n          example: metafield(namespace: \"$app\", key: \"example\") {\n            jsonValue\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nDocs: [Metafields & Metaobjects](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fcustom-data)\n\u003C\u002Fcritical-instructions>\n\n### Always use Shopify CLI\n\n- **CLI:** ALWAYS use Shopify CLI to scaffold apps and extensions. Never hand-roll files: `shopify app init`, `shopify app generate extension`, `shopify app dev`, `shopify app deploy`.\n- For CLI installation, setup, upgrade, or troubleshooting, use `shopify-use-shopify-cli`.\n","\u003Ccritical-instructions>\n# Best Practise for working with Metafields and Metaobjects\n\n# ESSENTIAL RULES\n\n- **ALWAYS** show creating metafield\u002Fmetaobject definitions, then writing values, then retrieving values.\n- **NEVER** show or offer alternate approaches to the same problem if not explicitly requested. It will only increase the user's confusion.\n- Keep examples minimal -- avoid unnecessary prose and comments\n- Remember the audience for this guidance is app developers -- they do not have access to the Shopify Admin site\n- Follow this guidance meticulously and thoroughly\n\nREMEMBER!!! Other documentation can flesh out this guidance, but the instructions here should be followed VERY CLOSELY and TAKE PRECEDENCE!\n\n# ALWAYS: First, create definitions\n\n## with TOML (99.99% of apps)\n\n```toml\n# shopify.app.toml\n\n# Metafield definition -- owner type is PRODUCT, namespace is $app, key is care_guide\n[product.metafields.app.care_guide]\ntype = \"single_line_text_field\"\nname = \"Care Guide\"\naccess.admin = \"merchant_read_write\"\n\n# Metaobject definition -- type is $app:author\n[metaobjects.app.author]\nname = \"Author\"\ndisplay_name_field = \"name\"\naccess.storefront = \"public_read\"\n\n[metaobjects.app.author.fields.name]\nname = \"Author Name\"\ntype = \"single_line_text_field\"\nrequired = true\n\n# Link metaobject to product\n[product.metafields.app.author]\ntype = \"metaobject_reference\u003C$app:author>\"\nname = \"Book Author\"\n```\n\nWhy: Version controlled, auto-installed, type-safe. GraphQL (Admin\u002FStorefront) is used for reading or writing values after the TOML definitions already exist. Fields\u002Fobjects can be edited by merchants when `access.admin = \"merchant_read_write\"` is set.\n\n**NEVER** include `metafieldDefinitionCreate`, `metaobjectDefinitionCreate` GraphQL if TOML is the correct fit.\n\n### Exceptions (0.01% of apps)\n\n**NEVER, EVER** show these unless strictly required:\n\n- Apps that **REQUIRE** creating definitions at **runtime** (i.e. types are configured dynamically by merchants) should use `metafieldDefinitionCreate`, `metaobjectDefinitionCreate`\n- Apps that want **other apps** to read\u002Fwrite their data should use the above GraphQL, and \"merchant-owned\" namespace\n\n# CRITICAL: App-Owned Metaobject and Metafield identification\n\n- Metaobjects defined with `[metaobjects.app.example...]` in `shopify.app.toml`, MUST be accessed using `type: $app:example`\n- Metafields defined with `[product.metafields.app.example]` MUST be accessed using `namespace: $app` and `key: example`\n  - The same applies to other owner types, like customers, orders, etc.\n- Avoid customizing namespaces for metafields.\n- Avoid the common mistake of using `namespace: app`. This is profoundly incorrect.\n\n# NEXT: demonstrate writing metafield and metaobject values via Admin API\n\n## Writing metafields\n\n**ALWAYS** use `metafieldsSet` to write metafields. `namespace` should normally be excluded as the default is $app.\n\n```graphql\nmutation {\n  metafieldsSet(metafields:[{\n    ownerId: \"gid:\u002F\u002Fshopify\u002FProduct\u002F1234\",\n    key: \"example\",\n    value: \"Hello, World!\"\n  }]) { ... }\n}\n```\n\n## Writing metaobjects\n\n**ALWAYS** use `metaobjectUpsert` to write metaobjects.\n\n```graphql\nmutation {\n  metaobjectUpsert(handle: {\n    type: \"$app:author\",\n    handle: \"my-metaobject\",\n  }, metaobject: {\n    fields: [{\n      key: \"example\",\n      value: \"Hello, world!\"\n    }]\n  }) { ... }\n}\n```\n\n# FINALLY: demonstrate reading metafield and metaobject values\n\n## Loading metafields\n\nMetafields are accessed via their owning type (e.g. a Product). `namespace` should normally be excluded as the default is $app.\n\n- Always prefer `jsonValue` where possible as it better serialises complex types\n- Always alias metafield loads for easy reference\n\n```graphql\n# Admin API\nquery {\n  product(id: \"gid:\u002F\u002Fshopify\u002FProduct\u002F1234\") {\n    example: metafield(key: \"example\") {\n      jsonValue\n    }\n  }\n}\n# Storefront API\nquery {\n  product(handle: \"wireless-headphones-1\") {\n    example: metafield(key: \"example\") {\n      value\n    }\n  }\n}\n```\n\n## Loading metaobjects\n\n```graphql\n# Admin API\nquery {\n  metaobjects(type: \"$app:author\", first: 10) {\n    nodes {\n      handle\n      example: field(key: \"example\") {\n        jsonValue\n      }\n    }\n  }\n}\n# Storefront API\nquery {\n  metaobjects(type: \"$app:author\", first: 10) {\n    nodes {\n      handle\n      example: field(key: \"example\") {\n        value\n      }\n    }\n  }\n}\n```\n\n### Access Metafields directly in checkout extensions\n\n**DO**: Access app-owned metafields directly (NO network call):\n\n```tsx\nfunction Extension() {\n  \u002F\u002F ESSENTIAL: Register this metafield in `shopify.extension.toml`\n  const [energyRating] = useAppMetafields({\n    namespace: \"$app\",\n    key: \"energy-rating\",\n    type: \"product\",\n  }).filter((entry) => entry.target.id === productVariantId);\n}\n```\n\n**DON'T**: Make network calls for app-owned metafields.\n\n### Access Metafields in Shopify Functions\n\nUse the GraphQL input query to select metafields to load:\n\n```graphql\nquery Input {\n  cart {\n    lines {\n      merchandise {\n        __typename\n        ... on ProductVariant {\n          example: metafield(namespace: \"$app\", key: \"example\") {\n            jsonValue\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nDocs: [Metafields & Metaobjects](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Fbuild\u002Fcustom-data)\n\u003C\u002Fcritical-instructions>\n\n### Always use Shopify CLI\n\n- **CLI:** ALWAYS use Shopify CLI to scaffold apps and extensions. Never hand-roll files: `shopify app init`, `shopify app generate extension`, `shopify app dev`, `shopify app deploy`.\n- For CLI installation, setup, upgrade, or troubleshooting, use `shopify-use-shopify-cli`.\n",{"name":5,"metadata":24,"description":7,"compatibility":27},{"author":25,"version":26},"Shopify","1.9.1","Requires Node.js","main","907b1d897cc6743f7f133f8ea2021e1331b0b020",".codex\u002F.tmp\u002Fplugins\u002Fplugins\u002Fshopify\u002Fskills\u002Fshopify-custom-data","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque","https:\u002F\u002Fgithub.com\u002Frossboyd","www.bigideasgroup.co.uk","2026-09-22 02:03:50",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add rossboyd\u002Fquickque --skill shopify-custom-data",{"tool":41,"command":42},"bunx","bunx skills add rossboyd\u002Fquickque --skill shopify-custom-data",{"tool":44,"command":45},"pnpm","pnpm dlx skills add rossboyd\u002Fquickque --skill shopify-custom-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002F.tmp\u002Fplugins\u002Fplugins\u002Fshopify\u002Fskills\u002Fshopify-custom-data\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",220,"https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002F.tmp\u002Fplugins\u002Fplugins\u002Fshopify\u002Fskills\u002Fshopify-custom-data\u002Fagents\u002Fopenai.yaml",[56,65,73,80,87,95],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CJSS21K09H3ZQZMPFR4ZAG","skill-installer","Install Codex skills into $CODEX_HOME\u002Fskills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fskill-installer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fskill-installer\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CJSM1F4E7RBXCS3C18EFBY","skill-creator","Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CJSGF2PJM504Q6TZCNT27C","review-agent","Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Freview-agent\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CJSBQTPFEQYZF4VWS7QZ3N","plugin-creator","Create and scaffold plugin directories for Codex with a required `.codex-plugin\u002Fplugin.json`, optional plugin folders\u002Ffiles, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fplugin-creator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7CJS5BHJZKA16353PVZGC50","openai-docs","Use for Codex models\u002Fpricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs\u002Fproducts and ChatGPT Work. Also use for model choice\u002Fmigration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat\u002FWork\u002FCodex comparisons. Do not use for generic app\u002Fsoftware tasks that merely mention Codex.","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fopenai-docs\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fopenai-docs\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7CJRY1FC048P3RF4YQZ6J8B","imagegen","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fimagegen\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frossboyd\u002Fquickque\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002F.system\u002Fimagegen\u002FSKILL.md",[],[]]