Plan big code changes before letting Copilot edit
Use Copilot’s planning phase to review a change list first, then let Agent mode carry out the edits after you approve it.
- What they did
- A developer used GitHub Copilot in two stages for larger work. First, they let Plan mode ask follow-up questions and produce a plan.md file for review. Once they clicked Start Implementation, Copilot moved into Agent mode and applied the code changes on its own, with the developer steering it toward specific files using #file.
- How it went
- The approach was described as a good fit for substantial features and for keeping premium requests from being spent too quickly. There was no concrete project example or measured payoff, and other commenters noted that request caps and context compression could still stop a run partway through.
- Tips
- For bigger tasks, start with a planning pass and keep the scope tight by naming the exact files and areas involved. Pause before any irreversible step and only continue after you confirm the plan and implementation details.
Try it yourself with GitHub Copilot
I need help making a change in [repo/project]. First, ask any clarifying questions you need, then draft a step-by-step plan that lists the files you expect to touch and how you’ll verify the work. Stop and wait for my approval before changing anything. After I approve, switch to implementation, edit the code in the relevant files, run [test command], and then summarize what you changed. Do not send, submit, delete, or make any irreversible action without checking with me first. If helpful, focus on these files: [file1], [file2], [file3].
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Create a filtered summary page with Copilot
Copilot agent mode in Visual Studio 2022 built a charges report in a Razor Pages app, added navigation, and drafted the commit steps.
Use Copilot to break a Terraform project into small steps
A writer used GitHub Copilot to learn Terraform on the job and finish infrastructure work by leaning on repo docs and strict tool limits.
Use Copilot to scaffold a site and backend
A commenter used GitHub Copilot with a BYOK DeepSeek key to build a React site, database, and APIs, especially for backend setup.
Map the work before letting Copilot edit code
A developer gave GitHub Copilot backend tasks only after locking down scope, checks, and file limits in a short written plan.
Use Copilot Agent Mode on notebook edits carefully
A user tried Copilot Agent Mode on a large Jupyter notebook and had to revert repeatedly after it damaged the file mid-edit.
Deploy your app end to end with Copilot CLI
They used GitHub Copilot to build an app and Copilot CLI to handle launch setup, saving Claude Code for more difficult logic.