field note #03
Astrokit, the starting point

Astrokit is the boilerplate I start every new site from, this one included. It is Lumos for Astro with Sanity wired in, plus the parts every client site ends up needing: forms, consent, SEO, redirects and a password gate.
One config file
astrokit.config.ts decides what the build contains. Motion, Lenis, Sentry and the cookie banner are switches, and a module that is off is not in the bundle at all, so a disabled feature costs nothing.
Demo first, then the real site
A fresh clone runs on a demo page, with no Sanity project needed. Once a site has its own src/content/site.ts, that file replaces the demo, and later moves into the Studio with one seed command.
The tests should pass for the site, not just for the demo.
That line came from fixing CI on this site. Half the checks still assumed demo content, so I changed them to read the project they run in. Those fixes belong upstream next.