Copilot coding agent: Automatically generate custom instructions

With GitHub Copilot coding agent, you can delegate tasks to Copilot that it will work on in the background.
By adding custom instructions to your repository, you can guide Copilot on how to understand your project as well as how to build, test, and validate its changes. With these instructions, Copilot produces higher quality pull requests you can merge more quickly.
Copilot coding agent can now automatically generate custom instructions for your repository. The first time you ask Copilot to open a pull request in a given repository, it will leave a comment on the draft pull request with a link to generate custom instructions.
You can also ask Copilot to generate custom instructions at any time using the recommended prompt in our documentation.
Learn more about Copilot coding agent
Copilot coding agent is available in public preview for all users with Copilot Pro or Copilot Pro+, as well as Copilot Business and Copilot Enterprise users where an administrator has enabled the relevant policy.
Copilot coding agent is also integrated into github.com, many IDEs, GitHub Mobile, the GitHub CLI, and the GitHub MCP Server, so you can delegate tasks from wherever you are. To find out more about Copilot coding agent, head to our documentation.