/shopify-commerce:shopify-liquidfrom shopify-commerce
Writes Shopify Liquid templates including objects, tags, filters, section schema, and Online Store 2.0 JSON templates. Use when customizing Shopify theme templates.
Ships in shopify-commerce. 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.
None: SKILL.md is the whole skill.
Fetch live docs:
https://shopify.dev/docs/api/liquid for Liquid referencesite:shopify.dev liquid objects for available objectssite:shopify.dev liquid filters for available filtersLiquid is Shopify's template language:
Access data with double curly braces:
{{ product.title }} — product name{{ product.price | money }} — formatted price{{ cart.item_count }} — number of items in cart| Object | Description |
|---|---|
product | Current product (on product pages) |
collection | Current collection |
cart | Shopping cart |
customer | Logged-in customer (nil if guest) |
shop | Store settings |
request | Current request (locale, page type) |
content_for_header | Required scripts/meta (must be in layout) |
content_for_layout | Template content (must be in layout) |
all_products | Access any product by handle |
collections | All collections |
linklists | Navigation menus |
pages | CMS pages |
settings | Theme settings |
Control flow and logic:
{% if product.available %}
<span>In stock</span>
{% elsif product.variants.size > 0 %}
<span>Limited</span>
{% else %}
<span>Sold out</span>
{% endif %}
{% unless customer %}
<a href="/account/login">Log in</a>
{% endunless %}
{% case product.type %}
{% when 'Shirt' %}
<p>Clothing</p>
{% when 'Mug' %}
<p>Accessories</p>
{% endcase %}
{% for product in collection.products %}
<h2>{{ product.title }}</h2>
{% endfor %}
{% for item in cart.items limit:5 offset:2 %}
{{ item.title }}
{% endfor %}
{% paginate collection.products by 12 %}
{% for product in collection.products %}
{{ product.title }}
{% endfor %}
{{ paginate | default_pagination }}
{% endpaginate %}
{% assign greeting = 'Hello' %}
{% capture full_greeting %}{{ greeting }}, {{ customer.first_name }}!{% endcapture %}
Transform output:
upcase, downcase, strip, truncate, replace, split, url_encodeplus, minus, times, divided_by, round, ceil, floormoney, money_with_currency, money_without_trailing_zerosdate: '%B %d, %Y'first, last, size, sort, map, where, join, uniqimg_tag, script_tag, stylesheet_tagasset_url, img_url, file_url, shopify_asset_urlimage_url, image_tag (modern replacements for img_url/img_tag)Sections define their own settings in a {% schema %} tag:
{% schema %}
{
"name": "Featured Product",
"settings": [
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "color",
"id": "background_color",
"label": "Background color",
"default": "#ffffff"
}
],
"blocks": [
{
"type": "text",
"name": "Text block",
"settings": [
{
"type": "richtext",
"id": "content",
"label": "Content"
}
]
}
],
"presets": [
{
"name": "Featured Product"
}
]
}
{% endschema %}
Templates are JSON files that reference sections:
{
"sections": {
"main": {
"type": "main-product",
"settings": {}
},
"recommendations": {
"type": "product-recommendations",
"settings": {
"heading": "You may also like"
}
}
},
"order": ["main", "recommendations"]
}
image_url and image_tag instead of deprecated img_url / img_tag{% comment %} for documentation, not HTML comments (which are sent to the browser){% render 'snippet-name' %}) for reusable code — {% include %} is deprecated{% render %} over {% include %} — render creates an isolated scope| escape filter to user-generated content to prevent XSSFetch the Shopify Liquid reference for exact object properties, available filters, and section schema options before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/js-modernWrite modern JavaScript and TypeScript — ES6+ features, async/await, modules, destructuring, optional chaining, TypeScript types, and modern tooling. Use when writing JavaScript/TypeScript for Shopify themes, apps, Functions, or Hydrogen storefronts./node-backendBuild Node.js backends for Shopify apps — Remix server, @shopify/shopify-app-remix, session storage, OAuth handling, API proxy, webhook processing, and deployment. Use when building the server-side component of Shopify apps./react-patternsBuild React applications with Remix — loaders, actions, hooks, Server/Client Components, nested routes, error boundaries, form handling, and streaming SSR. Use when building Shopify Hydrogen storefronts or Remix-based apps./shopify-agentic-ucpIntegrate Shopify UCP discovery, agent profiles, catalog/cart tools, and checkout handoff using the merchant's current schemas and trust tier./shopify-api-graphqlUse Shopify GraphQL APIs — Admin API for server-side CRUD, Storefront API for client-side queries, versioning, cost-based rate limiting, bulk operations, pagination. Use when integrating with Shopify data./shopify-api-restMIGRATION SKILL: Shopify REST Admin API — endpoint patterns, authentication, rate limits, and REST-to-GraphQL migration guide. The REST Admin API is deprecated (October 2024). Use this skill only for maintaining legacy integrations or planning migration to GraphQL.npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin shopify-commerceOther plugins' skills for the same job