# Content Site Next.js boilerplate

> Sanity content, Clerk accounts and Supabase Postgres. No payments until you need them.

For a marketing site, docs site or publication that may grow into a product. Sanity holds the content, with the Studio at `/studio`, draft previews and webhook revalidation. The landing page, `/terms`, `/privacy` and `/llms.txt` all read one file, `src/lib/site.ts`. Clerk handles accounts, styled to your design in light and dark, and signed-in readers get a dashboard and settings. Supabase Postgres is ready for app data. Resend sends mail and PostHog tracks what readers do.

No payments battery, on purpose. When you are ready, regenerate with one selected and diff the result.

Path-scoped rules cover the Sanity layer, components (design tokens only) and analytics. Agents, skills and guard hooks come installed. `docs/onboard.md` walks through the Sanity, Clerk and Supabase keys in order.

- Sanity Studio at `/studio`, typed GROQ queries, draft previews and webhook revalidation
- A landing page, `/terms`, `/privacy` and `/llms.txt`, all written from one `src/lib/site.ts`
- Clerk sign-in and sign-up in your design's colours, plus a signed-in dashboard and settings
- Supabase Postgres with a Clerk webhook that syncs users into your tables
- PostHog events with naming and identify rules, plus `/add-event` and `/ask-product` skills
- No payments and no admin panel: a smaller repo you can regenerate later

**Batteries:** clerk, supabase, blog-sanity, resend, posthog

## Generate it

[Build the Content Site repo](https://agenticboilerplate.com/build?preset=content-site)

---

Agentic Boilerplate: A Next.js repo your agent already knows. Free during launch, then $99 once.

- Site map for agents: https://agenticboilerplate.com/llms.txt
- Public API: https://agenticboilerplate.com/openapi.json
- Contact: agenticstudio@gmail.com
