All ideasMore in Work

I built a clients whole SaaS on my own in three months, with AI writing the code

Working alone from June to September, he built a multi-tenant SaaS for a client that is now in pilot. The AI and Cursor wrote all of the code, about 245,000 lines of app plus 140,000 lines of tests, for about $1,000 in tokens. Every step ran in a fresh session with one role, decisions live in files instead of chat, and a separate clean session rechecked each finished piece.

How it works

  1. Work in fresh sessions, one role each: domain model, architecture, security contract, interface spec, code, then a check
  2. Keep every decision in markdown files a new session reads instead of re-deciding
  3. Let the database enforce the rules with hundreds of constraints
  4. Test against a real database, 3,900 plus test functions
  5. He commits by hand; the agent never commits

Why it’s worth knowing

The codebase did not rot the way agent code usually does, because no session was allowed to remember. Every decision had to live in a file.

Where it’s from

Summarized from a public post on reddit.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.