shopify-theme-development
БесплатноБез исполняемых скриптовНе проверенBuild and customize Shopify themes using Liquid templating, JSON sections, dynamic blocks, and theme app extensions for added functionality
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Shopify Theme Development
Overview
Build and customize Shopify themes using Liquid templating, JSON templates, sections and blocks for merchant-customizable layouts, and theme app extensions for app integrations. This skill covers the Shopify theme architecture (Online Store 2.0), the Shopify CLI development workflow, performance optimization with lazy loading and critical CSS, and patterns for building flexible sections that merchants can configure through the theme editor.
When to Use This Skill
- When building a new Shopify theme from scratch or forking Dawn
- When creating custom sections and blocks for the theme editor
- When implementing product pages, collection grids, or cart functionality in Liquid
- When optimizing a Shopify theme for Core Web Vitals and speed
- When building theme app extensions to inject app content into themes
Core Instructions
Set up the development environment with Shopify CLI
# Install Shopify CLI npm install -g @shopify/cli @shopify/theme # Initialize a new theme (or clone Dawn) shopify theme init my-theme # Start development server with hot reload shopify theme dev --store=your-store.myshopify.comTheme directory structure (Online Store 2.0):
my-theme/ ├── assets/ # CSS, JS, images ├── config/ # settings_schema.json, settings_data.json ├── layout/ # theme.liquid (main layout) ├── locales/ # Translation files ├── sections/ # Sections (reusable, merchant-configurable) ├── snippets/ # Partials (reusable Liquid fragments) └── templates/ # JSON templates referencing sections ├── product.json ├── collection.json └── index.jsonCreate a JSON template with sections
// templates/product.json { "sections": { "main": { "type": "main-product", "settings": {} }, "recommendations": { "type": "product-recommendations", "settings": { "heading": "You may also like", "products_to_show": 4 } }, "reviews": { "type": "product-reviews", "settings": {} } }, "order": ["main", "recommendations", "reviews"] }Build a customizable product section with blocks
{% comment %} sections/main-product.liquid {% endcomment %} <section class="product-section" data-section-id="{{ section.id }}"> <div class="product-grid"> <div class="product-media"> {% for media in product.media %} {% case media.media_type %} {% when 'image' %} <div class="product-media-item {% if forloop.first %}active{% endif %}"> {{ media | image_url: width: 800 | image_tag: loading: 'lazy', widths: '200,400,600,800,1000', sizes: '(min-width: 768px) 50vw, 100vw', class: 'product-image' }} </div> {% when 'video' %} <div class="product-media-item"> {{ media | video_tag: autoplay: false, controls: true }} </div> {% endcase %} {% endfor %} </div> <div class="product-info"> {% for block in section.blocks %} {% case block.type %} {% when 'title' %} <h1 class="product-title" {{ block.shopify_attributes }}> {{ product.title }} </h1> {% when 'price' %} <div class="product-price" {{ block.shopify_attributes }}> {% if product.compare_at_price > product.price %} <s class="price-compare">{{ product.compare_at_price | money }}</s> {% endif %} <span class="price-current">{{ product.price | money }}</span> {% if product.compare_at_price > product.price %} <span class="price-badge">Sale</span> {% endif %} </div> {% when 'variant_picker' %} <div class="variant-picker" {{ block.shopify_attributes }}> {% for option in product.options_with_values %} <fieldset class="option-group"> <legend>{{ option.name }}</legend> {% for value in option.values %} <label class="option-label"> <input type="radio" name="{{ option.name }}" value="{{ value }}" {% if option.selected_value == value %}checked{% endif %} > <span>{{ value }}</span> </label> {% endfor %} </fieldset> {% endfor %}
Установить shopify-theme-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл shopify-theme-development?
Build and customize Shopify themes using Liquid templating, JSON sections, dynamic blocks, and theme app extensions for added functionality
Как установить скилл shopify-theme-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл shopify-theme-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic