Get the best results

Advanced

A few habits get you dramatically better apps for the same effort. The big idea: changes are cheap and safe to throw away, so explore more than one direction instead of betting everything on a single attempt.

Use branches to experiment safely

Your app starts on a working branch called development. A branch is its own copy of the app with its own chat and its own live preview — so you can try a bold change on a branch without touching what already works.

Create a branch before any risky or experimental change. If you love it, keep going; if not, switch back to development and it's as if it never happened.

  1. In the editor, open the branch dropdown at the bottom of the preview and choose New branch.
  2. Name it for the idea you're testing (for example new-homepage), then build on it in chat as usual.
  3. Switch branches any time from the same dropdown — each keeps its own conversation and preview, so you can compare them side by side.

Explore directions in parallel

Because each branch has its own chat and preview, you can pursue several ideas at once. Spin up one branch for a minimal, clean look and another for a bold, colorful one, and ask for the same feature on each.

Then open each branch's preview and judge them with your own eyes. Keep the winner, copy the best bits into it, and drop the rest. You end up choosing between real, working versions instead of guessing from a description.

Run the same prompt twice, pick the nicest

AI is creative — the same request can produce noticeably different results. Instead of accepting the first attempt, generate a couple and keep the one you like best.

Make a branch, send your prompt, and look at the result. Then make a second branch from the same starting point, send the very same prompt, and compare. Use a clear, design-focused prompt so the variety lands where it matters:

Try-it-twice prompt

Design a beautiful, modern home page for my app. Surprise me with the layout, typography, and color palette — make it feel polished and distinctive.

Run it on two or three branches, then keep the nicest. This costs little and almost always beats endlessly tweaking a single mediocre first draft.

Reimagine your whole app

When something feels stale, don't nudge it — ask for a full reimagining on a fresh branch. Give the assistant room to rethink the look from scratch while keeping your content and features:

Reimagine prompt

Completely reimagine the design of my app. Keep all the existing features and content, but rethink the visual style, layout, and overall feel to make it more modern and memorable.

Because it's on a branch, you can compare the reinvention against your current version and only switch over if it's genuinely better.

The throughline: branch freely, try variations, and let your eyes pick the winner. Nothing you explore on a branch can break your live site — only Publishing does that, and only when you choose to.

Related articles