🎯

shopify-liquid

🎯Skill

from toilahuongg/shopify-agents-kit

VibeIndex|
What it does

Renders dynamic Shopify storefront content using Liquid template language for theme customization, app blocks, and data manipulation.

πŸ“¦

Part of

toilahuongg/shopify-agents-kit(35 items)

shopify-liquid

Installation

npm installInstall npm package
npm install -g shopify-cc-kit
npm installInstall npm package
npm install shopify-cc-kit
πŸ“– Extracted from docs: toilahuongg/shopify-agents-kit
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Guide for using the Liquid template language within Shopify Theme App Extensions and Themes. Use this skill when building App Embed Blocks, App Blocks, or modifying Shopify Themes.

Overview

# Shopify Liquid Skill

Liquid is the template language used by Shopify to load dynamic content on storefronts.

1. Core Syntax

  • Output: {{ ... }} - Prints content to the page.
  • Tags: {% ... %} - Logic (if, for, assign).
  • Filters: {{ value | filter }} - Modifies output.

2. Theme App Extensions (App Blocks)

Modern apps inject code into themes using App Blocks, avoiding direct legacy code edits.

`schema` Tag

Defines settings available in the Theme Editor.

```liquid

{% schema %}

{

"name": "Star Rating",

"target": "section",

"settings": [

{

"type": "color",

"id": "star_color",

"label": "Star Color",

"default": "#ff0000"

}

]

}

{% endschema %}

```

Accessing Settings

Use block.settings.id to access values defined in schema.

```liquid

β˜…β˜…β˜…β˜…β˜…

```

App Embed Blocks

Scripts that run globally (e.g., analytics, chat bubbles).

```liquid

{% schema %}

{

"name": "Chat Bubble",

"target": "body",

"javascript": "chat.js",

"settings": []

}

{% endschema %}

```

3. Common Objects

  • product:

- {{ product.title }}

- {{ product.variants.first.id }}

- {{ product.featured_image | image_url: width: 400 }}

  • cart:

- {{ cart.item_count }}

- {{ cart.currency.iso_code }}

  • customer:

- {% if customer %} checks if logged in.

  • shop:

- {{ shop.name }}

- {{ shop.permanent_domain }}

4. Useful Filters

  • Money: {{ product.price | money }} -> $10.00
  • Asset URL: {{ 'style.css' | asset_url }} (Reference assets in assets/ folder)
  • JSON: {{ product | json }} (Useful for passing data to JS)

5. Using with JavaScript

Pass Liquid data to JavaScript using data attributes or global variables.

Pattern: Data Attributes (Preferred)

```liquid

```

Pattern: Global Object (Legacy)

```liquid

```

6. App Proxies

When the request comes from an App Proxy, liquid renders the response before sending it to the layout.

  • If you return Content-Type: application/liquid, Shopify will parse the Liquid in your response.

More from this repository10

🎯
shopify-polaris-icons🎯Skill

Provides comprehensive guidance and examples for integrating and using Shopify Polaris Icons in commerce applications with accessibility and semantic color tones.

🎯
shopify-polaris-viz🎯Skill

Generates accessible, Shopify Admin-styled data visualizations using Polaris Viz library for React applications.

🎯
shopify-polaris-design🎯Skill

Generates Shopify Polaris-styled React components and design elements for creating consistent and professional e-commerce interfaces.

🎯
threejs-loaders🎯Skill

Loads and manages 3D assets in Three.js, handling GLTF models, textures, and environments with comprehensive loading progress tracking.

🎯
brainstorm🎯Skill

Guides users through creative brainstorming by applying structured techniques like SCAMPER and Design Thinking to generate innovative solutions.

🎯
threejs-animation🎯Skill

Enables precise and flexible object animations in Three.js, supporting keyframe, skeletal, and procedural motion with advanced blending and playback control.

🎯
shopify-webhooks🎯Skill

Handles Shopify webhook verification, processing, and registration for real-time event synchronization with secure HMAC authentication.

🎯
shopify-extensions🎯Skill

Guides developers through building and integrating Shopify Extensions across Admin, Checkout, Theme, and Post-purchase interfaces using latest CLI and APIs.

🎯
design🎯Skill

Generates design-related tasks and recommendations for Shopify store aesthetics, layout, and visual branding using AI-powered analysis.

🎯
algorithmic-art🎯Skill

Generates algorithmic art philosophies and p5.js code sketches using computational aesthetics, seeded randomness, and generative design principles.