All docs pages
Docs

Building with chat

The chat is where you ask for an app and for every change after it. Here is how a turn works and the tools around it.

What happens in a turn#

  1. You send a message, with files or parts of the preview if you like.
  2. The AI reads the project and works step by step: reading files, editing code, running checks. You see the steps as it goes.
  3. When it changes files, Stackly saves a version and rebuilds the draft.
  4. The AI ends with a summary, and sometimes with questions or cards for you to pick from.

Turns are charged while they run. See Credits and usage.

Steering a running turn#

You do not need to wait. Send a message while the AI works, and it reads it at its next step. Until then it shows as “Next step” above the composer. Messages with files or preview picks wait for their own turn after this one, up to 5 per chat. Stop ends a turn at once.

Modes and settings#

SettingWhat it does
Plan firstThe AI asks questions and proposes a plan before it builds.
Plan modeThe AI plans and changes no files.
YOLOThe AI decides everything and approves its own actions without asking you. Faster, and riskier: check the result.
Model and effortPick the AI model and how hard it thinks. More effort is slower and can cost more.
AI sourceThe chip next to the model picks who pays for the AI: your ChatGPT plan, your key, or credits.

Preview and pointing#

Preview shows the draft. Click elements in the preview to attach them to your next message, so the AI knows exactly what you mean. The draft uses its own data and never sends requests outside; they wait in an outbox you can read.

The project tabs#

TabWhat it is for
ChatBuild and change the app.
BlueprintPlan an app before building it.
PreviewUse the draft.
CodeRead every file of the source.
More: VersionsEvery saved change, and going back to one.
More: DataThe app’s tables, rows, relations and migrations.
More: Local devWork from your own machine with the stackly CLI.
More: HealthA scan for common problems: safety, speed, fragility, ease of use.
More: TrafficPage views and visits of the app.
More: SEOWho the app is for, search status, and a check of each page.
More: ShowcaseThe listing for Explore: text, pictures, videos, logo, sharing.
More: SettingsName, visibility, domain, secrets and deleting the project.

Asking well#

  • Say who the app is for and what they need to get done.
  • Ask for one thing at a time for big changes. Small fixes can go together.
  • Say what is wrong and what you expected, and point at it in the preview.
  • Never paste keys or passwords. When the app needs a key, the AI asks Stackly to add an empty secret, and you fill it in Settings.

Checking the work#

AI can be wrong

The AI can misunderstand you, break something that worked, or write insecure code. Test each change in Preview, read the code for anything sensitive, and run Health. Go back with Versions if a change goes wrong.