shopify-theme-development

Build Shopify themes with Liquid templates, JSON sections, blocks, and theme app extensions.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-theme-development-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shopify-theme-development
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/platform-integrations-infrastructure/finsilabs/platform-shopify/shopify-theme-development
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-theme-development-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a Shopify theme that merchants can customize without a developer requires mastering Online Store 2.0 architecture, Liquid templating, and performance optimization, which is error-prone without clear patterns. ## Core Features & Use Cases - Theme Architecture & CLI Workflow: Set up the Shopify CLI development environment, fork Dawn, and structure themes with JSON templates, sections, and snippets. - Merchant-Customizable Sections: Build product and collection sections with blocks, schema presets, and block.shopify_attributes so non-technical staff can rearrange content in the theme editor. - Performance & AJAX Cart: Implement critical CSS inlining, hero image preloading, deferred JavaScript, and an AJAX cart using the /cart/add.js and /cart.js endpoints. - Use Case: A DTC apparel brand migrating to a custom theme can generate a main-product.liquid section with title, price, variant picker, and buy button blocks, wired to a product.json template that the merchandising team edits visually. ## Quick Start Ask the AI to build a customizable Shopify product section with blocks and a JSON template following Online Store 2.0 conventions.

Frequently Asked Questions about shopify-theme-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a customizable Shopify product section?▼

Create a Liquid section that loops over section.blocks with a {% schema %} defining block types like title, price, variant picker, and buy buttons. Include a presets array so the section appears in the theme editor's Add section menu, and add {{ block.shopify_attributes }} to every block wrapper.

How to implement an AJAX add-to-cart in a Shopify theme?▼

POST to /cart/add.js with a JSON items array, then fetch /cart.js separately to get the true cart state and update the count badge with cart.item_count. Relying only on the add response can leave the badge out of sync.

Why is my Shopify section not appearing in Add section?▼

The section is missing a presets array in its {% schema %} block. Sections without presets are only usable inside JSON templates and never appear in the theme editor's Add section panel.

Does Shopify still support the img_url Liquid filter?▼

The img_url filter is deprecated. Use image_url with an explicit width parameter, combined with image_tag, widths, and sizes to generate responsive srcset attributes served from Shopify's CDN.

How do I improve Largest Contentful Paint on a Shopify theme?▼

Preload the hero or product featured image in the head with a link rel=preload tag, inline critical CSS in a style tag, defer non-critical CSS with the media=print onload pattern, and load JavaScript with the defer attribute.

Can apps inject content into Shopify themes without editing code?▼

Yes, theme app extensions let apps provide blocks that merchants place through the theme editor. Generate one with shopify app generate extension --type theme_app_extension and define settings in the block's schema.