Claude & Miva development
Miva templates, Shadows updates and custom components, built with Claude.
I’ve worked in Miva since 2007. Today Claude Code (the developer version of Claude) works alongside me with Miva’s own tools: MMT, the JSON API, Miva’s Knowledge MCP server and the Shadows source code. Template work gets done faster, every change is versioned, and nothing reaches your live store until you say so.
The examples here come from an enterprise client, a national supplement brand running Miva’s Shadows theme.
The toolkit
Your store’s templates, treated like real code
01
MMT, Miva’s template tool
MMT pulls a branch’s templates, CSS and JavaScript resources and Page Builder content down as files. Changes go back up as a changeset on a separate branch, never straight onto the live store.
02
Full version history
Miva keeps versions of each template and resource. On top of that, every pull and edit is committed to git, so a change that touches several files is recorded as one step, with the reason, and any two points in time can be compared across the whole store.
03
Answers from the source, not guesses
Claude is connected to Miva’s Knowledge MCP server, which gives it Miva’s official developer documentation: MivaScript, MVT tags, the JSON API, the module API and the Shadows framework. It also reads the public source for Shadows, the stock Page Builder components and Miva’s core. When a question is “how does this actually work?”, it checks the real thing.
04
Miva’s coding standards
New templates, CSS and JavaScript follow Miva’s published standards from the first draft, so custom work reads like the theme it sits in and the next developer can pick it up.
Page Builder
Custom components with the Flex Component Generator
Page Builder lets you lay out store pages from drag-and-drop components. When the stock ones can’t do what you need, I build new ones with the Flex Component Generator, a Claude skill from MivaLabs, Miva’s own lab. It’s how we built the store’s custom product details component.
- Describe it in plain English. The skill works through what the component should do and which settings you want to change yourself in Page Builder: text, images, toggles, dropdowns, and how they’re grouped.
- Get a ready-to-import package: one file you upload in the Flex Components section of the Miva admin.
- It uses your theme’s own settings, like typography and button styles, so the component matches the rest of your site and stays matched when the theme changes.
- It can start from a stock component. Our product details component began as a copy of Miva’s own, then gained what the store needed, without touching the original.
- It’s reviewed and versioned like everything else, tested on Staging, with a changelog for every release.
How a change gets made
Branch, check, then merge on your say-so
1. Pull and branch
I pull the current live templates and save a snapshot first, then do the work on a branch copied from Live.
2. Build and test on Staging
The change goes to a staging branch and gets checked at phone, tablet and desktop widths. Small fixes come to you as finished code to paste in, still versioned.
3. You merge
You review it and merge it into Live from the Miva admin. I give you the exact list of changes to include, so an older shared file never overwrites something newer.
Shadows updates
Update the theme without losing your customizations
Most customized Shadows stores fall behind on updates because nobody wants to risk breaking checkout. Comparing every file by hand used to make an update a big project. Now it’s a careful, ordinary one.
- Three-way comparison of every file: the stock version you started from, your live store, and the new release. Your changes and Miva’s changes both survive.
- Release notes checked against your code. When a release changes how forms or page hooks work, any custom JavaScript or tag manager setup that depends on them is found before it breaks.
- New theme features checked for overlap, such as built-in product structured data that would duplicate what your store already outputs.
- Built on its own branch and tested there, then merged when you’re ready, at a quiet time for your store.
From real work
Templates, components and storefront fixes
Autoship on the product page
A custom Autoship option built into the Shadows theme’s product details component. It pulls live subscription terms from Miva and adds the right term to the cart.
A custom product page component
Built with the Flex Component Generator from Miva’s product details component, the store’s version adds Autoship, reviews and a few store-specific touches. Each version is packaged and ready to upload, with its own changelog.
Custom pages on one style sheet
Rewards, Autoship, coupons and other custom pages share one set of styled components. A new page goes together quickly, and they all look like they belong.
Restyled customer emails
Order confirmations, shipping notices, Autoship reminders, failed payments, expiring cards and account emails, all redesigned to match the site. Every revision is saved as its own version, so we can always roll back.
Debugging in plain English
Take a review widget that wouldn’t display inside a component’s Shadow DOM. Claude reads the code, explains the cause in plain English and suggests a fix for me to review.
Checkout fixed the same day
An address check at checkout was pushing its Save button off laptop screens. We found the cause in the theme’s template, fixed it on Staging and had it live the same day.
Guardrails
Your live store is never the test bed
- The API token is read-only by default. Write access is added only for a push and taken away afterward.
- Changes are pushed only to a non-live branch, and always right after a fresh pull, so nobody’s admin edits get overwritten.
- You click merge. Nothing reaches your customers without your review.
- Passwords and API keys stay on your machine and in Miva, never in chat or in the code history.
Also see: AI & automation and Klaviyo & Miva with Claude
Got a Miva project you’ve been putting off?
A Shadows update, a template that needs fixing, a component you wish existed. Tell me what’s on the list and I’ll tell you honestly what it would take.