Session 2 of 3 · about 2 hours

Set up, go live, build version 1.

First you learn just enough about your computer to direct the agent. Then you put an empty app on the internet, and build the real thing on top of it.

Bring: PRD.md and your API keyYou leave with: v1 at a public link

2.15 min

Why learn what's underneath?

Lovable or ChatGPT can make you an app with no idea how it works. That's great for a demo, and then you hit a wall: you can't change what they didn't plan for, and every vague “fix it” costs money.

You don't need to become a programmer. You need computer literacy: enough to know where things are, read an error, and tell the agent precisely what you want.

The rule todaySetting up the environment is 99% of the work. Coding is 1%. If something breaks, that's normal, not a sign you're “not technical”.

2.210 min

Everything is files in folders

Every app, photo and setting on your laptop is a file, and every file sits inside a folder. Your product will be one folder: everything the agent creates goes inside it.

  1. Create a folder in Documents and name it after your product, in lowercase with no spaces: wordwise.
  2. Open Cursor → Open Folder → choose it. Now the agent knows its boundaries.
  3. Drag your PRD.md into that folder.

Go deeper: Preliminaries · What a file is

2.310 min

Three words for the terminal

The terminal is the same folders, typed instead of clicked. In Cursor, open it with Ctrl + `.

TypeIt means
pwdWhere am I? (prints the current folder)
lsWhat's in here?
cd foldernameGo into a folder (cd .. goes back up)
Try itType pwd, then ls. Can you see PRD.md? Then you and the agent are in the right place.

Go deeper: Lesson 1 · The terminal

2.415 min

Install your developer toolbox

A developer's laptop has tools a normal laptop doesn't. Ask the agent to install them. Pick the prompt for your laptop:

Prompt · Mac
Install these standard developer tools on my Mac and add them to my default shell PATH. Explain each one in one sentence when you're done, and show me the version of each:
- Homebrew
- Node.js and npm (current LTS)
- Git
- GitHub CLI (gh)
- Cloudflare Wrangler (npm package "wrangler")
If a step needs my password, stop and tell me to type it in the terminal myself.
Prompt · Windows
Install these standard developer tools on my Windows laptop using winget, and make sure they work in a new terminal. Explain each one in one sentence when you're done, and show me the version of each:
- Node.js and npm (current LTS)
- Git
- GitHub CLI (gh)
- Cloudflare Wrangler (npm package "wrangler")
If a step needs administrator approval, stop and tell me what to click.
HomebrewAn app store for developer tools (Mac)
Node.js + npmRuns JavaScript on your laptop. npm installs other people's code.
Git + ghSave points for your code, and GitHub from the terminal
WranglerHow you (and the agent) talk to Cloudflare

While it runs, read the agent's messages. If it stops and asks you something, that's the most important moment to pay attention.

2.520 min

Deploy first: put an empty app on the internet

Before building any features, make your app exist on the internet. Then every later step is “change it and deploy again”, and you'll never have a working app that only lives on your laptop.

Prompt · paste into your agent
Create a minimal SvelteKit app in this folder, set up to deploy to Cloudflare Workers with wrangler (use @sveltejs/adapter-cloudflare and a wrangler.jsonc with observability enabled).
The home page just shows the name "[My product name]" and the sentence "Coming soon".
Set up git with a .gitignore that ignores node_modules, .env and build output, and make a first commit.
Then log me in to wrangler (I'll approve in the browser), deploy, and give me the public workers.dev link. Check the link returns status 200 before telling me it's done.
  • SvelteKit: a modern way to build web apps.
  • Cloudflare Workers: computers in the cloud that never sleep. Your laptop can close; your app stays up.
  • workers.dev link: your free public address, like wordwise.yourname.workers.dev.
CheckpointOpen the link on your phone. It says “Coming soon”? You're live. Paste the link in the chat.

2.610 min

Secrets: where your API key lives

Your product needs your API key to call the AI. Keys are stored as KEY=VALUE in a file called .env. You tell the agent the key's name, never its value.

Prompt · paste into your agent
Create a file called .env in this folder containing one line:
[OPENAI_API_KEY]=
Leave the value empty: I'll paste my key in myself. Make sure .env is in .gitignore. Never ask me for the key, and never print it.
  1. Open .env in Cursor and paste your key after the =. Save.
  2. Check .gitignore lists .env, so it's never uploaded.
NeverNever paste a key into the agent chat. Anything you send to an AI might be logged. If you slip, delete the key in the console and make a new one.

2.730 min

Build the loop from your PRD

Now the agent builds version 1. Use plan mode (in Cursor, switch the chat from Agent to Plan): the agent explains what it will do, you read it, and only then say yes.

Prompt · paste into your agent
Read PRD.md in this folder. It describes version 1 of my product.
Plan first: tell me which files you'll create or change, how the input travels from the page to the AI and back, and anything in the PRD that is unclear. Wait for me to say yes before you write code.
Rules:
- Call the AI from the server only, using [OPENAI_API_KEY] from .env (from the Cloudflare secret in production). The key must never reach the browser.
- Use the [OpenAI / Anthropic] API with the model [model name].
- Disable buttons and show a loading state while the AI is working.
- Keep it simple: store data in the browser (localStorage) unless the PRD says otherwise.
When it's built, start the dev server and give me the localhost link.

Fill in the orange parts: your key's name, your provider, and a model from your provider's model list. A small, cheap model is plenty for version 1.

Checkpoint
  • Open the localhost link and run your loop twice, with different inputs.
  • Explain to your neighbour: where does the input go, and how does the answer get back to the page?
  • Go through your PRD's “Done when” list. Anything failing? Paste the exact error or describe exactly what you saw, and let the agent fix it.

localhost means “this laptop only”. Nobody else can open it yet.

2.810 min

Ship version 1

Prompt · paste into your agent
Deploy the current version to Cloudflare with wrangler. My API key must be a Cloudflare secret called [OPENAI_API_KEY]: give me the exact command, and I'll run it and paste the key into the terminal myself. After deploying, open the public link, check it returns 200, and commit with a short message.

Open your public link on your phone and run the loop. Then send it to one person from your PRD's user group.

You just did the whole cycleChange → test locally → deploy → check live. Every product on the internet, from WordWise to Google, ships this way.

Before session 3

  1. Watch two people use your product without helping them. Write down where they got stuck.
  2. Collect three bugs or annoyances, with a screenshot of each.
  3. Decide the look: find one website or app whose style you like. Write three words for the mood you want.