Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

shopify-polaris-admin-extensions · openai — Claude skill

A skill that steers Claude through building Shopify admin UI extensions: look up the docs, write Polaris code, then validate it before you get an answer.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill shopify-polaris-admin-extensions -a codex
Open on GitHub

What shopify-polaris-admin-extensions does

The skill covers the four extension types Shopify apps can add to the admin: action, block, link and print action. Before writing anything the agent searches the docs with scripts/search_docs.mjs. The generated code is then checked by scripts/validate.mjs, which expects --model, --client-name, --client-version, --artifact-id, --revision and --target; leave out the target and validation fails.

Scaffolding goes through Shopify CLI, one template per type: admin_action, admin_block, admin_link, admin_print. Hand-written boilerplate is off the table, since the CLI template tracks the current API version.

The validator rejects HTML comments in the code, so <!-- ... --> has to go. Node.js is required for the scripts. To get the skill into Claude, run the npx skills add line with -a codex; the file lands at .agents/skills/shopify-polaris-admin-extensions/SKILL.md.

What it helps with

  • scaffold an admin action extension with Shopify CLI
  • build a product page block out of Polaris web components
  • run validation on extension code before handing it over
  • find which API fits a given extension target
  • add a print action for order documents

Example prompts for the agent

  • Generate an admin block for the product page and validate it with --target admin.product-details.block.render
  • Look up in the docs how to add a resource picker to an admin action, then write the code
  • Build a print action for an invoice and run scripts/validate.mjs before returning

How to install shopify-polaris-admin-extensions

1Skills CLI (Vercel)

npx skills add openai/plugins --skill shopify-polaris-admin-extensions -a codex

2Manually: put the files in place

.agents/skills/shopify-polaris-admin-extensions/SKILL.md

For all projects use ~/.agents/skills/

Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them

Questions about shopify-polaris-admin-extensions

How do I install shopify-polaris-admin-extensions in Claude?

Run npx skills add openai/plugins --skill shopify-polaris-admin-extensions -a codex. The skill file ends up at .agents/skills/shopify-polaris-admin-extensions/SKILL.md.

What does shopify-polaris-admin-extensions do?

It makes the agent write Shopify admin extensions in a fixed order: docs search first, code second, validator last. Nothing comes back to you until validation passes.

What does the skill need to run?

Node.js, because both helper scripts run on it. Extensions themselves are generated with Shopify CLI so the template matches the API version in use.

Similar skills

All skills for Frontend and UI →

shopify-polaris-admin-extensions by other authors comes first.

From the same set528

The whole set →
stripe-directory Turns a vague market need into a short list of matching services, and can pay for them directly when they support MPP. CX Codex GP ChatGPT ★ 7,604repo stars stripe-apps This skill guides Stripe App work from scaffolding and Dashboard UI to webhooks, uploads, versioning, and marketplace release. CX Codex GP ChatGPT ★ 7,604repo stars connect-recommend This skill reads your business from a URL or description and recommends a Stripe Connect configuration with a matching charge pattern. Useful when you're building a marketplace or platform that pays out sellers. CX Codex GP ChatGPT ★ 7,604repo stars shopify-polaris-checkout-extensions Writes Shopify checkout UI extension code: searches the docs, validates the result and scaffolds new extensions through Shopify CLI. CX Codex GP ChatGPT ★ 7,604repo stars shopify-payments-apps Writes GraphQL queries and mutations against the Shopify Payments Apps API. Handy when you work on payment sessions, refunds or captures. CX Codex GP ChatGPT ★ 7,604repo stars shopify-partner Generates and validates Shopify Partner API GraphQL operations for apps and theme management. Requires Node.js. CX Codex GP ChatGPT ★ 7,604repo stars shopify-customer Helps build GraphQL queries and mutations for Shopify’s Customer Account API. Use it when working with a customer’s orders, addresses, or account data. CX Codex GP ChatGPT ★ 7,604repo stars three-statement-model-builder Builds an integrated Excel operating model for a public company, linking its income statement, balance sheet, and cash flow statement. Use it for a new forecast or a model refresh. CX Codex GP ChatGPT ★ 7,604repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor