How I Use Claude to Build Shopify Sections (My Exact Process)
Share
Shopify Development — AI Workflows
Three ways to build Shopify sections with AI.
One of them changed how I work.
If you're building custom Shopify sections for clients, AI has genuinely changed what's possible — but there's a big gap between the three main approaches. Here's an honest breakdown of each one, where they break down, and what I actually use day-to-day.
Shopify's Native AI Section Builder
Shopify has a built-in AI tool that can generate sections directly inside the theme editor. You describe what you want, it scaffolds the Liquid and schema — no external tools, no setup. For simple layouts it's genuinely fast.
To make it work, your theme needs a section file with a specific schema block that signals to Shopify's AI that the section is eligible for generation:
{
"type": "@theme"
}
// And in your section template:
{% content_for 'blocks' %}
Once that's in place, Shopify's AI can populate blocks and settings based on a natural language prompt. It works well for common patterns like feature rows, banners, and simple image-text layouts.
Generating Code in Claude and Copy-Pasting
The next step up is prompting Claude directly — either in claude.ai or a project you've set up with context about Shopify Liquid, schema structure, and your preferred code patterns. You write a prompt, Claude generates the section file, and you paste it into Shopify's code editor.
This gives you real control. You can specify exactly how the schema should be structured, which settings to expose to clients, how metafields should be referenced, and what the block structure should look like. The output quality is significantly higher than Shopify's native AI once you've built a good prompting system.
Claude via GitHub and Claude Cowork
This is the setup that actually changed how I work. Instead of copy-pasting between Claude and Shopify, you connect Claude directly to your theme files through GitHub — so Claude can read and write to your theme without you leaving the chat.
The setup involves three things: connecting your Shopify theme to a GitHub repository, giving Claude access to that repo via a personal access token, and using Claude's Cowork feature (or an MCP server) to give it write access to your files. One-time setup, and then Claude can push changes directly to your theme.
In practice this means you can say "update the hero section schema to add a text alignment setting" and Claude finds the file, makes the change, and pushes it — without you touching a code editor. You still review the diff, but the mechanical part disappears.
Which method should you use?
Shopify's native AI is worth knowing about but it hits a ceiling fast. Copy-pasting from Claude is a solid everyday workflow and the right starting point for most freelancers. The GitHub + Cowork setup is worth the investment if you're building sections regularly for clients — which, if you're reading this, you probably are.
If you want the shortcut — a section library built specifically for freelancers, with metafield support, dev mode, and zero theme branding — that's what Flexi is for. And if you want to understand the section-building system behind it, the full video walkthrough is on the channel.