From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Create a plan
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Create a plan
The plan agent is just as easy to use as any other agent. You go to your chat pane, choose plan from this dropdown list, and then select your model. The difference is in the conversation. Plan mode is goal-focused. You're not asking it to start changing files right away. You're explaining what you want to accomplish and seeing what steps will get you there. Now you can ask general questions, but the plan agent will typically try to turn those into concrete step-by-step approach that you can review and refine before handing the work off to an execution agent. Or you could prompt it with a comprehensive list of requirements. So that's what I've done. I have this list here. This is my prompt. But before we look at the prompt, let's talk about my project. I am in the plan simple branch and we're looking at my brokerage lib module. So I have the account, the commission calculator, constants module, financial module, on a payment date module. Here's my prompt. Create a detailed step-by-step…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understand cloud and background agents5m 12s
-
(Locked)
Plan mode in Copilot: Quick review2m 25s
-
(Locked)
Session panel2m 23s
-
(Locked)
Create a plan5m 15s
-
(Locked)
Save plan as markdown1m 42s
-
(Locked)
Run the plan on background agent1m 40s
-
(Locked)
Use terminal with background agent2m
-
(Locked)
The Git worktree2m
-
(Locked)
Review the changes1m
-
(Locked)
Merge the changes1m 28s
-
(Locked)
-
-
-