Working with AI Coding Assistants
Pantry Pal works. To keep improving it, Asha moves the code out of the app builder into a project folder of her own, and meets a new family of tools: assistants that live in a code editor or a terminal and change code on request. They work in different modes, and the right one depends on how much you are handing over.
The rule
The more the assistant does alone, the more carefully you review.
Three modes, from least to most independent:
| Mode | You do | The assistant does | You review |
|---|---|---|---|
| Inline suggestions | Type code | Offers the next line or block as you type | Each suggestion before accepting it |
| Chat beside the code | Ask a question or request an edit | Explains, or proposes changes to a file or two | Each proposed change |
| Agent | Describe a whole task | Reads files, edits many of them, runs commands and tests | Every change together, as a diff |
A diff is the list of exact lines added and removed by a change. It is your main review tool for agents: you do not reread the whole project, only what changed.
Two habits make every mode work better:
- Give context. Point at the files that matter, and keep a short project notes file — what the app does, the stack, rules such as "the model is called only from the server" — that the assistant reads at the start of each session.
- Save before you start. A commit before you hand over a task means any result can be undone in seconds.