/shopify-pack:shopify-checkout-extensionsfrom shopify-pack
Builds sandboxed Checkout UI Extensions for Shopify with React-like components, hooks, and bundle optimization. Use for checkout.liquid migration or adding custom fields and banners.
Ships in shopify-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Checkout UI Extensions replace checkout.liquid (deprecated August 2025) with sandboxed, React-like components at specific checkout targets. They run in isolation with no DOM access and a strict 64KB bundle limit, using Shopify's component library for consistent, accessible UIs.
@shopify/ui-extensions-react package# extensions/checkout-banner/shopify.extension.toml
api_version = "2025-01"
type = "ui_extension"
[[extensions.targeting]]
module = "./src/Checkout.tsx"
target = "purchase.checkout.block.render"
[extensions.capabilities]
api_access = true
network_access = false
import {
reactExtension, Banner, BlockStack, Text, useSettings,
} from "@shopify/ui-extensions-react/checkout";
export default reactExtension("purchase.checkout.block.render", () => <CheckoutBanner />);
function CheckoutBanner() {
const { banner_text } = useSettings();
return (
<BlockStack spacing="tight">
<Banner status="info">{banner_text || "Free shipping over $50!"}</Banner>
</BlockStack>
);
}
import {
useApplyMetafieldsChange, useTotalAmount, useShippingAddress, TextField,
} from "@shopify/ui-extensions-react/checkout";
function DeliveryNote() {
const applyMetafieldsChange = useApplyMetafieldsChange();
return (
<TextField
label="Delivery instructions"
onChange={(value) => applyMetafieldsChange({
type: "updateMetafield",
namespace: "custom", key: "delivery_note",
valueType: "string", value,
})}
/>
);
}
shopify app build --verbose # Check output size
# Import only what you use — each component adds ~1-3KB
# Avoid lodash, date-fns, zod — use native JS
# Split into multiple extensions if approaching 64KB
See extension-targets.md for all targets, ui-components.md for components, and bundle-optimization.md for size strategies.
| Error | Cause | Solution |
|---|---|---|
EXTENSION_LOAD_FAILED | Bundle exceeds 64KB or invalid code | Tree-shake deps; check size with --verbose |
| Sandbox violation | DOM access, fetch, or window usage | Use only Shopify components and hooks |
CHECKOUT_COMPLETION_BLOCKED | Extension error with block_progress | Add try/catch; test all edge cases |
| Target not rendering | Wrong target or not enabled | Verify target in TOML; check admin placement |
Collect delivery instructions or gift messages by rendering a text input at a specific checkout target and saving the value as a cart metafield.
See Extension Targets for all available targets and placement options.
Create a merchant-configurable promotional banner using Shopify's UI component library with proper accessibility.
See UI Components for available components and their key props.
Your checkout extension is approaching the 64KB limit. Apply tree-shaking, dependency auditing, and extension splitting strategies.
See Bundle Optimization for size measurement and reduction techniques.
What SKILL.md sets; muted values are Claude Code's defaults
38 skills in this plugin
/shopify-advanced-troubleshootingDebug complex Shopify API issues using cost analysis, request tracing,
webhook delivery inspection, and GraphQL introspection.
Use when encountering intermittent failures, throttling mysteries, or webhook delivery gaps.
Trigger with phrases like "shopify hard bug", "shopify mystery error",
"shopify deep debug", "difficult shopify issue", "shopify intermittent failure".
/shopify-ai-toolkit-wrapperIntegrate Shopify's AI Toolkit MCP server with Claude Code for GraphQL validation,
Liquid linting, and documentation search.
Use when setting up Shopify MCP integration, validating GraphQL queries,
or linting Liquid templates.
Trigger with phrases like "shopify ai toolkit", "shopify mcp",
"shopify claude integration", "shopify graphql validation", "shopify liquid lint".
/shopify-architecture-variantsChoose between Shopify app architectures: embedded Remix app, headless storefront with
Hydrogen, standalone integration, or theme app extension.
Use when starting a new Shopify project and deciding which architecture pattern to follow.
Trigger with phrases like "shopify architecture decision", "shopify embedded vs headless",
"shopify Hydrogen", "shopify app types", "which shopify architecture".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin shopify-packOther plugins' skills for the same job