DEVCLASS
Read post

How AI drove Shopify back to clean code

Shopify is developing a new storefront theme that replaces its JSON-heavy Horizon theme with clean, HTML-centric code using its Liquid templating language. The redesign was driven by the needs of Shopify's AI assistant Sidekick, which now handles 25 million theme edits per year from 20% of merchants. The key insight is that AI agents benefit from the same code qualities humans do: readability, explicit contracts, and constructive feedback. The new theme has 93% fewer lines of code than Horizon and introduces composable block tags, typed parameters similar to React props, partial page updates, and standard event actions. Liquid also gains new syntax including Boolean expressions and future Tailwind CSS support. The broader takeaway is that optimizing for AI comprehension may push the industry back toward more human-readable code formats.

    #ai-agents#html#shopify
Jul 26•5m read time•From devclass.com
Post cover image
Table of contents
From merchants to merchandisersGood for the bot, good for the humanReveal source codePalatable for AI
12 Impressions
DEVCLASS's image
DEVCLASS

82 Followers

•

1.1K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard