Cursor & Claude Code ready
Ship single-seat SaaS with a 100% agent-ready starter
Built with Next.js, Clerk, Convex, and Lemon Squeezy. Auth, checkout, the customer portal, and webhooks are already wired for one user and one subscription. You add the product.
- One-time payment
- Lifetime updates
- Unlimited projects
Checkout is not open yet.
Already wired
The shell you would otherwise rebuild.
Each item below is in the starter today. Your product behavior is the part you add.
-
Accounts
Clerk sign-in and sign-up. The dashboard is a protected route.
-
Pricing
Public pricing cards and the same plans on the billing page. An optional free tier can sit first, with no payment variant.
-
Checkout and portal
Lemon Squeezy checkout for a new plan, and the customer portal for a current subscription.
-
Webhooks
Subscription events are signature-checked. The writes that change a subscription stay internal.
-
Ownership
Server helpers derive the signed-in user. A document query can refuse a record the caller does not own.
-
Paid actions
Product actions can check the current subscription before they run. The example note does this.
-
Legal pages
Terms, privacy, refunds, and contact ship as templates. One company file feeds the pages, the logo, and the footer.
-
Agent rules
AGENTS.md is loaded by Cursor and Claude Code. It names the feature folder, the auth helpers, and the billing config.
File tree and agent rules
Product code stays in one folder.
Cursor and Claude Code read AGENTS.md on every task. The paths below are the ones those rules name. The example feature is meant to be deleted with its registrations.
Paths the rules name
- AGENTS.md
- README.md
- app-features/
- example-feature/
- noteText.ts
- hooks/useExampleNotes.ts
- components/ExampleNotes.tsx
- convex/authz.ts
- convex/schema.ts
- convex/exampleNotes.ts
- app/dashboard/example/page.tsx
- components/layout-ui/DashboardSidebar.tsx
- lib/billing/config.ts
- lib/billing/utils.ts
-
01
Open the repo
Cursor and Claude Code read AGENTS.md on every task. The README points at the same boundary.
-
02
Build inside app-features
UI, hooks, types, and business rules live there. The example notes feature is the copyable version of that split.
-
03
Register only what the platform requires
A table, a thin Convex function, a thin dashboard page, and one sidebar link. Delete the example when the real product starts.
A direct fit check
One customer. One account. One subscription.
Use it when
- You are building one product, alone or with a few collaborators.
- Each customer is one Clerk user with one subscription.
- You want a coding agent to add features without rediscovering auth and billing.
Choose something else when
- You need seats, organizations, invites, or roles.
- You need to swap Clerk, Convex, or Lemon Squeezy.
- You need a team workspace inside the customer account.
Run it locally
Four commands, then your own product.
Copy .env.example to .env.local and fill it in before auth, billing, or webhooks will work. CONVEX_DEPLOY_KEY is server-only.
- 1npm install
- 2cp .env.example .env.local
- 3npx convex dev
- 4npm run dev
Add the product. Accounts and billing are already wired.
Each customer is one Clerk user with one subscription. Sign-in, checkout, and webhooks are already in the repo.
Start Building for $129- One-time payment
- Lifetime updates
- Unlimited projects