agentusecases.aiAll 1,784 use cases
Software & DevOps

Ask a coding agent to fix an existing PR

A developer asked @copilot to fix an existing PR; it opened a new PR instead of pushing in place, later partly fixed except for fork branches. · Feb 26, 2026

Done withGHGitHub Copilot

What they did
The developer opened a PR on a repo and saw Copilot's prompt to mention @copilot in a comment to make changes. He mentioned it and asked for a fix to his own PR. He expected a push to that branch. Copilot opened a separate new PR, so he would have had to merge its changes back himself.
How it went
On March 24, 2026 GitHub shipped a changelog entry letting Copilot change any PR. Stephen Toub noted it still fails when the source branch is in a fork, which covers nearly all of dotnet/runtime's human-authored PRs.
Worth knowing
Check whether your PRs come from fork branches. Copilot still can't edit those, and GitHub's announcement was later edited to say fork PRs aren't supported.

Try it yourself with GitHub Copilot

@copilot please fix pull request [PR number] in [owner/repo]: [describe the problem, e.g. the failing lint check and the review comment about the null case]. Push your fix to the existing PR branch if you can, rather than opening a new PR. If you can't push to this branch, because it's a fork for example, tell me why and say what you would change instead. Stop once the fix is pushed or you've explained the blocker.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Source: github.com · Feb 26, 2026

Related use cases

  • GH

    Run a solo company with eight agent departments

    A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.

    GitHub Copilot

  • GH

    Add a filtered report page to a Razor Pages app

    The poster used Copilot agent mode in Visual Studio 2022 to build a charges summary report page with date and status filters, add a menu option, and write the git commit steps.

    GitHub Copilot

  • GH

    Have Copilot write all of a day's pushed code

    A commenter had Copilot write every line pushed in a day; it mostly worked but one wrong change needed human review.

    GitHub Copilot

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • DE

    Test Devin on integrations, migration and security review

    Answer.AI tried Devin on an observability integration, an nbdev migration and a vulnerability review; it found some real issues, hallucinated others, and failed the migration.

    DevinCursor

  • CX

    Find bugs with property-testing agent swarms

    Agent swarms doing property testing found about 30 bugs in the author's work code, then ~100 bugs across open-source projects like uv, with many fixes merged.

    Codex

Keep browsing

All 24 GitHub Copilot use casesAll 313 Software & DevOps use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us