Why the prompt matters
The built-in AI does not know your business, your customers or your preferences. It knows what you tell it. Two people can type the same one-line idea and get very different apps depending on what else they say. A prompt is less like a search query and more like a short brief to a developer who is skilled, fast and has never met you.
A clear brief gives you a better first version, and a better first version means fewer corrective runs. Because credits are used by each request and the cost varies with its size and complexity, getting the brief right also helps you use your balance sensibly.
Before you submit, ask yourself: could a stranger build the right thing from this text alone?
A six-part structure you can reuse
Most good prompts contain the same six ingredients. You do not need long paragraphs for each; a sentence or two is often enough.
- Purpose. What is it, and what problem does it solve? 'A client portal for a small design studio to share proofs and collect approvals.'
- Users and roles. Who signs in, and who can do what? 'Clients can view and approve their own projects. Staff can see everything.'
- Screens. 'Login, project list, project detail with proofs, staff dashboard.'
- Features. The actions on each screen: upload a proof, comment, approve, request changes.
- Data. The records and key fields: clients, projects, proofs, comments, status.
- Design and devices. 'Minimal, white background, one accent color, works on phones.'
If a part does not apply, skip it. If you are unsure about one, say so and let the AI propose something you can review, for example 'suggest a simple data model and show me the result in the app.'
Weak versus strong prompts
A weak prompt leaves the AI to guess nearly everything:
Example promptMake an app for my gym.A strong prompt makes the decisions you care about:
Example promptBuild a member app for a small neighborhood gym. Members sign up, see the weekly class timetable (class name, coach, time, capacity), book or cancel a place, and see their upcoming bookings. Staff sign in to add classes, set capacity and see a list of attendees per class. Store members, classes and bookings. When a class is full, show a waiting-list option. Send a confirmation e-mail after booking. Use a bold dark theme with orange accents, large tap targets, and make it work well on a phone.The strong version names the users, the screens, the data, one tricky rule (full classes), an e-mail feature and the visual direction. It still leaves room for the AI to make sensible choices about layout and wording.
Mention capabilities when you want them
Generated apps can include user sign-in, e-mail sending, file uploads, AI features, PDF generation, Stripe payments, scheduled jobs and real-time updates, when you ask for them. If you need invoices as PDFs, say so. If you need members to upload photos, say so. If something is not mentioned, do not assume it exists.
Describe rules and edge cases
Apps feel professional because of the awkward situations they handle well. Think about what happens when things go wrong or are empty, and write those rules into the prompt.
- Empty states: 'If there are no bookings yet, show a friendly message with a button to browse classes.'
- Validation: 'Require a valid e-mail and a phone number with at least 8 digits.'
- Permissions: 'Members must never see other members' bookings.'
- Limits: 'A member can hold at most three active bookings.'
- Status flows: 'A request moves from Submitted to Approved or Rejected; only managers can change it.'
- Destructive actions: 'Ask for confirmation before deleting.'
Rules about who can see or change what deserve special care. State them explicitly, and then verify them yourself with separate test accounts. Never assume the first version enforces them perfectly.
Writing good follow-up prompts
After the first build, you will mostly write follow-ups. The same clarity rules apply, with three extra habits.
- Say where. 'On the booking page' beats 'on the page'.
- Say what stays. 'Keep the current layout and only change the button label and color.'
- Group related changes, and separate unrelated ones, so you can check each result and restore a version if needed.
Example promptOn the class timetable page, add a filter bar above the list with a coach dropdown and a day-of-week selector. Filtering should update the list immediately and keep the selection when I return from a class page. Do not change the booking flow or the page header.If a run produces an error, paste the exact error message and say what you were doing when it appeared. For a tiny text or color change, visual edit mode is often the more direct tool, because you click the element and apply the change to the code.
A pre-submit checklist
- Is the purpose in one sentence?
- Are all user types and what they can do named?
- Are the screens listed?
- Are the main records and fields named?
- Did I say how it should look and that it must work on phones?
- Did I describe at least two edge cases or rules?
- Did I ask only for what I can verify in the preview?
Keep the prompts that worked. Reusing a good structure for your next project saves effort, and comparing a good prompt with a weak one is the quickest way to improve.
Add reference material
The dashboard composer lets you attach files and images, and it also has a Figma import option. A rough sketch of a screen, a screenshot of a layout you like or a sample spreadsheet with your real column names can communicate more than a paragraph of description. When you attach something, still say in words what it is and how closely you want it followed, for example: 'This sketch shows the layout of the home screen; use the same arrangement but my colors.'
Read the result critically
After the first run, compare the app against your own prompt, line by line. Which promised features are present? Which rules are enforced? Which parts did the AI decide for you, and do you agree? Turn every gap into a specific follow-up. Over time you will notice which kinds of details you tend to leave out, and you can add them to your template so every new prompt starts stronger.