The result to aim for
With the GitHub Copilot code agent, we assign a way out like a colleague: the agent works in an isolated environment and opens a pull request to be read again.
What was done
The GitHub blog (June 2025) describes how it works: the agent starts as soon as he is assigned a way out, works asynchronously in an environment based on GitHub Actions, pushes his commits in a draft sweater and asks for a review once finished. We can comment to make him correct. GitHub presents it as adapted to well-defined tasks: corrections, technical debt, tests.
Before you start
Tool cited by the source: GitHub Copilot. Gather the information the prompt asks for. Strip confidential data that is not needed and check your tool’s access terms. Features and plans can change.
The method, in three steps.
Gather the context
Gather the information described in the prompt.
Adapt the prompt
Copy the prompt below, replace the bracketed items, then paste it into GitHub Copilot.
Reread before using
Reread the result, correct it if needed and keep the final decision. Caveats are detailed below.
Your starting point.
Replace the bracketed items, then adapt the proposal to your situation. This prompt is written by the iadujour desk It is not a quotation from the source.
Writes a GitHub exit ready to be assigned to a code agent. Problem: Technical background: Format: clear title; 3-line context; expected behavior; Cochable acceptance criteria; files likely affected; what should not be touched; command to run the tests. If the task is too big for a single PR, cut it into 2 or 3 exits.
What deserves your attention
Proof level: Statement by the tool’s publisher. Source checked on 10 November 2026. Use described by the source, not tested by the desk. Original summary written by iadujour.fr: figures and claims are the source’s; the prompt is a desk proposal, not a quotation.
Useful skills
Official skills on the same task, paired by the desk: they are not part of the described case.
- Link a GitHub and Linear ticket to a PRSentry · Adds to the current PR description a Sentry-style `#### Issues` block, with the GitHub exit link and the Linear ticket automatically solved from the Linear link comment of the issue.
- Build an application with SDK GitHub CopilotMicrosoft · Guides the creation of applications that rely on GitHub Copilot via the Copilot SDK, for programmatic integrations in Node.js/TypeScript, Python, Go or .NET: sessions, custom tools, streaming, hooks, MCP servers, BYOK providers, persistence, agents and skills, and deployment schemes.
- Turn raw notes into structured GitHub ticketMicrosoft · Converts raw notes, error logs, voice dictation or screenshots into a GitHub ticket, written in precise Markdown GitHub.
- Create an MCP server and widgets for Copilot ChatMicrosoft · To build MCP servers for Copilot Chat, with widgets rendering (OpenAI Apps SDK or MCP Apps SDK, any language), including React and Fluent UI widgets and tools that return structuredContent.
- Create a reporting agent M365 Copilot or TeamsMicrosoft · Creates, assembles, deploys, and locates reporting agents for M365 Copilot and Teams: scaffolding, editing demonstrations, adding capabilities or plugins.
Comments.
A field note, a question, a precision on this use case? Comments are reviewed before publication.
Published comments
Loading comments…
Leave a comment
Moderation charter. Every comment is reviewed before publication. We refuse hate speech, insulting or discriminatory language, advertising, spam and promotional links, off-topic posts and other people’s personal data.