Skill library

Agent skill Web motion

Liquid Theme Standards

Create a visual effect for a web page or interactive component.

  • Visual effects
  • Design tokens

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add benjaminsehl/liquid-skills --skill liquid-theme-standards --agent claude-code --yes

Check this file in your project.claude/skills/liquid-theme-standards/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add benjaminsehl/liquid-skills --skill liquid-theme-standards

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use a local Shopify theme or a section fixture with background and spacing settings. The parser check used Shopify Theme Check Node 4.1.0’s Liquid parser. In a real theme, use the project’s Shopify CLI or editor preview.

View operation manual

What this skill helps with

  • Create a visual effect for a web page or interactive component.

Good for

  • Interactive visual effects
Skill name
liquid-theme-standards
Scenario
Keep two announcement sections independently themed
Deliverable
One section with static BEM styles and instance-scoped settings, plus default and custom-render evidence.
Skill name
liquid-theme-standards

Define a component task with an observable result

A request with an unclear outcome

Put Liquid variable interpolation inside the stylesheet tag.

The stylesheet tag treats its contents as static CSS and Shopify does not render Liquid there.

A workflow with observable results

  1. Trace section settings and CSS ownership
  2. Wire dynamic variables on the section root
  3. Compare two settings instances

Liquid Theme Standards operation manual

Separate static section CSS from dynamic merchant settings and test two settings combinations.

Replace the bracketed details with your own project and target.

  1. Trace section settings and CSS ownership

    Find which values are merchant-controlled.

    Prompt · Step 1
    Use `liquid-theme-standards` for [announcement section]. Find the schema setting IDs and defaults for background and padding. Locate where styles are loaded and identify CSS shared across instances. List the dynamic values that should be scoped to the specific section root.
  2. Wire dynamic variables on the section root

    Keep static selectors in the section stylesheet.

    Prompt · Step 2
    Use `liquid-theme-standards` to update [approved section]. Write the background and spacing settings to namespaced custom properties on its root, with the correct CSS unit for the range setting. Keep BEM selectors and var fallbacks in the static stylesheet block. Keep native headings and links usable without JavaScript and report the changed setting IDs and variable names.
  3. Compare two settings instances

    Check computed values and native link behavior.

    • Each section instance gets the expected computed background and padding.
    • The stylesheet stays static and the link works without JavaScript.
    Prompt · Step 3
    Use `liquid-theme-standards` to validate [local theme preview]. Run the project Theme Check and compare a default and a customized section instance. Inspect computed background and padding for each. With JavaScript disabled, make sure the heading and link are still present and the link can receive visible keyboard focus. Share the observed results.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

Find where dynamic CSS belongsReference
Command or reference
SKILL.md · Where CSS Lives
Examples
Emit Liquid-driven custom properties on the relevant section root.

Liquid Theme Standards troubleshooting

Why do instance colors leak across sections?

Check the variable scope and include defaults in the component rule. Root-scoped variables only affect the intended section subtree.