Skip to Content

Prompting well

How to describe your app so the agents build what you mean, and how to change it after.

The agents can only build what you tell them. A few sentences that say who the app is for and what they do with it go a long way.

Your first prompt

A good first prompt answers three questions:

  1. Who is it for? "For people who take my yoga classes."
  2. What do they do with it? "See this week's classes and reserve a spot."
  3. What must be on it? "A timetable, a booking form with name and email, and a page with my prices."

Add how it should feel if you care: "Calm, lots of white space, soft greens." Or pick a Design style under the box. See Choose how your app is built.

Changing it after

  • One change per message. "Make the header dark blue" is easier to get right than five changes in one message, and easier to undo.
  • Say where. "On the prices page, put the monthly option first."
  • Say what's wrong, not only what you want. "The booking button does nothing when I click it." The agents can then look for the cause.
  • Point at it. In the chat, attach a screenshot or a file with the attach button, or use Quick edit to pick the element in the preview.
  • Use a command for a kind of job: type / in the chat for /fix, /design, /plan and others. See Chat with the agents.

When it goes wrong

  • If a change made things worse, go back to an earlier version instead of describing how to undo it. See Code and version history.
  • If the agents keep missing, describe the result you see and the result you expected, side by side.
  • Big change coming? Ask for a plan first with /plan, read it, then say go.

Was this page helpful?

Report a problem

On this page