Notes for coding agents
AGENTS.md and a generated DESIGN.md tell Cursor or Claude Code how the site is built.
Every Tandmade site is a standard Astro project. The editor, the built-in agent and your own tools all change the same files. There is no hidden model behind them.
.hero_lead { max-width: 38rem; color: var(--text-color-secondary);}Looks good · 2 declarationsSaveAGENTS.md and a generated DESIGN.md tell Cursor or Claude Code how the site is built.
Tokens in design/tokens.json, your classes in site.css, collections in cms.config.ts.
The editor shows the file and line every element comes from.
Export downloads the site as one .tmz file. Open it in Cursor, Claude Code or any editor. Import adds it to a workspace as a new site.
Click the site's name in the top bar and choose Export site. The same item is on the dashboard.
Export and importThe Astro project, its content, uploaded media and form submissions. The data belongs to the site, so it travels with it.
Every site runs its own small backend. Content, form submissions and media live in the site's database, and the editor is only one client of that API.
---export const prerender = false;import { collectionEntry } from "@expirio/cms";const post = await collectionEntry( Astro.locals.cms, "journal", Astro.params.slug);---<h1>{post.data.title}</h1>A page that renders on request shows a published change right away.Pages and components read collections straight from the site's database. A page that renders on request shows a published change right away.
Yes. Export the site and open the folder. It is a standard Astro project, with AGENTS.md and DESIGN.md describing how the site is built.
No. The editor, the built-in agent and your own tools all change the same files. There is no hidden model behind them.
The Astro project, its content, uploaded media and form submissions, in one .tmz file that any archive tool opens. Installed packages, build output and Git history are left out.
Import adds it to a workspace as a new site. It is a draft until you publish it.
Yes. Every site serves its own content API and form endpoint. Pages read collections from the site's database, and the live site returns only published items.
Same design, rebuilt as an Astro project your tools can read.