And the first of those tips is, if you had to choose, and it is a choice, you should be choosing to spend more time planning than more time reviewing. And I actually think that if you spend more time planning, it will save time that you otherwise would have to spend reviewing. So, one of the things that I mean by planning is you need a system of record. So, with coding agents, everybody kind of has to be a bit of a manager. You need to find ways to structure your daily work so that you can easily see, okay, well, what tasks do I have in progress? What tasks are in review? And what tasks are there to do? And this is because you're going to be getting so much more done than you were before that it can actually become difficult to really keep track of everything that needs to be done when it's all happening in your brain. So, it doesn't have to be Vibe Kanban, the product we make. It can be Notion, it can be Google Docs, or whatever. But you need to be organized about your own personal productivity in a way that I think only teams really had to care about this before AI coding agents arrived on the scene.
My next tip is about actually the act of planning with an AI coding agent. So, you need to basically ask AI before it makes a change to take your description, and your description might be quite small, maybe contain references to what the problem is, but not the full detail of how to fix the task. And what we're going to do is we're going to work with the coding agent to turn that into a much more comprehensive plan. So, you can see here in the red box, I've just got a simple prompt that says, please plan how to execute this task. And you can use the flawed code, or the codex plan modes to achieve this as well. You don't have to just prompt it to create a plan. And what you'll get back from your coding agent is the outline of the changes that it's going to make. So, you can see here it's referencing different files, and it's being specific about some of the changes it might make. This is really your opportunity to ask for changes. And it's important that you ask for changes in the planning stage rather than at the changes stage.
Because as soon as the coding agent tries to make changes, it's very difficult to then undo those changes. AI coding agents are lazy. And so, if they make changes, and you later decide you don't like those changes, what you'll end up with is some compromise between the first attempt and the feedback that you gave it, rather than the clean change that you otherwise would have wanted. So, this plan is really your opportunity to kind of set the approach, and from there you're much more likely to have a successful outcome. So, visualizing how planning might affect review, I've got two timelines here. So, the top timeline is one where the person in the driving seat didn't spend a lot of time planning. And so, you can see that they did a small plan. AI went and made a change. It then came back to the human and said, human, please review this. The human had some feedback. And then, you can see this goes back and forth with AI making further changes, the human reviewing, AI making further changes, etc. The other option, option B, is you invest more time in planning.
Comments