shopify-apps

Expert patterns for Shopify app development including Remix/React Router apps, embedded apps with App Bridge, webhook handling, GraphQL Admin API, Polaris components, billing, and app extensions. Use when: shopify app, shopify, embedded app, polaris, app bridge.

Author

Install

Hot:17

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-shopify-apps&locale=en&source=copy

Shopify Apps - Shopify App Development Expert Mode

Skills Overview


Shopify Apps provide a battle-tested Shopify app development approach, covering embedded app development using React Router, App Bridge integration, secure webhook handling, GraphQL Admin API calls, Polaris component usage, and implementing billing and extensibility features.

Use Cases

  • Develop Shopify Embedded Apps

  • When you need to build an app that runs within the Shopify Admin backend, this mode ensures correct App Bridge integration, so the app can be securely and seamlessly embedded into the Shopify Admin interface.

  • Handle Shopify Webhook Events

  • When you need to receive and process event notifications from Shopify (e.g., order creation, product updates, etc.), this mode provides a secure HMAC-verified implementation and best practices for asynchronous processing.

  • Build API Integrations with GraphQL

  • When developing a new Shopify app, this mode recommends using the GraphQL Admin API instead of the REST API for better performance, more precise data queries, and stronger type safety.

    Core Features

  • React Router App Architecture

  • Provides a modern Shopify app template configuration, supporting React Router route management to ensure the app structure aligns with best practices in the Shopify ecosystem.

  • App Bridge Embedded Integration

  • Implements App Bridge integration so the app renders correctly in Shopify Admin, handling authentication, cross-domain communication, and UI consistency, including using the latest App Bridge version via a script tag.

  • Secure Webhook Handling

  • Provides a secure webhook handling pattern with HMAC verification to ensure the request source is trustworthy. It also uses a strategy of “respond immediately, process asynchronously” to avoid timeout issues, while checking rate-limit headers.

    FAQ

    Should a Shopify App Use REST or GraphQL API?

    For new projects, using the GraphQL Admin API is strongly recommended. GraphQL offers more precise data querying, better performance, and stronger type safety. REST API is mainly used to maintain existing projects or for compatibility needs in specific scenarios.

    How Do I Securely Verify Shopify Webhooks?

    All webhook requests must be verified with HMAC to ensure they originate from Shopify. The verification process requires calculating an HMAC of the request body using the app’s API key, then comparing it with the signature in the request headers. Additionally, when handling webhooks, you should return the response immediately, and put the actual processing logic into an asynchronous queue.

    How Do I Handle Shopify API Rate Limits?

    You should check the rate limit information in the response headers after every API call (e.g., X-Shopify-Shop-Api-Call-Limit). When approaching the limit, implement a backoff strategy. For scenarios that require large amounts of data operations, prefer bulk operations or consider requests to access protected customer data.