Skip to content

Commit 558e2ae

Browse files
timrogersfelicitymaysubatoi
authored
[2025-10-01] Jumpstart your new repository with Copilot coding agent (#57650)
Co-authored-by: Felicity Chapman <felicitymay@github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent 669c55b commit 558e2ae

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ You can ask {% data variables.product.prodname_copilot_short %} to work on a tas
3939
* The [{% data variables.product.prodname_cli %}](#asking-copilot-to-create-a-pull-request-from-the-github-cli)
4040
* Your preferred IDE or agentic coding tool with [Model Context Protocol (MCP)](#asking-copilot-to-create-a-pull-request-from-the-github-mcp-server) support
4141
* The [Raycast](#asking-copilot-to-create-a-pull-request-from-raycast) launcher on macOS
42+
* The ["New repository" form](#asking-copilot-to-create-a-pull-request-from-the-new-repository-page) on {% data variables.product.github %}
4243

4344
{% data variables.product.prodname_copilot_short %} will start working on the task, raise a pull request, then request a review from you when it's finished working. For more information, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
4445

@@ -234,6 +235,19 @@ You can ask {% data variables.product.prodname_copilot_short %} to open a pull r
234235

235236
{% data reusables.copilot.coding-agent.new-agent-task-form-instructions %}
236237

238+
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the "New repository" page
239+
240+
When creating a new repository, you can ask {% data variables.product.prodname_copilot_short %} to seed the new repository by entering a prompt.
241+
242+
{% data reusables.repositories.create_new %}
243+
{% data reusables.repositories.owner-drop-down %}
244+
1. In the **Prompt** field, enter a prompt describing what you want {% data variables.product.prodname_copilot_short %} to build.
245+
246+
For example, `Create a Rust CLI for converting CSV spreadsheets to Markdown`
247+
{% data reusables.repositories.create-repo %}
248+
249+
{% data variables.product.prodname_copilot_short %} will immediately open a draft pull request. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
250+
237251
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %}
238252

239253
1. Install the [{% data variables.product.github %} Pull Requests extension](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) for {% data variables.product.prodname_vscode %}.

content/repositories/creating-and-managing-repositories/creating-a-new-repository.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ topics:
4343
* You can create a _.gitignore_ file, which is a set of ignore rules. For more information, see [AUTOTITLE](/get-started/git-basics/ignoring-files).{% ifversion fpt or ghec %}
4444
* You can choose to add a software license for your project. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).{% endif %}
4545
{% data reusables.repositories.select-marketplace-apps %}
46-
{% data reusables.repositories.create-repo %}
4746
{% ifversion fpt or ghec %}
47+
1. Optionally, if you have access to {% data variables.copilot.copilot_coding_agent %}, enter a prompt for {% data variables.product.prodname_copilot_short %} to use to populate your repository. After the repository is created, {% data variables.product.prodname_copilot_short %} will open a draft pull request, write the code requested, then request review from you. For more information, see [AUTOTITLE](/copilot/concepts/agents/coding-agent/about-coding-agent).
48+
{% data reusables.repositories.create-repo %}
4849
1. At the bottom of the resulting Quick Setup page, under "Import code from an old repository", you can choose to import a project to your new repository. To do so, click **Import code**.
4950
{% endif %}
5051

0 commit comments

Comments
 (0)