Overview
Hand well-described backlog issues to GitHub Copilot on GitHub.com, name the repository and branch it should work against, and review each proposed change before any pull request is merged.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- GitHub Copilot · GitHub
- Prerequisites
- Starting October 28, 2026, the new Copilot in the cloud experience on GitHub.com and GitHub Mobile is available to users with a paid Copilot plan, subject to applicable organization and enterprise policies; Copilot Free users keep the old Copilot Chat experience. Repository owners and administrators can disable Copilot for a repository. Agent work uses credits. Check that your rulesets and branch protection allow Copilot to open pull requests.
How It Works
Pick a few small, self-contained issues from your backlog and rewrite each so it states the expected behaviour, the files likely involved, how to test it, and the branch the work should start from. On GitHub.com, open Copilot from the issue, give it the repository and branch, and ask it to plan the change before editing. Read the plan and correct it if it misreads the issue. Let it make the changes, then review the proposed diff and ask for refinements before it opens a pull request. In the pull request, compare the changes with the issue, request a Copilot code review if you want a second pass, run your tests, and have a person approve and merge. Keep branch protection on so nothing merges without that review, and work through one issue per task.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up GitHub Copilot.
- Connect the toolsConnect the tools this workflow relies on: GitHub Copilot, GitHub.
- Check the prerequisitesStarting October 28, 2026, the new Copilot in the cloud experience on GitHub.com and GitHub Mobile is available to users with a paid Copilot plan, subject to applicable organization and enterprise policies; Copilot Free users keep the old Copilot Chat experience. Repository owners and administrators can disable Copilot for a repository. Agent work uses credits. Check that your rulesets and branch protection allow Copilot to open pull requests.
- Gather your detailsCollect what the prompt asks for: Issue number or link, Repository, Branch the work should start from, What should happen once fixed, Command that runs the tests.
- Run the starter promptPaste the starter prompt below into GitHub Copilot and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.github.com before you rely on it.
Practical Starter Prompt: Plan the fix for this issue
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Work on issue [Issue number or link] in [Repository], starting from the branch [Branch the work should start from]. The expected behaviour is: [What should happen once fixed]. Before changing any file, write a short plan listing the files you will touch and how you will test the change, and wait for my reply. After I approve, make the changes, run [Command that runs the tests], and show me the diff so I can review it before you open a pull request against [Branch the work should start from]. Do not merge anything.Approve the plan before Copilot edits anything, review the diff before the pull request is opened, then compare the pull request with the issue, run your tests, and have a person approve the merge.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. GitHub's documentation says Copilot on GitHub.com can plan and make changes, works against the repository and branch you provide, lets you review proposed changes and ask for refinements before creating a pull request, can review pull requests, and works on one branch with one pull request per task in some session types. No cited page measures how often its changes are correct on a real backlog.
Limitations and Considerations
Nothing should merge without a person's review; rulesets and branch protection can stop Copilot from creating or updating pull requests, so check yours allow the flow you want. Agent work uses GitHub AI Credits, and how many depends on the model and task, so watch your plan's allowance. Organisation and enterprise policies apply, and repository owners and administrators can disable Copilot for a repository. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- GitHub Copilot on GitHub.com and GitHub Mobile - GitHub Docs (opens in a new tab)
Project documentation · docs.github.com · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- On the GitHub website and GitHub Mobile, GitHub Copilot can answer questions about your repositories, plan and make changes, review pull requests, and automate repository tasks.
- When you ask for changes, Copilot works against the repository and branch you provided.
- You can review the proposed changes and ask for refinements before creating a pull request, or request a pull request in your prompt.
- In GitHub Actions-based sessions and cloud sandbox sessions, Copilot can only work on one branch at a time and can open one pull request per task.
- A ruleset or branch protection rule can prevent Copilot from creating or updating pull requests.
- GitHub Copilot · Your AI coding agent · GitHub · GitHub (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- You use credits when you chat with Copilot and work with agents.
- How many credits an interaction uses depends on the model you choose and the complexity of the task.