Working with an assistant
Give a clear task, review the changes, and test the result.
On this page
1 · Describe a result you can check
Start with the person using the app, the action they need, and how you will recognize success. Keep the first request small.
Make a checklist for preparing a community event.
I need to add a task, mark it complete, and filter unfinished tasks.
Explain your plan before changing files.
Keep the first version usable on a phone.
-
Say what a person should be able to do
Describe the outcome, not which technology to use. “Add a task and mark it complete” is easier to check than a list of files.
-
Ask for the plan first
Reading the plan costs one message and saves a lot of undoing.
-
Ask it to explain the jargon
Ask for unfamiliar terms to be explained, and for any setup you must do yourself to be listed.
you could tell someone else whether it worked without reading the code.
2 · Review before moving on
-
Check the work is in the right project
The proposal should belong to the project you have selected.
-
Read each approval request
A command or permission request describes an action on your computer. Read it before you allow it.
-
Open Changes and read the diff
Open Changes to see exactly which files were edited, how, and the assistant’s explanation.
-
Test the exact behavior you asked for
Do the thing yourself, in the running app.
-
Save a working checkpoint
Commit before you add the next feature, so you can come back to this state.
An assistant saying “done” is not evidence that the app works on your phone. Run the interaction yourself.
you performed the new behaviour yourself and it did what you described.
3 · Recover from a failed change
-
Write down what happened
What you did, what you expected, and what happened instead. Include the visible error, with no private values.
-
Ask for a focused fix
One problem at a time, rather than “start again”.
-
Go back if the result is worse
Use your project’s saved version or Git history to recover before attempting another change.
The assistant and the running preview have separate lifecycles. A finished conversation does not necessarily stop the project, and restarting the app does not undo source edits.
the app behaves as it did before the bad change, and you understand what caused it.