1
0
mirror of synced 2025-12-19 18:10:59 -05:00

[2025-08-28] Document support for AGENTS.md custom instructions in Copilot coding agent (#57252)

Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
This commit is contained in:
Tim Rogers
2025-08-28 18:12:03 +01:00
committed by GitHub
parent 48f5ee09ab
commit 2c3fdf1990
2 changed files with 13 additions and 3 deletions

View File

@@ -77,7 +77,13 @@ By adding custom instructions to your repository, you can guide {% data variable
If {% data variables.product.prodname_copilot_short %} is able to build, test and validate its changes in its own development environment, it is more likely to produce good pull requests which can be merged quickly.
You can add instructions in a single `.github/copilot-instructions.md` file in the repository, or create one or more `.github/instructions/**/*.instructions.md` files applying to different files or directories in your repository.
{% data variables.copilot.copilot_coding_agent %} supports a number of different types of custom instructions files:
* `/.github/copilot-instructions.md`
* `/.github/instructions/**/*.instructions.md`
* `**/AGENTS.md`
* `/CLAUDE.md`
* `/GEMINI.md`
For more information, see [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webui).