How shopify/skeleton-theme works
Project type and purpose
• This is a Shopify “Skeleton Theme”: a front-end template/theme for Shopify stores built with Liquid, JSON templates, CSS, and JavaScript.
• Its purpose is to provide a minimal, modular, maintainable starting point for merchants and developers to build Shopify storefronts.
File structure
• Top-level artifacts
• assets: static resources (critical.css, JS, images, fonts, logos)
• blocks: reusable, nestable UI fragments (Liquid + schema)
• config: global settings (settings_schema.json, settings_data.json)
• layout: top-level wrappers (theme.liquid, password.liquid)
• locales: translation files for internationalization
• sections: full-width, customizable page modules (with schema and inner blocks)
• snippets: small reusable Liquid/HTML fragments
• templates: JSON or Liquid page definitions combining sections
• CI/config files (.github/workflows, theme-check.yaml, shopifyignore) indicate automated linting, testing, and deployment via Shopify CLI.
README for additional insights
• README outlines Shopify CLI usage, specifies JSON‐based templates, Liquid section/block schemas, and recommends {% stylesheet %} and {% javascript %} tags.
• Emphasis on modular directory structure following Shopify’s theme architecture.