Get Forkit
A starter kit for building with coding agents

A SaaS starter your agent can't quietly break

Accounts, workspaces, invitations, email, uploads and webhooks, already working on Cloudflare Workers and Postgres. Every convention your agent is asked to follow is a check that fails when it's broken.

One payment. A private GitHub repo. Build as many products as you like.

Conventions you can't skip

Agents are fast, and they forget

An agent follows a rule while it's reading it and drops it three files later. A rule written only in a doc is a suggestion. In Forkit, every rule lives in a check that runs on every push, so a broken convention stops the push instead of reaching your product.

pnpm lint

The shape of the code

A route that touches the database, core that imports HTTP, or a screen that picks its own colours fails lint. The message names the rule and where it lives.

pnpm test

The rules of the data

A table without forced row level security fails a sweep over every table. Tests run in Cloudflare's own runtime against a real Postgres, not mocks.

pnpm verify:built

The screens people use

Every kept flow runs in Chrome, and in WebKit as an iPhone with its keyboard up, against the built Worker, and keeps the screenshots.

And the checks are checked

A check that never fails proves nothing. Each of Forkit's 35 guards plants a real violation, runs the check that should catch it, and fails unless that check fails with the right words.

  • Workspaces are isolated by Postgres Forced row level security on every table. The Worker's database role can't get past a policy.
  • Webhooks are proven before they're read Signatures are checked first, and a delivery is acted on once however often it arrives.
  • The API and its client never drift Every route is documented in OpenAPI, and the typed client is generated from it.
  • a route never touches the database
  • core knows nothing of HTTP
  • a table without a forced policy fails the sweep
  • a workspace answers only its members
  • sign in is rate limited before the database opens
  • a webhook's delivery is proven before it is acted on
  • a picture is what its bytes say, not what the browser claims
  • a screen's colours come from the theme
  • server code never reaches the browser
  • a new person's first minutes work in a browser
  • a sheet's button stays above a phone's keyboard
  • and 24 more. check:guards: all 35 guards hold.
What's inside

The parts every product needs, already working

Accounts

Sign up, email confirmation, password reset, Google sign in and account deletion, through better-auth.

Workspaces

Every row belongs to a workspace. Deleting one takes every row and picture it owns.

Invitations and members

Only a login that confirmed the invited address can answer. A workspace always keeps an owner.

Email

A change that owes an email records it in the same transaction. A schedule sends whatever was missed.

Uploads

Pictures in a private R2 bucket, typed by their bytes, served through a route that asks who may see them.

A reference module

Posts shows a table, its rules, routes, screens, a public page the Worker draws, and how each is proven.

TanStack StartReact 19Cloudflare WorkersR2 Hono + OpenAPIPostgres 18Drizzlebetter-auth ResendTailwind CSS 4shadcn/uiVitestPlaywright
Working with an agent

Made for Claude Code and Codex

Type /setup and the agent gets the project running, asks what your product is called and what colour it is, applies both, proves the result in a browser and commits it. It never asks for a key in the chat.

AGENTS.md tells it where each rule lives and which check enforces it. A new-module skill walks it from table to screens to proof. pstack, a set of agent workflows by Lauren Tan, comes bundled.

/pstack:poteto-mode Add a module for invoices. An invoice has a customer name, an amount and a status of draft, sent or paid. Follow posts.

A typical first task. Before launch, a fresh agent was given this kind of brief with no other help. It built the module by the conventions, and the full check run passed.

Left out, on purpose

Billing, analytics and error tracking aren't included. Every product charges and measures in its own shape, per seat, by use, once or on a trial, so a module built for one of them is code most buyers would delete.

Your agent builds yours from the same conventions. A payment provider's webhook follows the one Forkit uses for email, already signed and proven, and your plans are a module like any other.

Pricing

Pay once. It's yours.

Build as many products as you like, for yourself or for clients.

Forkit
$199one time

The kit, and every check that keeps it honest.

  • The full starter in a private GitHub repo
  • Unlimited products, yours or clients'
  • AGENTS.md, skills and pstack for Claude Code and Codex
  • 35 guards and every browser scenario
Get Forkit
Forkit and a review call
$399one time

The kit, and an hour on your product.

  • Everything in Forkit
  • A 60-minute call once your first module is built
  • Your plan, your code and your next steps, reviewed
Get Forkit and a call
Build with me
Let's talk

Your product, built on Forkit, together.

  • Everything in Forkit
  • We plan the product and build it on the kit
  • Priced for your scope
Write to me

Checkout opens soon. Until then, the buttons above write to forkit@irshath.com, and you'll hear the day it opens.

Questions

Who is it for?

Developers building a SaaS mostly with a coding agent, who are comfortable reading TypeScript and want the agent's work to stay in shape as the product grows.

How do I get the code?

After checkout you link your GitHub account and accept an invitation to the private repo. Clone it, run pnpm install, and type /setup in your agent.

What do I own?

Everything you build. Use Forkit for any number of products, for yourself or for clients, change anything, and publish your product's code under any license you choose. The one thing you may not do is pass on Forkit itself as a starter.

Are there updates?

No. You get the kit as it is when you buy it. Every check runs in your repo, so what you have keeps working, and it's yours to change.

What do I need?

Node 24, pnpm, Docker and Google Chrome on your machine. To go live, a Cloudflare account and a hosted Postgres. The deploy guide uses PlanetScale.

Has the deploy been run?

Its database half is rehearsed on every check run, against a Postgres set up the way a hosted one is. Cloudflare, Hyperdrive and your domain are reached only by your first deploy, and the guide says so plainly.

Does it work without an agent?

Yes. The setup is three commands, and the checks hold whoever writes the code.

Can I get a refund?

See the refund policy.