shopify-app
Installation
SKILL.md
Building a Shopify app
A Shopify app is a Remix app that runs embedded in the Shopify admin (iframe +
App Bridge), built on @shopify/shopify-app-remix (shopifyApp() +
authenticate) with Polaris UI. Source lives in integrations/shopify-app/.
OAuth, session storage, webhook HMAC, and API versioning come from the package;
you supply routes and your own product's logic. Keep it a thin client over your
product's SDK / public REST API — all secrets and business logic stay server-side
(.server.ts modules). Config lives in shopify.app.toml (client_id, URLs,
scopes, declarative webhook subscriptions). Read this before the first file; the
command playbook is scripts/shopify-app/README.md in the scripts repo.
When to use
- Triggers: 'build a Shopify app', 'shopify app dev', 'shopify.app.toml', 'App Bridge embedded app', 'Shopify webhook HMAC', 'GDPR webhooks customers/data_request', 'Shopify App Store review rejected'.
- Webhook routes must return 2xx even when downstream work fails (non-2xx retries storm). The three GDPR privacy webhooks are mandatory, even as no-ops.
- shopify.app.toml edits do nothing until
shopify app deploy; the embedded frame needs the boundary error and headers exports or OAuth redirects die; review installs on a store with none of your state. - Siblings: canva-app, figma-plugin, browser-extension, zapier-integration, connector-directory-submission.