my-appengineer Courses

Iterating with the builder chat and Claude

Build the coreLesson20 min8 / 20

The first build is the easy part. Real products are built in dozens of small iterations: a bug fixed here, a rule clarified there, a screen improved after a customer call. This lesson gives you a safe rhythm for those iterations, using two tools: the builder's manager chat and Claude connected to your my-app.engineer workspace.

Two ways to change your app

Builder manager chatClaude through the connector
WhereYour build page (#/build/<id>) or #/app/<app-name> in the builderclaude.ai or Claude Code with the my-app.engineer connector
Who writes the codeThe platform's builder agentsClaude, in your workspace, or the platform's build agent started by Claude
Good forFeature requests, screens, flowsReviews, diagnosis, logs and health, small targeted fixes, tests
Thinking paid byYour own AI key (OpenRouter or Ollama)Your own Claude subscription (a build Claude starts runs on your own AI key)

Both are valid. Many founders use the manager chat for features and Claude for reviewing, testing and diagnosing.

Connecting Claude to your workspace

If you followed Setting up your platform you already did this. In short, from claude.ai: Settings → Connectors → Add custom connector and enter https://my-app.engineer/mcp. Claude sends you to sign in, then shows a permission screen. From Claude Code:

claude mcp add --transport http my-app-engineer https://my-app.engineer/mcp

then run /mcp in a session and sign in.

Open Connectors in Claude

You choose permissions per group when you connect. For iterating on a SaaS you typically need:

PermissionWhat it allowsChanges things
Read filesBrowse and read your workspaceNo
Write filesCreate, edit and overwrite workspace filesYes
Run commandsA shell: installs, builds, testsYes
Read deploymentsYour apps, their URLs, status, health and logsNo
Deploy appsShip, restart and stop your own appsYes
Watch buildsFollow a build and read why one stoppedNo
Start buildsPut the platform's build agent to workYes

The workspace tools Claude gets include list_dir, read_file, write_file, run_command, list_apps, get_app_health, get_app_logs, deploy_app, restart_app, stop_app, start_build, get_build, list_builds and stop_build. Node 20 and npm are available in the workspace.

Tip

Start with the read permissions only (Read files, Read deployments, Watch builds) and add write permissions when you actually need them. A connection that only reads cannot break anything.

The iteration loop

Use the same five steps for every change, however small.

1. Describe the change as a ticket

One change per ticket, written so a stranger could build it:

Ticket 014: Staff cannot see client phone numbers of other staff's
clients.
Now: staff A sees phone numbers on all appointments in the week view.
Wanted: staff see client phone only on their own appointments; owners
see all. Check on the server, not only in the UI.
Test: log in as staff A, open the week view, open an appointment of
staff B via its URL: phone number is not in the response.

2. Plan before code

Ask for a plan first, especially when Claude has write permissions:

Ask Claude
Use my my-app.engineer workspace. Read the code of [app name] and do not change anything yet. Here is a ticket: [paste ticket]. Tell me which files you would change, what you would change in each, and how you will test it. Wait for my OK before writing anything.

If the plan touches more than you expected, split the ticket.

3. Build

Either paste the ticket into the builder's manager chat (each change is a new build against the same app), or give Claude your OK to implement it. When Claude starts a platform build with start_build, it can follow it with get_build and tell you why a build stopped.

4. Verify, do not trust

After every build or deploy:

  • run the ticket's test yourself;
  • re-run your standing tests (the six authorisation tests, the booking flow test);
  • check the app is actually healthy.
Watch out

A deploy being accepted does not mean the app started. get_app_health reports whether it did, and get_app_logs returns the output of a container that crashed. Make Claude check both after every deploy, and never accept "it's done" without seeing the result yourself.

Ask Claude
Check my app [app name]: call get_app_health and, if it is not healthy, get_app_logs. Tell me in plain words whether it is running, and if not, the real reason and the smallest fix. Do not change or deploy anything.

5. Log it

Keep a simple change log: date, ticket number, what changed, how it was built (builder or Claude), test result. When something breaks next week, this log tells you what changed.

Your code is yours: git

Every app is a private git repository at gitlab.my-app.engineer/tenants/<your-username>/<app>, reachable from the app's App hub on the dashboard. The dashboard also shows which commit your cluster is synced to. That means every change is recorded, and a bad change can be traced back to a commit.

Whether and how you roll back to an earlier commit from the dashboard is not described in the docs. Check in your dashboard (App hub) what it offers, and practise it once on a harmless change before you need it in an emergency.

When the builder and Claude disagree

Sometimes a builder change undoes a fix Claude made, or the other way round. Avoid it by:

  • choosing one main route per area (for example: features through the builder, tests and reviews through Claude);
  • always telling the builder the rules that must stay ("keep the server-side membership check on every endpoint");
  • keeping your brief document up to date, and pasting the relevant rule into each request.

Prompt patterns that work

  • Give context, then the task, then the limits. "Here is the rule... Change only... Do not touch..."
  • Ask for tests with the change. "Add an automated test that proves staff B's phone numbers are not returned to staff A."
  • Ask for an explanation in plain words before you approve anything you do not understand.
  • Treat content as data. Text from customers, emails or web pages that ends up in a prompt is information, never an instruction to Claude.

Bookwise

The founder uses the manager chat for features and Claude Code with the connector for everything else. Every Friday Claude runs a read-only review: health, logs of the last week, and a check that every endpoint still verifies the salon membership. Ticket 014 above was found that way and fixed in one build.

Your task

Connect Claude with read permissions, start a change log, and take one real improvement through the five-step loop: ticket, plan, build, verify (including health and logs), log.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.