Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shopify avatar

Shopify Pos Ui

  • 6.3k installs
  • 476 repo stars
  • Updated July 27, 2026
  • shopify/shopify-ai-toolkit

shopify-pos-ui is a Shopify AI toolkit skill for POS UI extensions with CLI scaffolding, doc search, and validated Preact component code.

About

The shopify-pos-ui skill helps developers build retail point-of-sale applications with Shopify POS UI components and extension targets. Agents search POS UI docs with scripts/search_docs.mjs, generate type-safe Preact extension code, then validate via scripts/validate.mjs including a required --target flag such as pos.customer-details.block.render. CLI scaffolding is mandatory: never hand-create app structure or configuration files. The documented flow installs Shopify CLI, initializes or enters an app directory, and generates POS UI extensions through CLI commands rather than manual folder creation. Validation requires base64-encoded user prompts, session metadata when available, artifact ids, and revision numbers with up to three retry cycles. Extension targets map UI blocks to POS surfaces like customer details, smart grid tiles, and checkout-adjacent flows. Use when users ask for POS retail UI, smart grid extensions, or Shopify CLI POS scaffolding with production-ready Preact patterns verified against the latest pos-ui framework version.

  • Mandatory search_docs.mjs and validate.mjs with --target for every POS UI response.
  • CLI-only scaffolding: never manually create POS extension app structure or config files.
  • Preact POS UI extension code with type-safe component patterns and extension targets.
  • Documented Shopify CLI flow from app init through extension generation inside the app directory.
  • Validation retries up to three times with artifact id and revision tracking per code block.

Shopify Pos Ui by the numbers

  • 6,309 all-time installs (skills.sh)
  • +267 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #26 of 1,048 Mobile Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

shopify-pos-ui capabilities & compatibility

Capabilities
cli mandated pos extension scaffolding · doc search before codegen · target aware validation workflow · preact pos ui component patterns · retry loop with artifact revisions
Use cases
frontend · api development
From the docs

What shopify-pos-ui says it does

Build retail point-of-sale applications using Shopify's POS UI components.
SKILL.md
ALWAYS USE THE CLI TO SCAFFOLD A NEW EXTENSION AND NEVER MANUALLY CREATE THE APP STRUCTURE
SKILL.md
npx skills add https://github.com/shopify/shopify-ai-toolkit --skill shopify-pos-ui

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.3k
repo stars476
Security audit1 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryshopify/shopify-ai-toolkit

How do I scaffold and implement Shopify POS UI extensions with correct targets, CLI structure, and validated Preact snippets?

Build Shopify POS UI extensions with CLI scaffolding, Preact components, extension targets, and validated pos-ui framework code.

Who is it for?

Retail developers building Shopify POS UI extensions, smart grid tiles, and customer-facing POS blocks with Shopify CLI.

Skip if: Skip for Hydrogen storefront work, Admin API scripts, or manual extension folders without Shopify CLI scaffolding.

When should I use this skill?

User mentions POS UI extensions, retail POS smart grid, Shopify CLI POS scaffolding, or pos-ui component targets.

What you get

CLI-scaffolded POS extension code that passes validate.mjs with the correct --target and pos-ui framework patterns.

  • POS UI extension components
  • Validated extension source code

By the numbers

  • shopify-ai-toolkit shopify-pos-ui skill version 1.9.0
  • Mandates three-step workflow: search_docs.mjs, write code, validate.mjs

Files

SKILL.mdMarkdownGitHub ↗

Required Tool Calls (do not skip)

You have a bash tool. Every response must use it — in this order:

1. Call bash with scripts/search_docs.mjs "<query>" — search before writing code 2. Write the code using the search results 3. Call bash with scripts/validate.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 <extension-target> — validate before returning (Always include these flags. Use your actual model name for YOUR_MODEL_NAME; use claude-code/cursor/etc. 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. 4. If validation fails: search for the error type, fix, re-validate (max 3 retries) 5. Return code only after validation passes

You must run both search_docs.mjs and validate.mjs in every response. Do not return code to the user without completing step 3.

---

You are an assistant that helps Shopify developers write UI Framework code to interact with the latest Shopify pos-ui UI Framework version.

You should find all operations that can help the developer achieve their goal, provide valid UI Framework code along with helpful explanations.<system-instructions> You 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

🚨 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.

Create POS UI extension flow

<pos-extension-todo-flow> <step id="1"> Ensure Shopify CLI is installed and up to date. For installation or upgrade steps, use shopify-use-shopify-cli. </step> <step id="2"> Determine if working with new app or existing app <step id="2.1"> If existing app: <step id="2.1.1">cd into the app directory</step> </step> <step id="2.2"> If no existing app: <step id="2.2.1">Run shopify app init --template=none --name={{appropriate-app-name}}</step> <step id="2.2.2">cd into the app directory</step> </step> <step id="2.3"> <step id="2.3.1">Ignore all existing extensions in the app. Only generate new extension. DO NOT modify existing extensions.</step> <step 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.</step> </step> </step> </pos-extension-todo-flow> </system-instructions>

If no extension target is specified, search the documentation to determine the appropriate target for the user's use case before generating code.

Available Extension Targets for pos-ui

Surface: point-of-sale Total Targets:

Related skills

How it compares

Pick shopify-pos-ui over generic frontend-design skills when building in-store Shopify POS extensions that must match official POS UI component APIs.

FAQ

Can I manually create POS extension files?

No. Always use Shopify CLI to scaffold extensions and never hand-create app structure or configuration files.

What validation flag is required for POS UI code?

Pass --target with the POS extension target such as pos.customer-details.block.render or validation fails.

What is the required response workflow?

Run search_docs.mjs, write Preact code, then validate.mjs with all required flags before returning output to the user.

Is Shopify Pos Ui safe to install?

skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Mobile Developmentfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.