Skip to content

Writing a good request

You can describe an app the way you would to a colleague. A few habits make the result closer to what you pictured.

Every app starts from the same project: a web front end, a small server with a database and file storage, and sign-in already included. The agents extend a working app; they do not invent a new technology stack for you. Ask for pages, features, data and behaviour, not for a different framework.

Every server route of a generated app needs a signed-in user unless it is deliberately marked public in one visible list. If you want a page open to everyone, say so.

Weak: Make me a booking app.

Better: A booking app for a small yoga studio. A visitor can see the weekly timetable and book a class with their email. The owner signs in, adds classes and sees who booked.

Include:

  • Who uses it, and whether they sign in.
  • What they can do, as short sentences.
  • What data it keeps, in plain words (classes, bookings, customers).
  • How it should look or feel, if you care: calm, bold, compact.

Build the first useful version, look at the preview, then ask for the next change. Small requests are cheaper, faster to check and easier to undo. Every change is saved as a restore point, so you can always go back; see Restore points and publishing.

Choose Plan before Build when a request is large or you are unsure. The lead persona proposes a plan; you approve it or edit it first. You stay in charge of the direction, and you see what is about to be spent.

Check against the preview, not against the words

Section titled “Check against the preview, not against the words”

After each run, open the preview and try what you asked for. If something is wrong, say what you did, what happened and what you expected:

I opened the timetable on a phone and the Friday column runs off the screen. It should scroll sideways.

  • Passwords, keys and tokens. Never paste a secret into the conversation. Agents never need yours; the platform adds credentials outside the sandbox. See The security model.
  • Personal data of real people, unless you must. Use made-up examples while you build.

A run whose checks still fail is shown as failed, with the reason and the last good restore point. It is never shown as done. Read the reason, then either adjust your request or restore the point and try a smaller step. More in How a run works.