openai/plugins/shopify-polaris-app-home
Claude Code and agent skill by openai/plugins
- vendor
Checking that the SKILL.md file is still in the repository.
Build your app's primary user interface embedded in the Shopify admin. If the prompt just mentions `Polaris` and you can't tell based off of the context what API they meant, assume they meant this API.
Install
npx vskill@latest install openai/plugins/shopify-polaris-app-homeSKILL.md
The same SKILL.md was published earlier as openai/plugins/shopify-polaris-app-home.
Required Tool Calls (do not skip)
You have a bash tool. Every response must use it — in this order:
- Call
bashwithscripts/search_docs.mjs "<query>"— search before writing code - Write the code using the search results
- Call
bashwithscripts/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— 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.)
- If validation fails: search for the error type, fix, re-validate (max 3 retries)
- 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 polaris-app-home 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. Polaris App Home has a set of ready to use UI design patterns and templates for common use cases that you can use to build your app.
version: unversioned
APIs
Available APIs: App, Config, Environment, Resource Fetching, ID Token, Intents, Loading, Modal API, Navigation, Picker, POS, Print, Resource Picker, Reviews, Save Bar, Scanner, Scopes, Share, Support, Toast, User, Web Vitals React Hooks: useAppBridge
Patterns
Compositions: Account connection, App card, Callout card, Empty state, Footer help, Index table, Interstitial nav, Media card, Metrics card, Resource list, Setup guide Templates: Details, Homepage, Index, Settings
Guides
Available guides: Using Polaris web components
Components available for Polaris App Home. These examples have all the props available for the component. Some example values for these props are provided. Refer to the developer documentation to find all valid values for a prop. Ensure the component is available for the target you are using.
Imports
App Home extensions use @shopify/app-bridge-types for App Bridge APIs and @shopify/polaris-types for Polaris component types. Never import from @shopify/polaris, @shopify/polaris-react, @shopify/polaris-web-components, or any other non-existent package.
Polaris web components (s-page, s-badge, etc.)
Polaris web components are custom HTML elements with an s- prefix. These are globally registered and require no import statement. Use them directly as JSX tags:
When the user asks for Polaris web components (e.g. s-page, s-badge, s-button, s-box), use the web component tag syntax above.
Web component attribute rules:
- Use camelCase prop names:
alignItems,gridTemplateColumns,borderRadius— NOT hyphenated (align-items,grid-template-columns) - Boolean attributes (
disabled,loading,dismissible,checked,defaultChecked,required,removable,alpha,multiple) accept shorthand or{expression}: - ✅
<s-button disabled>,<s-switch checked={isEnabled} />,<s-banner dismissible> - String keyword attributes (
padding,gap,direction,tone,variant,size,background,alignItems,inlineSize) must be string values — never shorthand or{true}: - ✅
<s-box padding="base">,<s-stack gap="loose" direction="block">,<s-badge tone="success"> - ❌
<s-box padding>,<s-stack gap={true}>— boolean shorthand on string props fails TypeScript
⚠️ MANDATORY: Search Before Writing Code
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.
Search for the component tag name, not the full user prompt.
For example, if the user asks about form in app home:
⚠️ MANDATORY: Validate Before Returning Code
You MUST run scripts/validate.mjs before returning any generated code to the user. Always include the instrumentation flags:
(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.)
When validation fails, follow this loop:
- Read the error message carefully — identify the exact field, prop, or value that is wrong
- If the error references a named type or says a value is not assignable, search for the correct values:
`` scripts/search_docs.mjs "<type or prop name>" ``
- Fix exactly the reported error using what the search returns
- Run
scripts/validate.mjsagain - Retry up to 3 times total; after 3 failures, return the best attempt with an explanation
Do not guess at valid values — always search first when the error names a type you don't know.
Privacy notice:scripts/search_docs.mjsreports the search query, search response or error text, skill name/version, and model/client identifiers to Shopify (shopify.dev/mcp/usage) to help improve these tools. SetOPT_OUT_INSTRUMENTATION=truein your environment to opt out.
Privacy notice:scripts/validate.mjsreports the validation result, skill name/version, model/client 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/mcp/usage) to help improve these tools. SetOPT_OUT_INSTRUMENTATION=truein your environment to opt out.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 8 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/shopify/skills/shopify-polaris-app-home/SKILL.md
Popularity
- Repository stars
- 5,227
- Repository forks
- 736
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openai/plugins/shopify-polaris-app-home)