Step 1 — Prepare your prompt in Gemini first
Do not start building until you have a clear prompt. Open Gemini chat in a separate tab and use it as a brainstorming partner before you touch Google AI Studio. The most effective technique is the five-question method.Use this prompt in Gemini first
Use this prompt in Gemini first
Step 2 — Set up your project in Google AI Studio
Go to aistudio.google.com/apps and start a new project.Choosing your model
Choosing your model
Start with Gemini Flash. It is fast, cost-effective, and capable enough for most initial builds. Flash achieves around 95% of the quality of the Pro model at a fraction of the token cost.Only switch to Gemini Pro if a bug persists after several attempts to fix it. Pro is significantly more capable at reasoning through complex problems, but it is slower and costs more. Treat it as a specialist, not your default.
Adding a system prompt
Adding a system prompt
Before you paste your build prompt, consider setting a system prompt. This applies globally across all interactions in your project.Examples of useful system prompt rules:
- Always confirm before making any changes
- Do not change existing styling unless asked
- Always use readable column widths and generous whitespace
- Confirm the change you are about to make before you make it
What you can upload
What you can upload
You can attach files to give the AI additional context. Useful inputs include:
- A photo or sketch of what you want the app to look like (hand-drawn counts)
- A screenshot of an existing tool you want to improve or replicate
- A PDF or spreadsheet with the data the app should work with
- A recording of a meeting where you described the problem
Step 3 — Paste your build prompt and run
Paste the prompt Gemini generated and run it. The model will ask any clarifying questions it needs — answer them briefly and let it build. The first result will not be perfect. This is expected and completely normal.Step 4 — Iterate in the spirit of vibe
Each iteration is a conversation. You see something, you describe what you want to change, and the AI adjusts.How to write good iteration prompts
How to write good iteration prompts
Be specific about what you want to change without specifying how to change it. The AI handles the implementation.Good: “Move the summary section above the table. Give it a light background colour and more padding.”Vague: “Make it look better.”Start with layout, then content, then fine details. Changing layout late in the process can sometimes disrupt content that was already working well.
Adding features mid-way through
Adding features mid-way through
You can add features at any point in the process — not just at the start. If you get to the middle of a build and realise you want a new section, just describe it.Example: “After the main results area, add a section that recommends three quick wins based on the data shown. Format them as a numbered list with a short explanation under each.”
When the AI gets it wrong
When the AI gets it wrong
If a change moves in the wrong direction, say so directly. You can also describe the correct state and ask it to return to it.Example: “The previous version had the table at the bottom — please restore that layout and keep the new header styling you just added.”If you hit a persistent issue that Flash cannot resolve, switch to the Pro model temporarily. Pro is better at reasoning through complex layout or logic issues.
Step 5 — Use Focus Mode for visual fixes
Focus Mode lets you point to a specific element on screen and describe exactly what you want to change, without relying on written descriptions of where things are. To use it: click the Focus Mode button in the toolbar, then click on the element you want to change. You can draw on the screen to mark the specific area, then type your instruction. This is the most efficient way to fix spacing, alignment, and styling issues without lengthy back-and-forth.Step 6 — Know when to start fresh
Long vibe coding sessions accumulate changes. After many iterations, the underlying code can become inconsistent and harder for the AI to modify reliably. A practical approach: when you have a version you are mostly happy with, take a screenshot of the full app. Then start a new project in Google AI Studio, attach the screenshot, and say: “Build a clean version of this app based on what you can see in this screenshot.” This gives you a structurally cleaner codebase to continue iterating from.Test your understanding
Test your understanding
Ready to build your own?
Use the guided prompt to build your first app and share it with the group