Skip to content
Install on Shopify

The files at a glance

ShopMD writes a store into a small set of Markdown files. Four of them each cover one part of the store. Two roll the others up for agents that want one place to start. One is an internal brief that isn’t published. Family files go one level deeper, with one file per product or collection.

flowchart LR
  site["Live storefront<br/>pages and theme"] --> design["design.md"]
  site --> brand["brand.md"]
  site --> policies["policies.md"]
  feed["Public product feed"] --> catalog["catalog.md"]
  site --> store["store.md<br/>(not published)"]
  feed --> store
  admin["Store data<br/>(installed app)"] -.-> brand
  admin -.-> policies
  admin -.-> store
  store --> shop["shop.md"]
  brand --> shop
  policies --> shop
  catalog --> shop
  store --> agents["agents.md"]
  brand --> agents
  policies --> agents
  design --> agents
  templates["Your templates<br/>(installed app)"] --> family["products/&lt;handle&gt;.md<br/>collections/&lt;handle&gt;.md"]

Solid arrows are always used. Dotted arrows apply only when the store has the Shopify app installed, which lets ShopMD read the store’s own data instead of relying on public pages alone.

shop.md and agents.md don’t read the store themselves. They quote short excerpts from the other files and link to them. store.md is never published, so both roll-ups link to it without quoting it.

File What it holds Who it’s for How you get it Served on the storefront
shop.md Excerpts of brand, policies and catalog, plus an index of the other files Any agent, first Installed app Yes
agents.md Excerpts of brand, policies and design, plus a guide to which file answers what Any agent, first Installed app Yes
design.md Colours, type, spacing, shapes and components from the live site Developers and coding agents Generate from a URL, or installed app Yes
brand.md Strategy, voice, tone and visual identity Marketers and writing assistants Generate from a URL, or installed app Yes
catalog.md Categories, price bands, variants and links to the full product data Shopping and merchandising agents Generate from a URL, or installed app Yes
policies.md Store policies, each line tagged with its source page and a quote Support agents Generate from a URL, or installed app Yes
store.md Store Intel: catalog facts, tech stack, customers, competitors, strategy The store’s team In the ShopMD app, or on shopmd.ai when you generate Store Intel Not published
Product and collection files Facts you write once in a template and apply to many products or collections Agents answering about one item Installed app Yes

“Generate from a URL” means anyone can create the file at shopmd.ai/generate without an account. See the quickstart.

Each page in this section follows the same outline:

  • What it’s for and who uses it.
  • What’s inside: the sections, in the order they appear.
  • Sample: real output from allbirds.com where public generation can produce it. Files that need an installed store show an illustrative structure instead, clearly labelled.
  • How it’s built: where the facts come from and how sure ShopMD is of them.
  • Where it’s served and how it stays fresh.

For the rules that apply to every file, such as confidence tags, [MERCHANT-FILL] and approval, read How ShopMD thinks. For short definitions, see the glossary.