Skip to content
Copilot app Enablement Center

Engineer

Run several sessions at once across the whole job: code, reviews, bug investigations, design docs, triage and the weekly update.

A day in the life

9:00A morning automation has summarized your open PRs. Two have failing checks, so you click Fix on both.
9:15You start three more sessions: a Plan mode session on the top issue, an investigation of a new bug report and a design doc draft.
11:00While those run, you open a teammate's pull request from Review requests and ask a session for a first pass.
13:30The investigation is back with a root cause and two fix options. You pick one and the session writes the fix and a test.
15:00A child session turns last sprint's merged PRs into a demo deck in a PowerPoint canvas.
16:30You run /security-review on the finished change and open the PR. Your weekly status draft is waiting from an automation.

Use cases

Ship code

Take work from issue to merged pull request, several tasks at a time.

Work three tasks at once

Each session runs in its own working tree, so a bug fix, a refactor and a spike never collide.

Parallel sessionsAutopilot mode
  1. Start one session per task and pick New working tree as the location.
  2. Use Autopilot for well-scoped tasks and Interactive for the ones you want to steer.
  3. Switch between sessions from the sidebar as each one needs you.
Prompt · Autopilot mode Set a repository to open
Investigate why the test suite is flaky on CI. Run the failing tests repeatedly to reproduce the failure, identify the root cause, and fix it without disabling or skipping any tests. Summarize the cause and the fix when you are done.

Outcome: A root-cause summary and a fix, produced while you focus on other sessions.

Moves:PR cycle time

Take an issue to a pull request

Start from an issue in My work, review the plan, then let the agent implement and open the PR.

My workPlan modeParallel sessions
Review plan prompt with three choices: Approve and implement this plan, Exit plan mode and I will prompt myself, and Suggest changes to the plan. Cancel and Continue buttons sit below.
Plan mode asks you to approve, redirect or exit before it changes anything. Real app component rendered with test data.
  1. Open My work in the sidebar and select the issue.
  2. Click New session so the issue context loads automatically.
  3. Choose Plan mode, paste the prompt and approve the plan when it looks right.
Prompt · Plan mode Set a repository to open
Read the linked issue and the code it touches. Propose a plan that lists the files you will change, the approach, and the tests you will add or update. Wait for my approval before writing code. After approval, implement the change, run the relevant tests, and open a pull request that follows the repository template.

Outcome: A reviewed plan, a passing change on its own branch and a pull request linked to the issue.

Moves:PR cycle time

Address review comments and failing CI

Let the agent resolve review threads and red checks on your pull request.

My workInteractive mode
  1. Open the pull request from My work.
  2. Click Fix on a single comment or a failing check, or start a session and use this prompt for all of them.
Prompt · Interactive mode Set a repository to open
Address every unresolved review comment on this pull request. For each comment, make the change or explain why you disagree. Then fix any failing CI checks, run the affected tests locally, and push the updates.

Outcome: Review threads answered, checks green and a short summary of what changed.

Moves:Review turnaroundPR cycle time

Security check before you open a PR

Run /security-review on in-progress changes to catch high-confidence vulnerabilities early.

/security-review: Public preview

/security-review: The /security-review command is in public preview.

Prompt · Interactive mode Set a repository to open
/security-review

Outcome: Prioritized findings with severity, confidence and suggested fixes you can apply in the same session.

Moves:Issues caught before merge

Get a second opinion on a plan

Ask the built-in rubber duck agent to critique a plan or implementation before you commit to it.

Rubber duck agentPlan mode
Prompt · Plan mode Set a repository to open
Before implementing, ask the rubber duck agent to review your plan for logic errors, missed edge cases, and simpler alternatives. Incorporate its feedback and show me the revised plan.

Outcome: A plan that has already been challenged once, with risks called out.

Moves:Issues caught before merge

Make a repository agent-ready

Add .github/github-app.yml so every session installs dependencies and can start the dev server.

Repository configIntegrated browser
Prompt · Interactive mode Set a repository to open
Create .github/github-app.yml for this repository. Add short instructions that capture our conventions, a Setup script that runs on session.create, a Run script that starts the dev server, and a server_ready_pattern that matches the dev server URL. Read the README and package scripts to choose the right commands.

Outcome: A reviewed config file that makes new sessions start ready to build, test and preview.

Moves:Onboarding time

Start the day with a PR briefing

A daily automation that checks your open pull requests before you sit down.

Automations
Edit scheduled automation dialog. Instructions read: Review the pull request queue and summarize anything that needs attention. Schedule is Daily at 9:00 AM, with Delete schedule, Cancel and Save buttons.
A scheduled automation is a prompt plus a schedule. Real app component rendered with test data.
  1. Open Automations, click New automation, choose a Daily trigger and paste the prompt.
Prompt · Interactive mode Set a repository to open
List my open pull requests in this repository. For each one, report CI status, unresolved review threads, and whether it has merge conflicts. Put anything that needs my action first.

Outcome: A prioritized briefing waiting in the app each morning.

Moves:Review turnaroundToil hours

Offload a heavy upgrade to the cloud

Run resource-intensive work in a GitHub-hosted cloud sandbox and keep your machine free.

Cloud sandbox: Public previewAutopilot mode

Cloud sandbox: Cloud sandboxes are in public preview, and an admin may need to enable them for your organization or enterprise.

Prompt · Autopilot mode Set a repository to open
Upgrade the project to the latest major version of our test framework. Follow the official migration guide, update configuration and affected tests, run the full test suite until it passes, and summarize any behavior changes reviewers should know about.

Outcome: A completed upgrade branch built and tested off your machine.

Moves:PR cycle time

Pair a cloud sandbox with a nightly automation

Run a recurring heavy job, such as dependency upgrades, off your machine while you sleep.

AutomationsCloud sandbox: Public preview

Cloud sandbox: Cloud sandboxes are in public preview, and an admin may need to enable them for your organization or enterprise.

Prompt · Autopilot mode Set a repository to open
Check for outdated dependencies, upgrade patch and minor versions, run the full test suite and open one pull request with the upgrades that pass. List any upgrade that failed and why.

Outcome: An upgrade pull request waiting each morning, built and tested in the cloud.

Moves:Toil hours

Change several repositories together

One orchestration chat runs a child session per repository and keeps the order right.

Child sessionsParallel sessionsPlan mode
  1. Add each repository as a project first.
  2. Start a new chat with all of the projects selected, or type /orchestrate in any session.
  3. Review the plan, especially the order, before you approve it.
Prompt · Plan mode Set a repository to open
/orchestrate Rename getUserProfile to fetchUserProfile in <library repo> and release it as a minor version. Then update every caller in <service repo A> and <service repo B>. Use one child session per repository. Finish the library first, since the services depend on it. Open one pull request per repository, link them to each other and give me a table with each pull request and its CI status.

Outcome: Linked pull requests across repositories, made in the right order, with one table to review them from.

Moves:PR cycle time

Split an approved plan across agents

Use /fleet so the independent steps of a plan run in parallel.

Parallel sessionsAutopilot modePlan mode
  1. Start in Plan mode and approve a plan with clear, separate steps.
  2. Use /fleet only when steps really are independent. A sequential task gains nothing.
  3. Each subagent uses the model on its own, so a fleet can use more of your plan than a single agent.
Prompt · Autopilot mode Set a repository to open
/fleet Implement the approved plan. Run the steps that do not depend on each other in parallel and keep the dependent ones in order. When everything is done, run the full test suite and summarize what each subagent changed.

Outcome: A multi-part plan done faster, with a per-subagent summary to review.

Moves:PR cycle time

Shepherd a pull request with agent merge

Agent merge addresses review comments, fixes failing checks and resolves conflicts while you start the next task.

Agent mergeMy work
  1. Agent merge merges as soon as GitHub allows. Your branch protection rules and required reviews decide when that is.
  2. Check in when CI stays red after two fix attempts, or when a fix touches files outside the pull request.
Prompt · Interactive mode Set a repository to open
Turn on agent merge for this pull request. Address review comments, fix failing checks and resolve merge conflicts. Do not merge until I confirm.

Outcome: A pull request that keeps moving without you watching it.

Moves:PR cycle timeReview turnaround

Everything around the code

Investigations, reviews, research, design docs, triage, incident follow-up, planning, status updates, decks and data. Run them next to your coding sessions.

Investigate a bug before anyone writes a fix

Get a root cause and fix options first, so the fix you pick is the right one.

Plan modeParallel sessions
Prompt · Plan mode Set a repository to open
Here is a bug report and the error output. Reproduce the bug locally, trace the code path and find the root cause. Do not change any code yet. Report the steps to reproduce, the root cause with file and line references, two fix options with their trade-offs, and the test that would catch it.

<paste bug report and error output>

Outcome: A reproduced bug, a root cause you can check and a fix you choose on purpose.

Moves:Time to insightPR cycle time

Get a first pass on a teammate's pull request

Open a review request in a session and let the agent read the diff and the code around it before you do.

My workInteractive mode
  1. Open My work and select a pull request under Review requests.
  2. Start a session from it and run the prompt. Check the Files changed tab yourself.
  3. Go back to the pull request detail view and click Review to submit.
Prompt · Interactive mode Set a repository to open
Read this pull request and the code it touches. List problems in order of severity: correctness bugs, missing tests, risky changes, then readability. Give the file and line for each and a suggested review comment I can post. Do not push any changes.

Outcome: A severity-ordered list of review comments, ready for you to check and post.

Moves:Review turnaroundIssues caught before merge

Compare options before you pick a library or approach

Use /research for a cited comparison instead of an afternoon of tabs.

Chats
Prompt · Interactive mode Set a repository to open
/research Compare <option A> and <option B> for <what we need it to do>. Cover maintenance activity, license, performance, security history and migration cost from our current setup. Cite every claim and finish with a recommendation.

Outcome: A cited comparison and a recommendation you can paste into a design doc.

Moves:Time to insight

Write a design doc grounded in the code

The agent reads the code first, so the current-state section is accurate.

Plan mode
Prompt · Plan mode Set a repository to open
Draft a design doc for <change>. Read the code it touches first. Use these sections: context, goals and non-goals, current design with file references, proposed design, alternatives considered, rollout and migration, risks and open questions. Save it as docs/design/<name>.md and do not change any other files.

Outcome: A design doc draft with real file references, ready for review.

Moves:Time to first draft

Bring the docs back in line with the code

Find every command, flag and option the docs get wrong, then fix them in one pull request.

Autopilot mode
Prompt · Autopilot mode Set a repository to open
Compare the README and the docs folder against the current code. List every command, flag, configuration option or API the docs describe wrong or leave out. Fix them in one pull request, and run each command you document to make sure it works.

Outcome: One pull request that makes the docs match the code, with every command tested.

Moves:Time to first draftOnboarding time

Triage the issues in your area

Check each open issue against the current code before you label it.

My workInteractive mode
Prompt · Interactive mode Set a repository to open
List open issues in <owner/repo> with the label <area> and no assignee. For each one, check whether the code still has the problem, suggest a label and a priority, flag likely duplicates with links and note missing reproduction steps. Do not edit any issues. Give me a table.

Outcome: A triage table you can act on in a few minutes.

Moves:Triage time

Follow up after an incident

Draft the review and the follow-up issues from the notes and the changes that shipped.

Plan mode
Prompt · Plan mode Set a repository to open
Using the incident notes below and the pull requests merged in <owner/repo> between <start> and <end>, draft a post-incident review: timeline, impact, root cause, what went well, what did not and action items. Then draft one issue per action item with an owner placeholder. Do not create the issues until I approve them.

<paste incident notes>

Outcome: A post-incident review draft and a set of follow-up issues waiting for your approval.

Moves:Time to first draftToil hours

Break an epic into issues you can run in parallel

Get pull-request-sized issues with dependencies marked, so independent ones can start at once.

Plan modeMy workParallel sessions
Prompt · Plan mode Set a repository to open
Read <epic issue link> and the code it touches. Break the work into issues small enough for one pull request each. For each issue give a title, a description, acceptance criteria, the files it will likely touch and what it depends on. Mark which issues can run in parallel. Show me the list before you create anything.

Outcome: A reviewed set of issues, with the ones that can run side by side marked.

Moves:PR cycle time

Write your weekly update from what you shipped

Save it as a weekly automation so the draft is ready on Friday.

AutomationsInteractive mode
Prompt · Interactive mode Set a repository to open
Draft my weekly update from the pull requests I opened, reviewed or merged in the last seven days and the issues I closed. Group them by project, one line each with a link. Keep it under 200 words and put anything blocked first.

Outcome: A status draft built from real activity, ready to edit and send.

Moves:Toil hours

Turn a sprint into a demo deck

Build the sprint review deck from merged pull requests in a PowerPoint canvas.

Office canvases: Availability variesCanvases

Office canvases: The Word, Excel and PowerPoint canvases may not be on for your account yet. If they are not in the Canvas view in Customize, ask the agent to write the .docx, .xlsx or .pptx file with a script and open it in Office.

Prompt · Interactive mode Set a repository to open
Build a six-slide sprint review deck in a PowerPoint canvas from the pull requests merged in <owner/repo> in the last two weeks. Include one slide of highlights, one slide for each major change with what it does for users, one slide with the number of pull requests merged and one slide on what comes next. Keep each slide under 40 words.

Outcome: A sprint review deck drawn from what shipped.

Moves:Time to first draft

Find out where CI time goes

Analyze a CSV of CI runs in an Excel canvas and get the changes that save the most time.

Office canvases: Availability variesCanvases

Office canvases: The Word, Excel and PowerPoint canvases may not be on for your account yet. If they are not in the Canvas view in Customize, ask the agent to write the .docx, .xlsx or .pptx file with a script and open it in Office.

Prompt · Interactive mode Set a repository to open
Open the attached CSV of CI runs in an Excel canvas. Find the slowest jobs, the trend over the last 30 days and the tests that fail most often. Add a summary sheet and a chart, then suggest the three changes that would save the most time.

Outcome: A summary sheet, a chart and a short list of fixes ranked by time saved.

Moves:Time to insight

Pitfalls to avoid

  • Vague prompts produce vague plans. Name the files, the constraint and how you will judge success.
  • Autopilot is great for well-scoped tasks. Use Plan mode when the approach is still open.
  • Check in when CI fails twice on the same check. Agents can loop on a red build, so read the failure yourself and give a concrete hint or take over.
  • Accept a repository configuration only after reading every script it runs.
  • Keep one task per session. Long, wandering sessions are harder to review.
  • Don't split work that touches the same files. Two parallel sessions editing one module will conflict at merge, so keep those in one session or run them in order.