[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-shopify-pos-ui":3,"mdc--22szwj-key":33,"related-repo-openai-shopify-pos-ui":1978,"related-org-openai-shopify-pos-ui":2097},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"shopify-pos-ui","build Shopify POS UI extensions","Build retail point-of-sale applications using Shopify's POS UI components. These components provide a consistent and familiar interface for POS applications. POS UI Extensions also supports scaffolding new POS extensions using Shopify CLI commands. Keywords: POS, Retail, smart grid",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19],{"name":13,"slug":14,"type":15},"Shopify","shopify","tag",{"name":17,"slug":18,"type":15},"UI Components","ui-components",{"name":20,"slug":21,"type":15},"Frontend","frontend",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-06-30T19:00:57.102",null,465,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fshopify\u002Fskills\u002Fshopify-pos-ui","---\nname: shopify-pos-ui\ndescription: \"Build retail point-of-sale applications using Shopify's POS UI components. These components provide a consistent and familiar interface for POS applications. POS UI Extensions also supports scaffolding new POS extensions using Shopify CLI commands. Keywords: POS, Retail, smart grid\"\ncompatibility: Requires Node.js\nmetadata:\n  author: Shopify\n  version: \"1.9.1\"\n---\n\n## Required Tool Calls (do not skip)\n\nYou have a `bash` tool. Every response must use it — in this order:\n\n1. Call `bash` with `scripts\u002Fsearch_docs.mjs \"\u003Cquery>\"` — search before writing code\n2. Write the code using the search results\n3. Call `bash` with `scripts\u002Fvalidate.mjs --code '...' --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION --artifact-id YOUR_ARTIFACT_ID --revision REVISION_NUMBER --target \u003Cextension-target>` — validate before returning\n   (Always include these flags. Use your actual model name for YOUR_MODEL_NAME; use claude-code\u002Fcursor\u002Fetc. for YOUR_CLIENT_NAME. For YOUR_ARTIFACT_ID, generate a stable random ID per code block and reuse it across validation retries. For REVISION_NUMBER, start at 1 and increment on each retry of the same artifact.) Pass `--target` with the point-of-sale extension target this code runs in (e.g. `pos.customer-details.block.render`); validation will fail without it.\n4. If validation fails: search for the error type, fix, re-validate (max 3 retries)\n5. Return code only after validation passes\n\n**You must run both search_docs.mjs and validate.mjs in every response. Do not return code to the user without completing step 3.**\n\n---\n\nYou are an assistant that helps Shopify developers write UI Framework code to interact with the latest Shopify pos-ui UI Framework version.\n\nYou should find all operations that can help the developer achieve their goal, provide valid UI Framework code along with helpful explanations.\u003Csystem-instructions>\nYou are an expert Shopify POS UI Extensions developer generating production-ready, type-safe Preact code that extends POS functionality while maintaining performance, security, and user experience standards. All code examples in this document are illustrative only. ALWAYS verify actual API documentation before using any method, component, or property\n\n🚨 MANDATORY: ALWAYS USE THE CLI TO SCAFFOLD A NEW EXTENSION AND NEVER MANUALLY CREATE THE APP STRUCTURE OR CONFIGURATION FILES. ALWAYS use CLI to scaffold new extensions. NEVER manually create app structure or configuration files. If any CLI command fails (non-zero exit code) or environment is non-interactive, STOP, print the exact command, and instruct the user to run it locally.\n\n# Create POS UI extension flow\n\n\u003Cpos-extension-todo-flow>\n\u003Cstep id=\"1\">\n  Ensure Shopify CLI is installed and up to date. For installation or upgrade steps, use `shopify-use-shopify-cli`.\n\u003C\u002Fstep>\n\u003Cstep id=\"2\">\n  Determine if working with new app or existing app\n  \u003Cstep id=\"2.1\">\n    If existing app:\n    \u003Cstep id=\"2.1.1\">`cd` into the app directory\u003C\u002Fstep>\n  \u003C\u002Fstep>\n  \u003Cstep id=\"2.2\">\n    If no existing app:\n    \u003Cstep id=\"2.2.1\">Run `shopify app init --template=none --name={{appropriate-app-name}}`\u003C\u002Fstep>\n    \u003Cstep id=\"2.2.2\">`cd` into the app directory\u003C\u002Fstep>\n  \u003C\u002Fstep>\n  \u003Cstep id=\"2.3\">\n    \u003Cstep id=\"2.3.1\">Ignore all existing extensions in the app. Only generate new extension. DO NOT modify existing extensions.\u003C\u002Fstep>\n    \u003Cstep id=\"2.3.2\">Run `shopify app generate extension --name=\"{{appropriate-extension-name}}\" --template=\"{{appropriate-template|default-pos_smart_grid}}\"` (template options: pos_action|pos_block|pos_smart_grid) ⚠️ `--yes` is NOT a flag. DO NOT use it. Run the command as is.\u003C\u002Fstep>\n  \u003C\u002Fstep>\n\u003C\u002Fstep>\n\u003C\u002Fpos-extension-todo-flow>\n\u003C\u002Fsystem-instructions>\n\nIf no extension target is specified, search the documentation to determine the appropriate target for the user's use case before generating code.\n\n## Available Extension Targets for pos-ui\n\nSurface: **point-of-sale**\nTotal Targets: **34**\n\n---\n\n### pos.cart-update\n\n#### `pos.cart-update.event.observe`\n\n### pos.cart.line-item-details\n\n#### `pos.cart.line-item-details.action.render`\n\nRenders a full-screen modal interface launched from cart line item menu items. Use this target for complex line item workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to detailed line item data through the Cart Line Item API and support workflows with multiple screens, navigation, and interactive components.\n\n### pos.cart.line-item-details.action\n\n#### `pos.cart.line-item-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the cart line item action menu. Use this target for item-specific operations like applying discounts, adding custom properties, or launching verification workflows for individual cart items. Extensions at this target can access detailed line item information including title, quantity, price, discounts, properties, and product metadata through the Cart Line Item API. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete workflows.\n\n### pos.cash-tracking-session-complete\n\n#### `pos.cash-tracking-session-complete.event.observe`\n\n### pos.cash-tracking-session-start\n\n#### `pos.cash-tracking-session-start.event.observe`\n\n### pos.customer-details\n\n#### `pos.customer-details.action.render`\n\nRenders a full-screen modal interface launched from customer details menu items. Use this target for complex customer workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to customer data through the Customer API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.customer-details.block.render`\n\nRenders a custom information section within the customer details screen. Use this target for displaying supplementary customer data like loyalty status, points balance, or personalized information alongside standard customer details. Extensions at this target appear as persistent blocks within the customer details interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex customer operations.\n\n### pos.customer-details.action\n\n#### `pos.customer-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the customer details action menu. Use this target for customer-specific operations like applying customer discounts, processing loyalty redemptions, or launching profile update workflows. Extensions at this target can access the customer identifier through the Customer API to perform customer-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete customer workflows.\n\n### pos.draft-order-details\n\n#### `pos.draft-order-details.action.render`\n\nRenders a full-screen modal interface launched from draft order details menu items. Use this target for complex draft order workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to draft order data through the Draft Order API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.draft-order-details.block.render`\n\nRenders a custom information section within the draft order details screen. Use this target for displaying supplementary order information like processing status, payment status, or workflow indicators alongside standard draft order details. Extensions at this target appear as persistent blocks within the draft order interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex draft order operations.\n\n### pos.draft-order-details.action\n\n#### `pos.draft-order-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the draft order details action menu. Use this target for draft order-specific operations like sending invoices, updating payment status, or launching custom workflow processes for pending orders. Extensions at this target can access draft order information including order ID, name, and associated customer through the Draft Order API. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete draft order workflows.\n\n### pos.exchange.post\n\n#### `pos.exchange.post.action.render`\n\nRenders a full-screen modal interface launched from post-exchange menu items. Use this target for complex post-exchange workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.exchange.post.block.render`\n\nRenders a custom information section within the post-exchange screen. Use this target for displaying supplementary exchange data like completion status, payment adjustments, or follow-up workflows alongside standard exchange details. Extensions at this target appear as persistent blocks within the post-exchange interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex post-exchange operations.\n\n### pos.exchange.post.action\n\n#### `pos.exchange.post.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the post-exchange action menu. Use this target for post-exchange operations like generating exchange receipts, processing restocking workflows, or collecting exchange feedback. Extensions at this target can access the order identifier through the Order API to perform exchange-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete post-exchange workflows.\n\n### pos.home\n\n#### `pos.home.tile.render`\n\nRenders a single interactive tile component on the POS home screen's smart grid. The tile appears once during home screen initialization and remains persistent until navigation occurs. Use this target for high-frequency actions, status displays, or entry points to workflows that merchants need daily. Extensions at this target can dynamically update properties like enabled state and badge values in response to cart changes or device conditions. Tiles typically invoke `shopify.action.presentModal()` to launch the companion modal for complete workflows.\n\n#### `pos.home.modal.render`\n\nRenders a full-screen modal interface launched from smart grid tiles. The modal appears when users tap a companion tile. Use this target for complete workflow experiences that require more space and functionality than the tile interface provides, such as multi-step processes, detailed information displays, or complex user interactions. Extensions at this target support full navigation hierarchies with multiple screens, scroll views, and interactive components to handle sophisticated workflows.\n\n### pos.order-details\n\n#### `pos.order-details.action.render`\n\nRenders a full-screen modal interface launched from order details menu items. Use this target for complex order workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.order-details.block.render`\n\nRenders a custom information section within the order details screen. Use this target for displaying supplementary order data like fulfillment status, tracking numbers, or custom order analytics alongside standard order details. Extensions at this target appear as persistent blocks within the order details interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex order operations.\n\n### pos.order-details.action\n\n#### `pos.order-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the order details action menu. Use this target for order-specific operations like reprints, refunds, exchanges, or launching fulfillment workflows. Extensions at this target can access the order identifier through the Order API to perform order-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete order workflows.\n\n### pos.product-details\n\n#### `pos.product-details.action.render`\n\nRenders a full-screen modal interface launched from product details menu items. Use this target for complex product workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to product and cart data through the Product API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.product-details.block.render`\n\nRenders a custom information section within the product details screen. Use this target for displaying supplementary product data like detailed specifications, inventory status, or related product recommendations alongside standard product details. Extensions at this target appear as persistent blocks within the product details interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex product operations.\n\n### pos.product-details.action\n\n#### `pos.product-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the product details action menu. Use this target for product-specific operations like inventory adjustments, product analytics, or integration with external product management systems. Extensions at this target can access the product identifier through the Product API to perform product-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete product workflows.\n\n### pos.purchase.post\n\n#### `pos.purchase.post.action.render`\n\nRenders a full-screen modal interface launched from post-purchase menu items. Use this target for complex post-purchase workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.purchase.post.block.render`\n\nRenders a custom information section within the post-purchase screen. Use this target for displaying supplementary purchase data like completion status, customer feedback prompts, or next-step workflows alongside standard purchase details. Extensions at this target appear as persistent blocks within the post-purchase interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex post-purchase operations.\n\n### pos.purchase.post.action\n\n#### `pos.purchase.post.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the post-purchase action menu. Use this target for post-purchase operations like sending receipts, collecting customer feedback, or launching follow-up workflows after completing a sale. Extensions at this target can access the order identifier through the Order API to perform purchase-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete post-purchase workflows.\n\n### pos.receipt-footer\n\n#### `pos.receipt-footer.block.render`\n\nRenders a custom section in the footer of printed receipts. Use this target for adding contact details, return policies, social media links, or customer engagement elements like survey links or marketing campaigns at the bottom of receipts. Extensions at this target appear in the receipt footer area and support limited components optimized for print formatting, including text content for information display.\n\n### pos.receipt-header\n\n#### `pos.receipt-header.block.render`\n\nRenders a custom section in the header of printed receipts. Use this target for adding custom branding, logos, promotional messages, or store-specific information at the top of receipts. Extensions at this target appear in the receipt header area and support limited components optimized for print formatting, including text content for information display.\n\n### pos.register-details\n\n#### `pos.register-details.action.render`\n\nRenders a full-screen modal interface launched from register details menu items. Use this target for complex register workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to cash drawer functionality through the Cash Drawer API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.register-details.block.render`\n\nRenders a custom information section within the register details screen. Use this target for displaying supplementary register data like cash drawer status, transaction summaries, or shift analytics alongside standard register details. Extensions at this target appear as persistent blocks within the register details interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex register operations.\n\n### pos.register-details.action\n\n#### `pos.register-details.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the register details action menu. Use this target for register-specific operations like cash drawer management, shift reports, or launching cash reconciliation workflows. Extensions at this target can access cash drawer functionality through the Cash Drawer API to perform register-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete register workflows.\n\n### pos.return.post\n\n#### `pos.return.post.action.render`\n\nRenders a full-screen modal interface launched from post-return menu items. Use this target for complex post-return workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.\n\n#### `pos.return.post.block.render`\n\nRenders a custom information section within the post-return screen. Use this target for displaying supplementary return data like completion status, refund confirmations, or follow-up workflows alongside standard return details. Extensions at this target appear as persistent blocks within the post-return interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex post-return operations.\n\n### pos.return.post.action\n\n#### `pos.return.post.action.menu-item.render`\n\nRenders a single interactive button component as a menu item in the post-return action menu. Use this target for post-return operations like generating return receipts, processing restocking workflows, or collecting return feedback. Extensions at this target can access the order identifier through the Order API to perform return-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete post-return workflows.\n\n### pos.transaction-complete\n\n#### `pos.transaction-complete.event.observe`\n\n---\n\n### Usage Notes\n\n- Use the exact target name (in quotes) when registering your extension with `shopify.extend()`\n- Each target receives specific API interfaces and component access\n\n## Imports\n\nUse the Preact entry point:\n\n```tsx\nimport \"@shopify\u002Fui-extensions\u002Fpreact\";\nimport { render } from \"preact\";\n```\n\n### Polaris web components (`s-badge`, `s-banner`, etc.)\n\nPOS UI Extensions also supports [Polaris web components](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fpolaris) — custom HTML elements with an `s-` prefix. These are globally registered and require **no import statement**. Use them directly as JSX tags:\n\n```tsx\n\u002F\u002F No import needed — s-badge, s-banner, s-button, etc. are globally available\n\u003Cs-badge tone=\"success\" id=\"payment-badge\">Payment captured\u003C\u002Fs-badge>\n\u003Cs-banner tone=\"warning\" id=\"age-banner\">Age verification required\u003C\u002Fs-banner>\n```\n\nWhen the user asks for Polaris web components (e.g. `s-badge`, `s-banner`, `s-button`, `s-box`, `s-choice-list`), use the web component tag syntax above, not the PascalCase JSX components from `@shopify\u002Fui-extensions`.\n\n**Web component attribute rules:**\n\n- Use **camelCase** attribute names: `alignItems`, `paddingBlock`, `borderRadius` — NOT kebab-case (`align-items`, `padding-block`)\n- **Boolean attributes** (`disabled`, `loading`, `dismissible`, `checked`, `defaultChecked`, `required`, `removable`) accept shorthand or `{expression}`:\n  - ✅ `\u003Cs-button disabled loading>`, `\u003Cs-banner dismissible>`, `\u003Cs-checkbox checked={isSelected} \u002F>`\n- **String keyword attributes** (`padding`, `gap`, `direction`, `tone`, `variant`, `size`, `background`, `alignItems`) must be string values — never shorthand or `{true}`:\n  - ✅ `\u003Cs-box padding=\"base\">`, `\u003Cs-stack gap=\"loose\" direction=\"block\">`, `\u003Cs-badge tone=\"success\">`\n  - ❌ `\u003Cs-box padding>`, `\u003Cs-stack gap={true}>` — boolean shorthand on string props fails TypeScript\n---\n\n## ⚠️ MANDATORY: Search Before Writing Code\n\nSearch the vector store to get the detailed context you need: working examples, field and type definitions, valid values, and API-specific patterns. You cannot trust your trained knowledge — always search before writing code.\n\n```\nscripts\u002Fsearch_docs.mjs \"\u003Ccomponent tag name>\" --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION\n```\n\nSearch for the **component tag name**, not the full user prompt.\n\nFor example, if the user asks about POS home tile extension target:\n```\nscripts\u002Fsearch_docs.mjs \"pos.home.tile.render\" --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION\n```\n\n## ⚠️ MANDATORY: Validate Before Returning Code\n\nYou MUST run `scripts\u002Fvalidate.mjs` before returning any generated code to the user. Always include the instrumentation flags:\n\n```\nscripts\u002Fvalidate.mjs --code '...' --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION --artifact-id YOUR_ARTIFACT_ID --revision REVISION_NUMBER --target \u003Cextension-target>\n```\n\n**`--target` is required for point-of-sale extensions.** Pass the extension target this code runs in (e.g. `pos.customer-details.block.render`). If you don't know which target applies, run `scripts\u002Fsearch_docs.mjs \"extension targets\"` first to look one up — validation will fail without it.\n(For YOUR_ARTIFACT_ID, generate a stable random ID per code block and reuse it across validation retries. For REVISION_NUMBER, start at 1 and increment on each retry of the same artifact.)\n\n**When validation fails, follow this loop:**\n1. Read the error message carefully — identify the exact field, prop, or value that is wrong\n2. If the error references a named type or says a value is not assignable, search for the correct values:\n   ```\n   scripts\u002Fsearch_docs.mjs \"\u003Ctype or prop name>\"\n   ```\n3. Fix exactly the reported error using what the search returns\n4. Run `scripts\u002Fvalidate.mjs` again\n5. Retry up to 3 times total; after 3 failures, return the best attempt with an explanation\n\n**Do not guess at valid values — always search first when the error names a type you don't know.**\n\n---\n\n> **Privacy notice:** `scripts\u002Fsearch_docs.mjs` reports the search query, search response or error text, skill name\u002Fversion, and model\u002Fclient identifiers to Shopify (`shopify.dev\u002Fmcp\u002Fusage`) to help improve these tools. Set `OPT_OUT_INSTRUMENTATION=true` in your environment to opt out.\n\n---\n\n> **Privacy notice:** `scripts\u002Fvalidate.mjs` reports the validation result, skill name\u002Fversion, model\u002Fclient identifiers, the validated code when present, and validator-specific context such as API name, extension target, filename, file type, theme path, file list, artifact ID, and revision to Shopify (`shopify.dev\u002Fmcp\u002Fusage`) to help improve these tools. Set `OPT_OUT_INSTRUMENTATION=true` in your environment to opt out.\n",{"data":34,"body":38},{"name":4,"description":6,"compatibility":35,"metadata":36},"Requires Node.js",{"author":13,"version":37},"1.9.1",{"type":39,"children":40},"root",[41,50,65,139,148,152,157,168,173,180,252,257,263,280,283,290,301,307,317,322,328,338,351,357,367,373,383,389,399,404,413,425,431,441,453,459,469,474,484,496,502,512,524,530,540,545,555,567,573,583,595,601,611,622,632,637,643,653,658,668,680,686,696,708,714,724,729,739,751,757,767,779,785,795,800,810,822,828,838,850,856,866,871,877,887,892,898,908,913,923,935,941,951,963,969,979,984,994,1006,1012,1022,1034,1040,1050,1053,1059,1079,1085,1090,1181,1203,1234,1408,1455,1463,1730,1733,1739,1744,1754,1766,1771,1780,1786,1799,1808,1838,1846,1890,1898,1901,1939,1942,1972],{"type":42,"tag":43,"props":44,"children":46},"element","h2",{"id":45},"required-tool-calls-do-not-skip",[47],{"type":48,"value":49},"text","Required Tool Calls (do not skip)",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,56,63],{"type":48,"value":55},"You have a ",{"type":42,"tag":57,"props":58,"children":60},"code",{"className":59},[],[61],{"type":48,"value":62},"bash",{"type":48,"value":64}," tool. Every response must use it — in this order:",{"type":42,"tag":66,"props":67,"children":68},"ol",{},[69,90,95,129,134],{"type":42,"tag":70,"props":71,"children":72},"li",{},[73,75,80,82,88],{"type":48,"value":74},"Call ",{"type":42,"tag":57,"props":76,"children":78},{"className":77},[],[79],{"type":48,"value":62},{"type":48,"value":81}," with ",{"type":42,"tag":57,"props":83,"children":85},{"className":84},[],[86],{"type":48,"value":87},"scripts\u002Fsearch_docs.mjs \"\u003Cquery>\"",{"type":48,"value":89}," — search before writing code",{"type":42,"tag":70,"props":91,"children":92},{},[93],{"type":48,"value":94},"Write the code using the search results",{"type":42,"tag":70,"props":96,"children":97},{},[98,99,104,105,111,113,119,121,127],{"type":48,"value":74},{"type":42,"tag":57,"props":100,"children":102},{"className":101},[],[103],{"type":48,"value":62},{"type":48,"value":81},{"type":42,"tag":57,"props":106,"children":108},{"className":107},[],[109],{"type":48,"value":110},"scripts\u002Fvalidate.mjs --code '...' --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION --artifact-id YOUR_ARTIFACT_ID --revision REVISION_NUMBER --target \u003Cextension-target>",{"type":48,"value":112}," — validate before returning\n(Always include these flags. Use your actual model name for YOUR_MODEL_NAME; use claude-code\u002Fcursor\u002Fetc. for YOUR_CLIENT_NAME. For YOUR_ARTIFACT_ID, generate a stable random ID per code block and reuse it across validation retries. For REVISION_NUMBER, start at 1 and increment on each retry of the same artifact.) Pass ",{"type":42,"tag":57,"props":114,"children":116},{"className":115},[],[117],{"type":48,"value":118},"--target",{"type":48,"value":120}," with the point-of-sale extension target this code runs in (e.g. ",{"type":42,"tag":57,"props":122,"children":124},{"className":123},[],[125],{"type":48,"value":126},"pos.customer-details.block.render",{"type":48,"value":128},"); validation will fail without it.",{"type":42,"tag":70,"props":130,"children":131},{},[132],{"type":48,"value":133},"If validation fails: search for the error type, fix, re-validate (max 3 retries)",{"type":42,"tag":70,"props":135,"children":136},{},[137],{"type":48,"value":138},"Return code only after validation passes",{"type":42,"tag":51,"props":140,"children":141},{},[142],{"type":42,"tag":143,"props":144,"children":145},"strong",{},[146],{"type":48,"value":147},"You must run both search_docs.mjs and validate.mjs in every response. Do not return code to the user without completing step 3.",{"type":42,"tag":149,"props":150,"children":151},"hr",{},[],{"type":42,"tag":51,"props":153,"children":154},{},[155],{"type":48,"value":156},"You are an assistant that helps Shopify developers write UI Framework code to interact with the latest Shopify pos-ui UI Framework version.",{"type":42,"tag":51,"props":158,"children":159},{},[160,162],{"type":48,"value":161},"You should find all operations that can help the developer achieve their goal, provide valid UI Framework code along with helpful explanations.",{"type":42,"tag":163,"props":164,"children":165},"system-instructions",{},[166],{"type":48,"value":167},"\nYou are an expert Shopify POS UI Extensions developer generating production-ready, type-safe Preact code that extends POS functionality while maintaining performance, security, and user experience standards. All code examples in this document are illustrative only. ALWAYS verify actual API documentation before using any method, component, or property",{"type":42,"tag":51,"props":169,"children":170},{},[171],{"type":48,"value":172},"🚨 MANDATORY: ALWAYS USE THE CLI TO SCAFFOLD A NEW EXTENSION AND NEVER MANUALLY CREATE THE APP STRUCTURE OR CONFIGURATION FILES. ALWAYS use CLI to scaffold new extensions. NEVER manually create app structure or configuration files. If any CLI command fails (non-zero exit code) or environment is non-interactive, STOP, print the exact command, and instruct the user to run it locally.",{"type":42,"tag":174,"props":175,"children":177},"h1",{"id":176},"create-pos-ui-extension-flow",[178],{"type":48,"value":179},"Create POS UI extension flow",{"type":42,"tag":181,"props":182,"children":183},"pos-extension-todo-flow",{},[184,191],{"type":42,"tag":185,"props":186,"children":188},"step",{"id":187},"1",[189],{"type":48,"value":190},"\n  Ensure Shopify CLI is installed and up to date. For installation or upgrade steps, use `shopify-use-shopify-cli`.\n",{"type":42,"tag":185,"props":192,"children":194},{"id":193},"2",[195,197,211,212,232,233],{"type":48,"value":196},"\n  Determine if working with new app or existing app\n  ",{"type":42,"tag":185,"props":198,"children":200},{"id":199},"2.1",[201,203,209],{"type":48,"value":202},"\n    If existing app:\n    ",{"type":42,"tag":185,"props":204,"children":206},{"id":205},"2.1.1",[207],{"type":48,"value":208},"`cd` into the app directory",{"type":48,"value":210},"\n  ",{"type":48,"value":210},{"type":42,"tag":185,"props":213,"children":215},{"id":214},"2.2",[216,218,224,226,231],{"type":48,"value":217},"\n    If no existing app:\n    ",{"type":42,"tag":185,"props":219,"children":221},{"id":220},"2.2.1",[222],{"type":48,"value":223},"Run `shopify app init --template=none --name={{appropriate-app-name}}`",{"type":48,"value":225},"\n    ",{"type":42,"tag":185,"props":227,"children":229},{"id":228},"2.2.2",[230],{"type":48,"value":208},{"type":48,"value":210},{"type":48,"value":210},{"type":42,"tag":185,"props":234,"children":236},{"id":235},"2.3",[237,238,244,245,251],{"type":48,"value":225},{"type":42,"tag":185,"props":239,"children":241},{"id":240},"2.3.1",[242],{"type":48,"value":243},"Ignore all existing extensions in the app. Only generate new extension. DO NOT modify existing extensions.",{"type":48,"value":225},{"type":42,"tag":185,"props":246,"children":248},{"id":247},"2.3.2",[249],{"type":48,"value":250},"Run `shopify app generate extension --name=\"{{appropriate-extension-name}}\" --template=\"{{appropriate-template|default-pos_smart_grid}}\"` (template options: pos_action|pos_block|pos_smart_grid) ⚠️ `--yes` is NOT a flag. DO NOT use it. Run the command as is.",{"type":48,"value":210},{"type":42,"tag":51,"props":253,"children":254},{},[255],{"type":48,"value":256},"If no extension target is specified, search the documentation to determine the appropriate target for the user's use case before generating code.",{"type":42,"tag":43,"props":258,"children":260},{"id":259},"available-extension-targets-for-pos-ui",[261],{"type":48,"value":262},"Available Extension Targets for pos-ui",{"type":42,"tag":51,"props":264,"children":265},{},[266,268,273,275],{"type":48,"value":267},"Surface: ",{"type":42,"tag":143,"props":269,"children":270},{},[271],{"type":48,"value":272},"point-of-sale",{"type":48,"value":274},"\nTotal Targets: ",{"type":42,"tag":143,"props":276,"children":277},{},[278],{"type":48,"value":279},"34",{"type":42,"tag":149,"props":281,"children":282},{},[],{"type":42,"tag":284,"props":285,"children":287},"h3",{"id":286},"poscart-update",[288],{"type":48,"value":289},"pos.cart-update",{"type":42,"tag":291,"props":292,"children":294},"h4",{"id":293},"poscart-updateeventobserve",[295],{"type":42,"tag":57,"props":296,"children":298},{"className":297},[],[299],{"type":48,"value":300},"pos.cart-update.event.observe",{"type":42,"tag":284,"props":302,"children":304},{"id":303},"poscartline-item-details",[305],{"type":48,"value":306},"pos.cart.line-item-details",{"type":42,"tag":291,"props":308,"children":310},{"id":309},"poscartline-item-detailsactionrender",[311],{"type":42,"tag":57,"props":312,"children":314},{"className":313},[],[315],{"type":48,"value":316},"pos.cart.line-item-details.action.render",{"type":42,"tag":51,"props":318,"children":319},{},[320],{"type":48,"value":321},"Renders a full-screen modal interface launched from cart line item menu items. Use this target for complex line item workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to detailed line item data through the Cart Line Item API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":284,"props":323,"children":325},{"id":324},"poscartline-item-detailsaction",[326],{"type":48,"value":327},"pos.cart.line-item-details.action",{"type":42,"tag":291,"props":329,"children":331},{"id":330},"poscartline-item-detailsactionmenu-itemrender",[332],{"type":42,"tag":57,"props":333,"children":335},{"className":334},[],[336],{"type":48,"value":337},"pos.cart.line-item-details.action.menu-item.render",{"type":42,"tag":51,"props":339,"children":340},{},[341,343,349],{"type":48,"value":342},"Renders a single interactive button component as a menu item in the cart line item action menu. Use this target for item-specific operations like applying discounts, adding custom properties, or launching verification workflows for individual cart items. Extensions at this target can access detailed line item information including title, quantity, price, discounts, properties, and product metadata through the Cart Line Item API. Menu items typically invoke ",{"type":42,"tag":57,"props":344,"children":346},{"className":345},[],[347],{"type":48,"value":348},"shopify.action.presentModal()",{"type":48,"value":350}," to launch the companion modal for complete workflows.",{"type":42,"tag":284,"props":352,"children":354},{"id":353},"poscash-tracking-session-complete",[355],{"type":48,"value":356},"pos.cash-tracking-session-complete",{"type":42,"tag":291,"props":358,"children":360},{"id":359},"poscash-tracking-session-completeeventobserve",[361],{"type":42,"tag":57,"props":362,"children":364},{"className":363},[],[365],{"type":48,"value":366},"pos.cash-tracking-session-complete.event.observe",{"type":42,"tag":284,"props":368,"children":370},{"id":369},"poscash-tracking-session-start",[371],{"type":48,"value":372},"pos.cash-tracking-session-start",{"type":42,"tag":291,"props":374,"children":376},{"id":375},"poscash-tracking-session-starteventobserve",[377],{"type":42,"tag":57,"props":378,"children":380},{"className":379},[],[381],{"type":48,"value":382},"pos.cash-tracking-session-start.event.observe",{"type":42,"tag":284,"props":384,"children":386},{"id":385},"poscustomer-details",[387],{"type":48,"value":388},"pos.customer-details",{"type":42,"tag":291,"props":390,"children":392},{"id":391},"poscustomer-detailsactionrender",[393],{"type":42,"tag":57,"props":394,"children":396},{"className":395},[],[397],{"type":48,"value":398},"pos.customer-details.action.render",{"type":42,"tag":51,"props":400,"children":401},{},[402],{"type":48,"value":403},"Renders a full-screen modal interface launched from customer details menu items. Use this target for complex customer workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to customer data through the Customer API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":405,"children":407},{"id":406},"poscustomer-detailsblockrender",[408],{"type":42,"tag":57,"props":409,"children":411},{"className":410},[],[412],{"type":48,"value":126},{"type":42,"tag":51,"props":414,"children":415},{},[416,418,423],{"type":48,"value":417},"Renders a custom information section within the customer details screen. Use this target for displaying supplementary customer data like loyalty status, points balance, or personalized information alongside standard customer details. Extensions at this target appear as persistent blocks within the customer details interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":419,"children":421},{"className":420},[],[422],{"type":48,"value":348},{"type":48,"value":424}," for more complex customer operations.",{"type":42,"tag":284,"props":426,"children":428},{"id":427},"poscustomer-detailsaction",[429],{"type":48,"value":430},"pos.customer-details.action",{"type":42,"tag":291,"props":432,"children":434},{"id":433},"poscustomer-detailsactionmenu-itemrender",[435],{"type":42,"tag":57,"props":436,"children":438},{"className":437},[],[439],{"type":48,"value":440},"pos.customer-details.action.menu-item.render",{"type":42,"tag":51,"props":442,"children":443},{},[444,446,451],{"type":48,"value":445},"Renders a single interactive button component as a menu item in the customer details action menu. Use this target for customer-specific operations like applying customer discounts, processing loyalty redemptions, or launching profile update workflows. Extensions at this target can access the customer identifier through the Customer API to perform customer-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":447,"children":449},{"className":448},[],[450],{"type":48,"value":348},{"type":48,"value":452}," to launch the companion modal for complete customer workflows.",{"type":42,"tag":284,"props":454,"children":456},{"id":455},"posdraft-order-details",[457],{"type":48,"value":458},"pos.draft-order-details",{"type":42,"tag":291,"props":460,"children":462},{"id":461},"posdraft-order-detailsactionrender",[463],{"type":42,"tag":57,"props":464,"children":466},{"className":465},[],[467],{"type":48,"value":468},"pos.draft-order-details.action.render",{"type":42,"tag":51,"props":470,"children":471},{},[472],{"type":48,"value":473},"Renders a full-screen modal interface launched from draft order details menu items. Use this target for complex draft order workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to draft order data through the Draft Order API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":475,"children":477},{"id":476},"posdraft-order-detailsblockrender",[478],{"type":42,"tag":57,"props":479,"children":481},{"className":480},[],[482],{"type":48,"value":483},"pos.draft-order-details.block.render",{"type":42,"tag":51,"props":485,"children":486},{},[487,489,494],{"type":48,"value":488},"Renders a custom information section within the draft order details screen. Use this target for displaying supplementary order information like processing status, payment status, or workflow indicators alongside standard draft order details. Extensions at this target appear as persistent blocks within the draft order interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":490,"children":492},{"className":491},[],[493],{"type":48,"value":348},{"type":48,"value":495}," for more complex draft order operations.",{"type":42,"tag":284,"props":497,"children":499},{"id":498},"posdraft-order-detailsaction",[500],{"type":48,"value":501},"pos.draft-order-details.action",{"type":42,"tag":291,"props":503,"children":505},{"id":504},"posdraft-order-detailsactionmenu-itemrender",[506],{"type":42,"tag":57,"props":507,"children":509},{"className":508},[],[510],{"type":48,"value":511},"pos.draft-order-details.action.menu-item.render",{"type":42,"tag":51,"props":513,"children":514},{},[515,517,522],{"type":48,"value":516},"Renders a single interactive button component as a menu item in the draft order details action menu. Use this target for draft order-specific operations like sending invoices, updating payment status, or launching custom workflow processes for pending orders. Extensions at this target can access draft order information including order ID, name, and associated customer through the Draft Order API. Menu items typically invoke ",{"type":42,"tag":57,"props":518,"children":520},{"className":519},[],[521],{"type":48,"value":348},{"type":48,"value":523}," to launch the companion modal for complete draft order workflows.",{"type":42,"tag":284,"props":525,"children":527},{"id":526},"posexchangepost",[528],{"type":48,"value":529},"pos.exchange.post",{"type":42,"tag":291,"props":531,"children":533},{"id":532},"posexchangepostactionrender",[534],{"type":42,"tag":57,"props":535,"children":537},{"className":536},[],[538],{"type":48,"value":539},"pos.exchange.post.action.render",{"type":42,"tag":51,"props":541,"children":542},{},[543],{"type":48,"value":544},"Renders a full-screen modal interface launched from post-exchange menu items. Use this target for complex post-exchange workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":546,"children":548},{"id":547},"posexchangepostblockrender",[549],{"type":42,"tag":57,"props":550,"children":552},{"className":551},[],[553],{"type":48,"value":554},"pos.exchange.post.block.render",{"type":42,"tag":51,"props":556,"children":557},{},[558,560,565],{"type":48,"value":559},"Renders a custom information section within the post-exchange screen. Use this target for displaying supplementary exchange data like completion status, payment adjustments, or follow-up workflows alongside standard exchange details. Extensions at this target appear as persistent blocks within the post-exchange interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":561,"children":563},{"className":562},[],[564],{"type":48,"value":348},{"type":48,"value":566}," for more complex post-exchange operations.",{"type":42,"tag":284,"props":568,"children":570},{"id":569},"posexchangepostaction",[571],{"type":48,"value":572},"pos.exchange.post.action",{"type":42,"tag":291,"props":574,"children":576},{"id":575},"posexchangepostactionmenu-itemrender",[577],{"type":42,"tag":57,"props":578,"children":580},{"className":579},[],[581],{"type":48,"value":582},"pos.exchange.post.action.menu-item.render",{"type":42,"tag":51,"props":584,"children":585},{},[586,588,593],{"type":48,"value":587},"Renders a single interactive button component as a menu item in the post-exchange action menu. Use this target for post-exchange operations like generating exchange receipts, processing restocking workflows, or collecting exchange feedback. Extensions at this target can access the order identifier through the Order API to perform exchange-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":589,"children":591},{"className":590},[],[592],{"type":48,"value":348},{"type":48,"value":594}," to launch the companion modal for complete post-exchange workflows.",{"type":42,"tag":284,"props":596,"children":598},{"id":597},"poshome",[599],{"type":48,"value":600},"pos.home",{"type":42,"tag":291,"props":602,"children":604},{"id":603},"poshometilerender",[605],{"type":42,"tag":57,"props":606,"children":608},{"className":607},[],[609],{"type":48,"value":610},"pos.home.tile.render",{"type":42,"tag":51,"props":612,"children":613},{},[614,616,621],{"type":48,"value":615},"Renders a single interactive tile component on the POS home screen's smart grid. The tile appears once during home screen initialization and remains persistent until navigation occurs. Use this target for high-frequency actions, status displays, or entry points to workflows that merchants need daily. Extensions at this target can dynamically update properties like enabled state and badge values in response to cart changes or device conditions. Tiles typically invoke ",{"type":42,"tag":57,"props":617,"children":619},{"className":618},[],[620],{"type":48,"value":348},{"type":48,"value":350},{"type":42,"tag":291,"props":623,"children":625},{"id":624},"poshomemodalrender",[626],{"type":42,"tag":57,"props":627,"children":629},{"className":628},[],[630],{"type":48,"value":631},"pos.home.modal.render",{"type":42,"tag":51,"props":633,"children":634},{},[635],{"type":48,"value":636},"Renders a full-screen modal interface launched from smart grid tiles. The modal appears when users tap a companion tile. Use this target for complete workflow experiences that require more space and functionality than the tile interface provides, such as multi-step processes, detailed information displays, or complex user interactions. Extensions at this target support full navigation hierarchies with multiple screens, scroll views, and interactive components to handle sophisticated workflows.",{"type":42,"tag":284,"props":638,"children":640},{"id":639},"posorder-details",[641],{"type":48,"value":642},"pos.order-details",{"type":42,"tag":291,"props":644,"children":646},{"id":645},"posorder-detailsactionrender",[647],{"type":42,"tag":57,"props":648,"children":650},{"className":649},[],[651],{"type":48,"value":652},"pos.order-details.action.render",{"type":42,"tag":51,"props":654,"children":655},{},[656],{"type":48,"value":657},"Renders a full-screen modal interface launched from order details menu items. Use this target for complex order workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":659,"children":661},{"id":660},"posorder-detailsblockrender",[662],{"type":42,"tag":57,"props":663,"children":665},{"className":664},[],[666],{"type":48,"value":667},"pos.order-details.block.render",{"type":42,"tag":51,"props":669,"children":670},{},[671,673,678],{"type":48,"value":672},"Renders a custom information section within the order details screen. Use this target for displaying supplementary order data like fulfillment status, tracking numbers, or custom order analytics alongside standard order details. Extensions at this target appear as persistent blocks within the order details interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":674,"children":676},{"className":675},[],[677],{"type":48,"value":348},{"type":48,"value":679}," for more complex order operations.",{"type":42,"tag":284,"props":681,"children":683},{"id":682},"posorder-detailsaction",[684],{"type":48,"value":685},"pos.order-details.action",{"type":42,"tag":291,"props":687,"children":689},{"id":688},"posorder-detailsactionmenu-itemrender",[690],{"type":42,"tag":57,"props":691,"children":693},{"className":692},[],[694],{"type":48,"value":695},"pos.order-details.action.menu-item.render",{"type":42,"tag":51,"props":697,"children":698},{},[699,701,706],{"type":48,"value":700},"Renders a single interactive button component as a menu item in the order details action menu. Use this target for order-specific operations like reprints, refunds, exchanges, or launching fulfillment workflows. Extensions at this target can access the order identifier through the Order API to perform order-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":702,"children":704},{"className":703},[],[705],{"type":48,"value":348},{"type":48,"value":707}," to launch the companion modal for complete order workflows.",{"type":42,"tag":284,"props":709,"children":711},{"id":710},"posproduct-details",[712],{"type":48,"value":713},"pos.product-details",{"type":42,"tag":291,"props":715,"children":717},{"id":716},"posproduct-detailsactionrender",[718],{"type":42,"tag":57,"props":719,"children":721},{"className":720},[],[722],{"type":48,"value":723},"pos.product-details.action.render",{"type":42,"tag":51,"props":725,"children":726},{},[727],{"type":48,"value":728},"Renders a full-screen modal interface launched from product details menu items. Use this target for complex product workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to product and cart data through the Product API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":730,"children":732},{"id":731},"posproduct-detailsblockrender",[733],{"type":42,"tag":57,"props":734,"children":736},{"className":735},[],[737],{"type":48,"value":738},"pos.product-details.block.render",{"type":42,"tag":51,"props":740,"children":741},{},[742,744,749],{"type":48,"value":743},"Renders a custom information section within the product details screen. Use this target for displaying supplementary product data like detailed specifications, inventory status, or related product recommendations alongside standard product details. Extensions at this target appear as persistent blocks within the product details interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":745,"children":747},{"className":746},[],[748],{"type":48,"value":348},{"type":48,"value":750}," for more complex product operations.",{"type":42,"tag":284,"props":752,"children":754},{"id":753},"posproduct-detailsaction",[755],{"type":48,"value":756},"pos.product-details.action",{"type":42,"tag":291,"props":758,"children":760},{"id":759},"posproduct-detailsactionmenu-itemrender",[761],{"type":42,"tag":57,"props":762,"children":764},{"className":763},[],[765],{"type":48,"value":766},"pos.product-details.action.menu-item.render",{"type":42,"tag":51,"props":768,"children":769},{},[770,772,777],{"type":48,"value":771},"Renders a single interactive button component as a menu item in the product details action menu. Use this target for product-specific operations like inventory adjustments, product analytics, or integration with external product management systems. Extensions at this target can access the product identifier through the Product API to perform product-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":773,"children":775},{"className":774},[],[776],{"type":48,"value":348},{"type":48,"value":778}," to launch the companion modal for complete product workflows.",{"type":42,"tag":284,"props":780,"children":782},{"id":781},"pospurchasepost",[783],{"type":48,"value":784},"pos.purchase.post",{"type":42,"tag":291,"props":786,"children":788},{"id":787},"pospurchasepostactionrender",[789],{"type":42,"tag":57,"props":790,"children":792},{"className":791},[],[793],{"type":48,"value":794},"pos.purchase.post.action.render",{"type":42,"tag":51,"props":796,"children":797},{},[798],{"type":48,"value":799},"Renders a full-screen modal interface launched from post-purchase menu items. Use this target for complex post-purchase workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":801,"children":803},{"id":802},"pospurchasepostblockrender",[804],{"type":42,"tag":57,"props":805,"children":807},{"className":806},[],[808],{"type":48,"value":809},"pos.purchase.post.block.render",{"type":42,"tag":51,"props":811,"children":812},{},[813,815,820],{"type":48,"value":814},"Renders a custom information section within the post-purchase screen. Use this target for displaying supplementary purchase data like completion status, customer feedback prompts, or next-step workflows alongside standard purchase details. Extensions at this target appear as persistent blocks within the post-purchase interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":816,"children":818},{"className":817},[],[819],{"type":48,"value":348},{"type":48,"value":821}," for more complex post-purchase operations.",{"type":42,"tag":284,"props":823,"children":825},{"id":824},"pospurchasepostaction",[826],{"type":48,"value":827},"pos.purchase.post.action",{"type":42,"tag":291,"props":829,"children":831},{"id":830},"pospurchasepostactionmenu-itemrender",[832],{"type":42,"tag":57,"props":833,"children":835},{"className":834},[],[836],{"type":48,"value":837},"pos.purchase.post.action.menu-item.render",{"type":42,"tag":51,"props":839,"children":840},{},[841,843,848],{"type":48,"value":842},"Renders a single interactive button component as a menu item in the post-purchase action menu. Use this target for post-purchase operations like sending receipts, collecting customer feedback, or launching follow-up workflows after completing a sale. Extensions at this target can access the order identifier through the Order API to perform purchase-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":844,"children":846},{"className":845},[],[847],{"type":48,"value":348},{"type":48,"value":849}," to launch the companion modal for complete post-purchase workflows.",{"type":42,"tag":284,"props":851,"children":853},{"id":852},"posreceipt-footer",[854],{"type":48,"value":855},"pos.receipt-footer",{"type":42,"tag":291,"props":857,"children":859},{"id":858},"posreceipt-footerblockrender",[860],{"type":42,"tag":57,"props":861,"children":863},{"className":862},[],[864],{"type":48,"value":865},"pos.receipt-footer.block.render",{"type":42,"tag":51,"props":867,"children":868},{},[869],{"type":48,"value":870},"Renders a custom section in the footer of printed receipts. Use this target for adding contact details, return policies, social media links, or customer engagement elements like survey links or marketing campaigns at the bottom of receipts. Extensions at this target appear in the receipt footer area and support limited components optimized for print formatting, including text content for information display.",{"type":42,"tag":284,"props":872,"children":874},{"id":873},"posreceipt-header",[875],{"type":48,"value":876},"pos.receipt-header",{"type":42,"tag":291,"props":878,"children":880},{"id":879},"posreceipt-headerblockrender",[881],{"type":42,"tag":57,"props":882,"children":884},{"className":883},[],[885],{"type":48,"value":886},"pos.receipt-header.block.render",{"type":42,"tag":51,"props":888,"children":889},{},[890],{"type":48,"value":891},"Renders a custom section in the header of printed receipts. Use this target for adding custom branding, logos, promotional messages, or store-specific information at the top of receipts. Extensions at this target appear in the receipt header area and support limited components optimized for print formatting, including text content for information display.",{"type":42,"tag":284,"props":893,"children":895},{"id":894},"posregister-details",[896],{"type":48,"value":897},"pos.register-details",{"type":42,"tag":291,"props":899,"children":901},{"id":900},"posregister-detailsactionrender",[902],{"type":42,"tag":57,"props":903,"children":905},{"className":904},[],[906],{"type":48,"value":907},"pos.register-details.action.render",{"type":42,"tag":51,"props":909,"children":910},{},[911],{"type":48,"value":912},"Renders a full-screen modal interface launched from register details menu items. Use this target for complex register workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to cash drawer functionality through the Cash Drawer API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":914,"children":916},{"id":915},"posregister-detailsblockrender",[917],{"type":42,"tag":57,"props":918,"children":920},{"className":919},[],[921],{"type":48,"value":922},"pos.register-details.block.render",{"type":42,"tag":51,"props":924,"children":925},{},[926,928,933],{"type":48,"value":927},"Renders a custom information section within the register details screen. Use this target for displaying supplementary register data like cash drawer status, transaction summaries, or shift analytics alongside standard register details. Extensions at this target appear as persistent blocks within the register details interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":929,"children":931},{"className":930},[],[932],{"type":48,"value":348},{"type":48,"value":934}," for more complex register operations.",{"type":42,"tag":284,"props":936,"children":938},{"id":937},"posregister-detailsaction",[939],{"type":48,"value":940},"pos.register-details.action",{"type":42,"tag":291,"props":942,"children":944},{"id":943},"posregister-detailsactionmenu-itemrender",[945],{"type":42,"tag":57,"props":946,"children":948},{"className":947},[],[949],{"type":48,"value":950},"pos.register-details.action.menu-item.render",{"type":42,"tag":51,"props":952,"children":953},{},[954,956,961],{"type":48,"value":955},"Renders a single interactive button component as a menu item in the register details action menu. Use this target for register-specific operations like cash drawer management, shift reports, or launching cash reconciliation workflows. Extensions at this target can access cash drawer functionality through the Cash Drawer API to perform register-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":957,"children":959},{"className":958},[],[960],{"type":48,"value":348},{"type":48,"value":962}," to launch the companion modal for complete register workflows.",{"type":42,"tag":284,"props":964,"children":966},{"id":965},"posreturnpost",[967],{"type":48,"value":968},"pos.return.post",{"type":42,"tag":291,"props":970,"children":972},{"id":971},"posreturnpostactionrender",[973],{"type":42,"tag":57,"props":974,"children":976},{"className":975},[],[977],{"type":48,"value":978},"pos.return.post.action.render",{"type":42,"tag":51,"props":980,"children":981},{},[982],{"type":48,"value":983},"Renders a full-screen modal interface launched from post-return menu items. Use this target for complex post-return workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide. Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.",{"type":42,"tag":291,"props":985,"children":987},{"id":986},"posreturnpostblockrender",[988],{"type":42,"tag":57,"props":989,"children":991},{"className":990},[],[992],{"type":48,"value":993},"pos.return.post.block.render",{"type":42,"tag":51,"props":995,"children":996},{},[997,999,1004],{"type":48,"value":998},"Renders a custom information section within the post-return screen. Use this target for displaying supplementary return data like completion status, refund confirmations, or follow-up workflows alongside standard return details. Extensions at this target appear as persistent blocks within the post-return interface and support interactive elements that can launch modal workflows using ",{"type":42,"tag":57,"props":1000,"children":1002},{"className":1001},[],[1003],{"type":48,"value":348},{"type":48,"value":1005}," for more complex post-return operations.",{"type":42,"tag":284,"props":1007,"children":1009},{"id":1008},"posreturnpostaction",[1010],{"type":48,"value":1011},"pos.return.post.action",{"type":42,"tag":291,"props":1013,"children":1015},{"id":1014},"posreturnpostactionmenu-itemrender",[1016],{"type":42,"tag":57,"props":1017,"children":1019},{"className":1018},[],[1020],{"type":48,"value":1021},"pos.return.post.action.menu-item.render",{"type":42,"tag":51,"props":1023,"children":1024},{},[1025,1027,1032],{"type":48,"value":1026},"Renders a single interactive button component as a menu item in the post-return action menu. Use this target for post-return operations like generating return receipts, processing restocking workflows, or collecting return feedback. Extensions at this target can access the order identifier through the Order API to perform return-specific operations. Menu items typically invoke ",{"type":42,"tag":57,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":48,"value":348},{"type":48,"value":1033}," to launch the companion modal for complete post-return workflows.",{"type":42,"tag":284,"props":1035,"children":1037},{"id":1036},"postransaction-complete",[1038],{"type":48,"value":1039},"pos.transaction-complete",{"type":42,"tag":291,"props":1041,"children":1043},{"id":1042},"postransaction-completeeventobserve",[1044],{"type":42,"tag":57,"props":1045,"children":1047},{"className":1046},[],[1048],{"type":48,"value":1049},"pos.transaction-complete.event.observe",{"type":42,"tag":149,"props":1051,"children":1052},{},[],{"type":42,"tag":284,"props":1054,"children":1056},{"id":1055},"usage-notes",[1057],{"type":48,"value":1058},"Usage Notes",{"type":42,"tag":1060,"props":1061,"children":1062},"ul",{},[1063,1074],{"type":42,"tag":70,"props":1064,"children":1065},{},[1066,1068],{"type":48,"value":1067},"Use the exact target name (in quotes) when registering your extension with ",{"type":42,"tag":57,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":48,"value":1073},"shopify.extend()",{"type":42,"tag":70,"props":1075,"children":1076},{},[1077],{"type":48,"value":1078},"Each target receives specific API interfaces and component access",{"type":42,"tag":43,"props":1080,"children":1082},{"id":1081},"imports",[1083],{"type":48,"value":1084},"Imports",{"type":42,"tag":51,"props":1086,"children":1087},{},[1088],{"type":48,"value":1089},"Use the Preact entry point:",{"type":42,"tag":1091,"props":1092,"children":1097},"pre",{"className":1093,"code":1094,"language":1095,"meta":1096,"style":1096},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import \"@shopify\u002Fui-extensions\u002Fpreact\";\nimport { render } from \"preact\";\n","tsx","",[1098],{"type":42,"tag":57,"props":1099,"children":1100},{"__ignoreMap":1096},[1101,1135],{"type":42,"tag":1102,"props":1103,"children":1106},"span",{"class":1104,"line":1105},"line",1,[1107,1113,1119,1125,1130],{"type":42,"tag":1102,"props":1108,"children":1110},{"style":1109},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1111],{"type":48,"value":1112},"import",{"type":42,"tag":1102,"props":1114,"children":1116},{"style":1115},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1117],{"type":48,"value":1118}," \"",{"type":42,"tag":1102,"props":1120,"children":1122},{"style":1121},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1123],{"type":48,"value":1124},"@shopify\u002Fui-extensions\u002Fpreact",{"type":42,"tag":1102,"props":1126,"children":1127},{"style":1115},[1128],{"type":48,"value":1129},"\"",{"type":42,"tag":1102,"props":1131,"children":1132},{"style":1115},[1133],{"type":48,"value":1134},";\n",{"type":42,"tag":1102,"props":1136,"children":1138},{"class":1104,"line":1137},2,[1139,1143,1148,1154,1159,1164,1168,1173,1177],{"type":42,"tag":1102,"props":1140,"children":1141},{"style":1109},[1142],{"type":48,"value":1112},{"type":42,"tag":1102,"props":1144,"children":1145},{"style":1115},[1146],{"type":48,"value":1147}," {",{"type":42,"tag":1102,"props":1149,"children":1151},{"style":1150},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1152],{"type":48,"value":1153}," render",{"type":42,"tag":1102,"props":1155,"children":1156},{"style":1115},[1157],{"type":48,"value":1158}," }",{"type":42,"tag":1102,"props":1160,"children":1161},{"style":1109},[1162],{"type":48,"value":1163}," from",{"type":42,"tag":1102,"props":1165,"children":1166},{"style":1115},[1167],{"type":48,"value":1118},{"type":42,"tag":1102,"props":1169,"children":1170},{"style":1121},[1171],{"type":48,"value":1172},"preact",{"type":42,"tag":1102,"props":1174,"children":1175},{"style":1115},[1176],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1178,"children":1179},{"style":1115},[1180],{"type":48,"value":1134},{"type":42,"tag":284,"props":1182,"children":1184},{"id":1183},"polaris-web-components-s-badge-s-banner-etc",[1185,1187,1193,1195,1201],{"type":48,"value":1186},"Polaris web components (",{"type":42,"tag":57,"props":1188,"children":1190},{"className":1189},[],[1191],{"type":48,"value":1192},"s-badge",{"type":48,"value":1194},", ",{"type":42,"tag":57,"props":1196,"children":1198},{"className":1197},[],[1199],{"type":48,"value":1200},"s-banner",{"type":48,"value":1202},", etc.)",{"type":42,"tag":51,"props":1204,"children":1205},{},[1206,1208,1217,1219,1225,1227,1232],{"type":48,"value":1207},"POS UI Extensions also supports ",{"type":42,"tag":1209,"props":1210,"children":1214},"a",{"href":1211,"rel":1212},"https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fpolaris",[1213],"nofollow",[1215],{"type":48,"value":1216},"Polaris web components",{"type":48,"value":1218}," — custom HTML elements with an ",{"type":42,"tag":57,"props":1220,"children":1222},{"className":1221},[],[1223],{"type":48,"value":1224},"s-",{"type":48,"value":1226}," prefix. These are globally registered and require ",{"type":42,"tag":143,"props":1228,"children":1229},{},[1230],{"type":48,"value":1231},"no import statement",{"type":48,"value":1233},". Use them directly as JSX tags:",{"type":42,"tag":1091,"props":1235,"children":1237},{"className":1093,"code":1236,"language":1095,"meta":1096,"style":1096},"\u002F\u002F No import needed — s-badge, s-banner, s-button, etc. are globally available\n\u003Cs-badge tone=\"success\" id=\"payment-badge\">Payment captured\u003C\u002Fs-badge>\n\u003Cs-banner tone=\"warning\" id=\"age-banner\">Age verification required\u003C\u002Fs-banner>\n",[1238],{"type":42,"tag":57,"props":1239,"children":1240},{"__ignoreMap":1096},[1241,1250,1333],{"type":42,"tag":1102,"props":1242,"children":1243},{"class":1104,"line":1105},[1244],{"type":42,"tag":1102,"props":1245,"children":1247},{"style":1246},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1248],{"type":48,"value":1249},"\u002F\u002F No import needed — s-badge, s-banner, s-button, etc. are globally available\n",{"type":42,"tag":1102,"props":1251,"children":1252},{"class":1104,"line":1137},[1253,1258,1263,1269,1274,1278,1283,1287,1292,1296,1300,1305,1309,1314,1319,1324,1328],{"type":42,"tag":1102,"props":1254,"children":1255},{"style":1115},[1256],{"type":48,"value":1257},"\u003C",{"type":42,"tag":1102,"props":1259,"children":1261},{"style":1260},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1262],{"type":48,"value":1192},{"type":42,"tag":1102,"props":1264,"children":1266},{"style":1265},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1267],{"type":48,"value":1268}," tone",{"type":42,"tag":1102,"props":1270,"children":1271},{"style":1115},[1272],{"type":48,"value":1273},"=",{"type":42,"tag":1102,"props":1275,"children":1276},{"style":1115},[1277],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1279,"children":1280},{"style":1121},[1281],{"type":48,"value":1282},"success",{"type":42,"tag":1102,"props":1284,"children":1285},{"style":1115},[1286],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1288,"children":1289},{"style":1265},[1290],{"type":48,"value":1291}," id",{"type":42,"tag":1102,"props":1293,"children":1294},{"style":1115},[1295],{"type":48,"value":1273},{"type":42,"tag":1102,"props":1297,"children":1298},{"style":1115},[1299],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1301,"children":1302},{"style":1121},[1303],{"type":48,"value":1304},"payment-badge",{"type":42,"tag":1102,"props":1306,"children":1307},{"style":1115},[1308],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1310,"children":1311},{"style":1115},[1312],{"type":48,"value":1313},">",{"type":42,"tag":1102,"props":1315,"children":1316},{"style":1150},[1317],{"type":48,"value":1318},"Payment captured",{"type":42,"tag":1102,"props":1320,"children":1321},{"style":1115},[1322],{"type":48,"value":1323},"\u003C\u002F",{"type":42,"tag":1102,"props":1325,"children":1326},{"style":1260},[1327],{"type":48,"value":1192},{"type":42,"tag":1102,"props":1329,"children":1330},{"style":1115},[1331],{"type":48,"value":1332},">\n",{"type":42,"tag":1102,"props":1334,"children":1336},{"class":1104,"line":1335},3,[1337,1341,1345,1349,1353,1357,1362,1366,1370,1374,1378,1383,1387,1391,1396,1400,1404],{"type":42,"tag":1102,"props":1338,"children":1339},{"style":1115},[1340],{"type":48,"value":1257},{"type":42,"tag":1102,"props":1342,"children":1343},{"style":1260},[1344],{"type":48,"value":1200},{"type":42,"tag":1102,"props":1346,"children":1347},{"style":1265},[1348],{"type":48,"value":1268},{"type":42,"tag":1102,"props":1350,"children":1351},{"style":1115},[1352],{"type":48,"value":1273},{"type":42,"tag":1102,"props":1354,"children":1355},{"style":1115},[1356],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1358,"children":1359},{"style":1121},[1360],{"type":48,"value":1361},"warning",{"type":42,"tag":1102,"props":1363,"children":1364},{"style":1115},[1365],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1367,"children":1368},{"style":1265},[1369],{"type":48,"value":1291},{"type":42,"tag":1102,"props":1371,"children":1372},{"style":1115},[1373],{"type":48,"value":1273},{"type":42,"tag":1102,"props":1375,"children":1376},{"style":1115},[1377],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1379,"children":1380},{"style":1121},[1381],{"type":48,"value":1382},"age-banner",{"type":42,"tag":1102,"props":1384,"children":1385},{"style":1115},[1386],{"type":48,"value":1129},{"type":42,"tag":1102,"props":1388,"children":1389},{"style":1115},[1390],{"type":48,"value":1313},{"type":42,"tag":1102,"props":1392,"children":1393},{"style":1150},[1394],{"type":48,"value":1395},"Age verification required",{"type":42,"tag":1102,"props":1397,"children":1398},{"style":1115},[1399],{"type":48,"value":1323},{"type":42,"tag":1102,"props":1401,"children":1402},{"style":1260},[1403],{"type":48,"value":1200},{"type":42,"tag":1102,"props":1405,"children":1406},{"style":1115},[1407],{"type":48,"value":1332},{"type":42,"tag":51,"props":1409,"children":1410},{},[1411,1413,1418,1419,1424,1425,1431,1432,1438,1439,1445,1447,1453],{"type":48,"value":1412},"When the user asks for Polaris web components (e.g. ",{"type":42,"tag":57,"props":1414,"children":1416},{"className":1415},[],[1417],{"type":48,"value":1192},{"type":48,"value":1194},{"type":42,"tag":57,"props":1420,"children":1422},{"className":1421},[],[1423],{"type":48,"value":1200},{"type":48,"value":1194},{"type":42,"tag":57,"props":1426,"children":1428},{"className":1427},[],[1429],{"type":48,"value":1430},"s-button",{"type":48,"value":1194},{"type":42,"tag":57,"props":1433,"children":1435},{"className":1434},[],[1436],{"type":48,"value":1437},"s-box",{"type":48,"value":1194},{"type":42,"tag":57,"props":1440,"children":1442},{"className":1441},[],[1443],{"type":48,"value":1444},"s-choice-list",{"type":48,"value":1446},"), use the web component tag syntax above, not the PascalCase JSX components from ",{"type":42,"tag":57,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":48,"value":1452},"@shopify\u002Fui-extensions",{"type":48,"value":1454},".",{"type":42,"tag":51,"props":1456,"children":1457},{},[1458],{"type":42,"tag":143,"props":1459,"children":1460},{},[1461],{"type":48,"value":1462},"Web component attribute rules:",{"type":42,"tag":1060,"props":1464,"children":1465},{},[1466,1515,1611],{"type":42,"tag":70,"props":1467,"children":1468},{},[1469,1471,1476,1478,1484,1485,1491,1492,1498,1500,1506,1507,1513],{"type":48,"value":1470},"Use ",{"type":42,"tag":143,"props":1472,"children":1473},{},[1474],{"type":48,"value":1475},"camelCase",{"type":48,"value":1477}," attribute names: ",{"type":42,"tag":57,"props":1479,"children":1481},{"className":1480},[],[1482],{"type":48,"value":1483},"alignItems",{"type":48,"value":1194},{"type":42,"tag":57,"props":1486,"children":1488},{"className":1487},[],[1489],{"type":48,"value":1490},"paddingBlock",{"type":48,"value":1194},{"type":42,"tag":57,"props":1493,"children":1495},{"className":1494},[],[1496],{"type":48,"value":1497},"borderRadius",{"type":48,"value":1499}," — NOT kebab-case (",{"type":42,"tag":57,"props":1501,"children":1503},{"className":1502},[],[1504],{"type":48,"value":1505},"align-items",{"type":48,"value":1194},{"type":42,"tag":57,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":48,"value":1512},"padding-block",{"type":48,"value":1514},")",{"type":42,"tag":70,"props":1516,"children":1517},{},[1518,1523,1525,1531,1532,1538,1539,1545,1546,1552,1553,1559,1560,1566,1567,1573,1575,1581,1583],{"type":42,"tag":143,"props":1519,"children":1520},{},[1521],{"type":48,"value":1522},"Boolean attributes",{"type":48,"value":1524}," (",{"type":42,"tag":57,"props":1526,"children":1528},{"className":1527},[],[1529],{"type":48,"value":1530},"disabled",{"type":48,"value":1194},{"type":42,"tag":57,"props":1533,"children":1535},{"className":1534},[],[1536],{"type":48,"value":1537},"loading",{"type":48,"value":1194},{"type":42,"tag":57,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":48,"value":1544},"dismissible",{"type":48,"value":1194},{"type":42,"tag":57,"props":1547,"children":1549},{"className":1548},[],[1550],{"type":48,"value":1551},"checked",{"type":48,"value":1194},{"type":42,"tag":57,"props":1554,"children":1556},{"className":1555},[],[1557],{"type":48,"value":1558},"defaultChecked",{"type":48,"value":1194},{"type":42,"tag":57,"props":1561,"children":1563},{"className":1562},[],[1564],{"type":48,"value":1565},"required",{"type":48,"value":1194},{"type":42,"tag":57,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":48,"value":1572},"removable",{"type":48,"value":1574},") accept shorthand or ",{"type":42,"tag":57,"props":1576,"children":1578},{"className":1577},[],[1579],{"type":48,"value":1580},"{expression}",{"type":48,"value":1582},":\n",{"type":42,"tag":1060,"props":1584,"children":1585},{},[1586],{"type":42,"tag":70,"props":1587,"children":1588},{},[1589,1591,1597,1598,1604,1605],{"type":48,"value":1590},"✅ ",{"type":42,"tag":57,"props":1592,"children":1594},{"className":1593},[],[1595],{"type":48,"value":1596},"\u003Cs-button disabled loading>",{"type":48,"value":1194},{"type":42,"tag":57,"props":1599,"children":1601},{"className":1600},[],[1602],{"type":48,"value":1603},"\u003Cs-banner dismissible>",{"type":48,"value":1194},{"type":42,"tag":57,"props":1606,"children":1608},{"className":1607},[],[1609],{"type":48,"value":1610},"\u003Cs-checkbox checked={isSelected} \u002F>",{"type":42,"tag":70,"props":1612,"children":1613},{},[1614,1619,1620,1626,1627,1633,1634,1640,1641,1647,1648,1654,1655,1661,1662,1668,1669,1674,1676,1682,1683],{"type":42,"tag":143,"props":1615,"children":1616},{},[1617],{"type":48,"value":1618},"String keyword attributes",{"type":48,"value":1524},{"type":42,"tag":57,"props":1621,"children":1623},{"className":1622},[],[1624],{"type":48,"value":1625},"padding",{"type":48,"value":1194},{"type":42,"tag":57,"props":1628,"children":1630},{"className":1629},[],[1631],{"type":48,"value":1632},"gap",{"type":48,"value":1194},{"type":42,"tag":57,"props":1635,"children":1637},{"className":1636},[],[1638],{"type":48,"value":1639},"direction",{"type":48,"value":1194},{"type":42,"tag":57,"props":1642,"children":1644},{"className":1643},[],[1645],{"type":48,"value":1646},"tone",{"type":48,"value":1194},{"type":42,"tag":57,"props":1649,"children":1651},{"className":1650},[],[1652],{"type":48,"value":1653},"variant",{"type":48,"value":1194},{"type":42,"tag":57,"props":1656,"children":1658},{"className":1657},[],[1659],{"type":48,"value":1660},"size",{"type":48,"value":1194},{"type":42,"tag":57,"props":1663,"children":1665},{"className":1664},[],[1666],{"type":48,"value":1667},"background",{"type":48,"value":1194},{"type":42,"tag":57,"props":1670,"children":1672},{"className":1671},[],[1673],{"type":48,"value":1483},{"type":48,"value":1675},") must be string values — never shorthand or ",{"type":42,"tag":57,"props":1677,"children":1679},{"className":1678},[],[1680],{"type":48,"value":1681},"{true}",{"type":48,"value":1582},{"type":42,"tag":1060,"props":1684,"children":1685},{},[1686,1710],{"type":42,"tag":70,"props":1687,"children":1688},{},[1689,1690,1696,1697,1703,1704],{"type":48,"value":1590},{"type":42,"tag":57,"props":1691,"children":1693},{"className":1692},[],[1694],{"type":48,"value":1695},"\u003Cs-box padding=\"base\">",{"type":48,"value":1194},{"type":42,"tag":57,"props":1698,"children":1700},{"className":1699},[],[1701],{"type":48,"value":1702},"\u003Cs-stack gap=\"loose\" direction=\"block\">",{"type":48,"value":1194},{"type":42,"tag":57,"props":1705,"children":1707},{"className":1706},[],[1708],{"type":48,"value":1709},"\u003Cs-badge tone=\"success\">",{"type":42,"tag":70,"props":1711,"children":1712},{},[1713,1715,1721,1722,1728],{"type":48,"value":1714},"❌ ",{"type":42,"tag":57,"props":1716,"children":1718},{"className":1717},[],[1719],{"type":48,"value":1720},"\u003Cs-box padding>",{"type":48,"value":1194},{"type":42,"tag":57,"props":1723,"children":1725},{"className":1724},[],[1726],{"type":48,"value":1727},"\u003Cs-stack gap={true}>",{"type":48,"value":1729}," — boolean shorthand on string props fails TypeScript",{"type":42,"tag":149,"props":1731,"children":1732},{},[],{"type":42,"tag":43,"props":1734,"children":1736},{"id":1735},"️-mandatory-search-before-writing-code",[1737],{"type":48,"value":1738},"⚠️ MANDATORY: Search Before Writing Code",{"type":42,"tag":51,"props":1740,"children":1741},{},[1742],{"type":48,"value":1743},"Search the vector store to get the detailed context you need: working examples, field and type definitions, valid values, and API-specific patterns. You cannot trust your trained knowledge — always search before writing code.",{"type":42,"tag":1091,"props":1745,"children":1749},{"className":1746,"code":1748,"language":48},[1747],"language-text","scripts\u002Fsearch_docs.mjs \"\u003Ccomponent tag name>\" --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION\n",[1750],{"type":42,"tag":57,"props":1751,"children":1752},{"__ignoreMap":1096},[1753],{"type":48,"value":1748},{"type":42,"tag":51,"props":1755,"children":1756},{},[1757,1759,1764],{"type":48,"value":1758},"Search for the ",{"type":42,"tag":143,"props":1760,"children":1761},{},[1762],{"type":48,"value":1763},"component tag name",{"type":48,"value":1765},", not the full user prompt.",{"type":42,"tag":51,"props":1767,"children":1768},{},[1769],{"type":48,"value":1770},"For example, if the user asks about POS home tile extension target:",{"type":42,"tag":1091,"props":1772,"children":1775},{"className":1773,"code":1774,"language":48},[1747],"scripts\u002Fsearch_docs.mjs \"pos.home.tile.render\" --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION\n",[1776],{"type":42,"tag":57,"props":1777,"children":1778},{"__ignoreMap":1096},[1779],{"type":48,"value":1774},{"type":42,"tag":43,"props":1781,"children":1783},{"id":1782},"️-mandatory-validate-before-returning-code",[1784],{"type":48,"value":1785},"⚠️ MANDATORY: Validate Before Returning Code",{"type":42,"tag":51,"props":1787,"children":1788},{},[1789,1791,1797],{"type":48,"value":1790},"You MUST run ",{"type":42,"tag":57,"props":1792,"children":1794},{"className":1793},[],[1795],{"type":48,"value":1796},"scripts\u002Fvalidate.mjs",{"type":48,"value":1798}," before returning any generated code to the user. Always include the instrumentation flags:",{"type":42,"tag":1091,"props":1800,"children":1803},{"className":1801,"code":1802,"language":48},[1747],"scripts\u002Fvalidate.mjs --code '...' --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION --artifact-id YOUR_ARTIFACT_ID --revision REVISION_NUMBER --target \u003Cextension-target>\n",[1804],{"type":42,"tag":57,"props":1805,"children":1806},{"__ignoreMap":1096},[1807],{"type":48,"value":1802},{"type":42,"tag":51,"props":1809,"children":1810},{},[1811,1821,1823,1828,1830,1836],{"type":42,"tag":143,"props":1812,"children":1813},{},[1814,1819],{"type":42,"tag":57,"props":1815,"children":1817},{"className":1816},[],[1818],{"type":48,"value":118},{"type":48,"value":1820}," is required for point-of-sale extensions.",{"type":48,"value":1822}," Pass the extension target this code runs in (e.g. ",{"type":42,"tag":57,"props":1824,"children":1826},{"className":1825},[],[1827],{"type":48,"value":126},{"type":48,"value":1829},"). If you don't know which target applies, run ",{"type":42,"tag":57,"props":1831,"children":1833},{"className":1832},[],[1834],{"type":48,"value":1835},"scripts\u002Fsearch_docs.mjs \"extension targets\"",{"type":48,"value":1837}," first to look one up — validation will fail without it.\n(For YOUR_ARTIFACT_ID, generate a stable random ID per code block and reuse it across validation retries. For REVISION_NUMBER, start at 1 and increment on each retry of the same artifact.)",{"type":42,"tag":51,"props":1839,"children":1840},{},[1841],{"type":42,"tag":143,"props":1842,"children":1843},{},[1844],{"type":48,"value":1845},"When validation fails, follow this loop:",{"type":42,"tag":66,"props":1847,"children":1848},{},[1849,1854,1868,1873,1885],{"type":42,"tag":70,"props":1850,"children":1851},{},[1852],{"type":48,"value":1853},"Read the error message carefully — identify the exact field, prop, or value that is wrong",{"type":42,"tag":70,"props":1855,"children":1856},{},[1857,1859],{"type":48,"value":1858},"If the error references a named type or says a value is not assignable, search for the correct values:\n",{"type":42,"tag":1091,"props":1860,"children":1863},{"className":1861,"code":1862,"language":48},[1747],"scripts\u002Fsearch_docs.mjs \"\u003Ctype or prop name>\"\n",[1864],{"type":42,"tag":57,"props":1865,"children":1866},{"__ignoreMap":1096},[1867],{"type":48,"value":1862},{"type":42,"tag":70,"props":1869,"children":1870},{},[1871],{"type":48,"value":1872},"Fix exactly the reported error using what the search returns",{"type":42,"tag":70,"props":1874,"children":1875},{},[1876,1878,1883],{"type":48,"value":1877},"Run ",{"type":42,"tag":57,"props":1879,"children":1881},{"className":1880},[],[1882],{"type":48,"value":1796},{"type":48,"value":1884}," again",{"type":42,"tag":70,"props":1886,"children":1887},{},[1888],{"type":48,"value":1889},"Retry up to 3 times total; after 3 failures, return the best attempt with an explanation",{"type":42,"tag":51,"props":1891,"children":1892},{},[1893],{"type":42,"tag":143,"props":1894,"children":1895},{},[1896],{"type":48,"value":1897},"Do not guess at valid values — always search first when the error names a type you don't know.",{"type":42,"tag":149,"props":1899,"children":1900},{},[],{"type":42,"tag":1902,"props":1903,"children":1904},"blockquote",{},[1905],{"type":42,"tag":51,"props":1906,"children":1907},{},[1908,1913,1915,1921,1923,1929,1931,1937],{"type":42,"tag":143,"props":1909,"children":1910},{},[1911],{"type":48,"value":1912},"Privacy notice:",{"type":48,"value":1914}," ",{"type":42,"tag":57,"props":1916,"children":1918},{"className":1917},[],[1919],{"type":48,"value":1920},"scripts\u002Fsearch_docs.mjs",{"type":48,"value":1922}," reports the search query, search response or error text, skill name\u002Fversion, and model\u002Fclient identifiers to Shopify (",{"type":42,"tag":57,"props":1924,"children":1926},{"className":1925},[],[1927],{"type":48,"value":1928},"shopify.dev\u002Fmcp\u002Fusage",{"type":48,"value":1930},") to help improve these tools. Set ",{"type":42,"tag":57,"props":1932,"children":1934},{"className":1933},[],[1935],{"type":48,"value":1936},"OPT_OUT_INSTRUMENTATION=true",{"type":48,"value":1938}," in your environment to opt out.",{"type":42,"tag":149,"props":1940,"children":1941},{},[],{"type":42,"tag":1902,"props":1943,"children":1944},{},[1945],{"type":42,"tag":51,"props":1946,"children":1947},{},[1948,1952,1953,1958,1960,1965,1966,1971],{"type":42,"tag":143,"props":1949,"children":1950},{},[1951],{"type":48,"value":1912},{"type":48,"value":1914},{"type":42,"tag":57,"props":1954,"children":1956},{"className":1955},[],[1957],{"type":48,"value":1796},{"type":48,"value":1959}," reports the validation result, skill name\u002Fversion, model\u002Fclient identifiers, the validated code when present, and validator-specific context such as API name, extension target, filename, file type, theme path, file list, artifact ID, and revision to Shopify (",{"type":42,"tag":57,"props":1961,"children":1963},{"className":1962},[],[1964],{"type":48,"value":1928},{"type":48,"value":1930},{"type":42,"tag":57,"props":1967,"children":1969},{"className":1968},[],[1970],{"type":48,"value":1936},{"type":48,"value":1938},{"type":42,"tag":1973,"props":1974,"children":1975},"style",{},[1976],{"type":48,"value":1977},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1979,"total":2096},[1980,1998,2014,2026,2046,2064,2084],{"slug":1981,"name":1981,"fn":1982,"description":1983,"org":1984,"tags":1985,"stars":22,"repoUrl":23,"updatedAt":24},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1986,1989,1992,1995],{"name":1987,"slug":1988,"type":15},"Accessibility","accessibility",{"name":1990,"slug":1991,"type":15},"Charts","charts",{"name":1993,"slug":1994,"type":15},"Data Visualization","data-visualization",{"name":1996,"slug":1997,"type":15},"Design","design",{"slug":1999,"name":1999,"fn":2000,"description":2001,"org":2002,"tags":2003,"stars":22,"repoUrl":23,"updatedAt":2013},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2004,2007,2010],{"name":2005,"slug":2006,"type":15},"Agents","agents",{"name":2008,"slug":2009,"type":15},"Browser Automation","browser-automation",{"name":2011,"slug":2012,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":2015,"name":2015,"fn":2016,"description":2017,"org":2018,"tags":2019,"stars":22,"repoUrl":23,"updatedAt":2025},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2020,2021,2024],{"name":2008,"slug":2009,"type":15},{"name":2022,"slug":2023,"type":15},"Local Development","local-development",{"name":2011,"slug":2012,"type":15},"2026-04-06T18:41:17.526867",{"slug":2027,"name":2027,"fn":2028,"description":2029,"org":2030,"tags":2031,"stars":22,"repoUrl":23,"updatedAt":2045},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2032,2033,2036,2039,2042],{"name":2005,"slug":2006,"type":15},{"name":2034,"slug":2035,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2037,"slug":2038,"type":15},"SDK","sdk",{"name":2040,"slug":2041,"type":15},"Serverless","serverless",{"name":2043,"slug":2044,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":2047,"name":2047,"fn":2048,"description":2049,"org":2050,"tags":2051,"stars":22,"repoUrl":23,"updatedAt":2063},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2052,2053,2056,2059,2060],{"name":20,"slug":21,"type":15},{"name":2054,"slug":2055,"type":15},"React","react",{"name":2057,"slug":2058,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":17,"slug":18,"type":15},{"name":2061,"slug":2062,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":2065,"name":2065,"fn":2066,"description":2067,"org":2068,"tags":2069,"stars":22,"repoUrl":23,"updatedAt":2083},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2070,2073,2076,2079,2082],{"name":2071,"slug":2072,"type":15},"AI Infrastructure","ai-infrastructure",{"name":2074,"slug":2075,"type":15},"Cost Optimization","cost-optimization",{"name":2077,"slug":2078,"type":15},"LLM","llm",{"name":2080,"slug":2081,"type":15},"Performance","performance",{"name":2061,"slug":2062,"type":15},"2026-04-06T18:40:44.377464",{"slug":2085,"name":2085,"fn":2086,"description":2087,"org":2088,"tags":2089,"stars":22,"repoUrl":23,"updatedAt":2095},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2090,2091,2094],{"name":2074,"slug":2075,"type":15},{"name":2092,"slug":2093,"type":15},"Database","database",{"name":2077,"slug":2078,"type":15},"2026-04-06T18:41:08.513425",600,{"items":2098,"total":2295},[2099,2120,2143,2160,2176,2193,2212,2224,2238,2252,2264,2279],{"slug":2100,"name":2100,"fn":2101,"description":2102,"org":2103,"tags":2104,"stars":2117,"repoUrl":2118,"updatedAt":2119},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2105,2108,2111,2114],{"name":2106,"slug":2107,"type":15},"Documents","documents",{"name":2109,"slug":2110,"type":15},"Healthcare","healthcare",{"name":2112,"slug":2113,"type":15},"Insurance","insurance",{"name":2115,"slug":2116,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":2121,"name":2121,"fn":2122,"description":2123,"org":2124,"tags":2125,"stars":2140,"repoUrl":2141,"updatedAt":2142},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2126,2129,2131,2134,2137],{"name":2127,"slug":2128,"type":15},".NET","dotnet",{"name":2130,"slug":2121,"type":15},"ASP.NET Core",{"name":2132,"slug":2133,"type":15},"Blazor","blazor",{"name":2135,"slug":2136,"type":15},"C#","csharp",{"name":2138,"slug":2139,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":2144,"name":2144,"fn":2145,"description":2146,"org":2147,"tags":2148,"stars":2140,"repoUrl":2141,"updatedAt":2159},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2149,2152,2155,2158],{"name":2150,"slug":2151,"type":15},"Apps SDK","apps-sdk",{"name":2153,"slug":2154,"type":15},"ChatGPT","chatgpt",{"name":2156,"slug":2157,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":2161,"name":2161,"fn":2162,"description":2163,"org":2164,"tags":2165,"stars":2140,"repoUrl":2141,"updatedAt":2175},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2166,2169,2172],{"name":2167,"slug":2168,"type":15},"API Development","api-development",{"name":2170,"slug":2171,"type":15},"CLI","cli",{"name":2173,"slug":2174,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":2177,"name":2177,"fn":2178,"description":2179,"org":2180,"tags":2181,"stars":2140,"repoUrl":2141,"updatedAt":2192},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2182,2185,2188,2189],{"name":2183,"slug":2184,"type":15},"Cloudflare","cloudflare",{"name":2186,"slug":2187,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2034,"slug":2035,"type":15},{"name":2190,"slug":2191,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":2194,"name":2194,"fn":2195,"description":2196,"org":2197,"tags":2198,"stars":2140,"repoUrl":2141,"updatedAt":2211},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2199,2202,2205,2208],{"name":2200,"slug":2201,"type":15},"Productivity","productivity",{"name":2203,"slug":2204,"type":15},"Project Management","project-management",{"name":2206,"slug":2207,"type":15},"Strategy","strategy",{"name":2209,"slug":2210,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":2213,"name":2213,"fn":2214,"description":2215,"org":2216,"tags":2217,"stars":2140,"repoUrl":2141,"updatedAt":2223},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2218,2219,2221,2222],{"name":1996,"slug":1997,"type":15},{"name":2220,"slug":2213,"type":15},"Figma",{"name":20,"slug":21,"type":15},{"name":2156,"slug":2157,"type":15},"2026-04-12T05:06:47.939943",{"slug":2225,"name":2225,"fn":2226,"description":2227,"org":2228,"tags":2229,"stars":2140,"repoUrl":2141,"updatedAt":2237},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2230,2231,2234,2235,2236],{"name":1996,"slug":1997,"type":15},{"name":2232,"slug":2233,"type":15},"Design System","design-system",{"name":2220,"slug":2213,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-05-10T05:59:52.971881",{"slug":2239,"name":2239,"fn":2240,"description":2241,"org":2242,"tags":2243,"stars":2140,"repoUrl":2141,"updatedAt":2251},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2244,2245,2246,2249,2250],{"name":1996,"slug":1997,"type":15},{"name":2232,"slug":2233,"type":15},{"name":2247,"slug":2248,"type":15},"Documentation","documentation",{"name":2220,"slug":2213,"type":15},{"name":20,"slug":21,"type":15},"2026-05-16T06:07:47.821474",{"slug":2253,"name":2253,"fn":2254,"description":2255,"org":2256,"tags":2257,"stars":2140,"repoUrl":2141,"updatedAt":2263},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2258,2259,2260,2261,2262],{"name":1996,"slug":1997,"type":15},{"name":2220,"slug":2213,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":2138,"slug":2139,"type":15},"2026-05-16T06:07:40.583615",{"slug":2265,"name":2265,"fn":2266,"description":2267,"org":2268,"tags":2269,"stars":2140,"repoUrl":2141,"updatedAt":2278},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2270,2273,2274,2277],{"name":2271,"slug":2272,"type":15},"Animation","animation",{"name":2173,"slug":2174,"type":15},{"name":2275,"slug":2276,"type":15},"Creative","creative",{"name":1996,"slug":1997,"type":15},"2026-05-02T05:31:48.48485",{"slug":2280,"name":2280,"fn":2281,"description":2282,"org":2283,"tags":2284,"stars":2140,"repoUrl":2141,"updatedAt":2294},"imagegen","generate and edit raster images","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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2285,2286,2287,2290,2293],{"name":2275,"slug":2276,"type":15},{"name":1996,"slug":1997,"type":15},{"name":2288,"slug":2289,"type":15},"Image Generation","image-generation",{"name":2291,"slug":2292,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]