Skip to content

Restore the mention of copilot fallback to AGENTS.md, if it is still valid #39730

@sgryphon

Description

@sgryphon

Code of Conduct

What article on docs.github.com is affected?

Article: https://docs.github.com/en/enterprise-cloud@latest/copilot/tutorials/coding-agent/get-the-best-results#adding-custom-instructions-to-your-repository

Copilot : Adding custom instructions to your repository

What part(s) of the article would you like to see updated?

Previously this article mentioned fallback to AGENTS.md (and other files) if copilot instructions were not found.

This was removed in a recent repo sync (from internal repo) commit : 16236c3

Users @GeekTrainer and @saritai are mentioned in the commit, so tagging you to find out if this was intentional.

Rather than a multitude of different files being support, AGENTS.md was emerging as a common standard, with support by OpenAI Code, Google Gemini, and according to the documentation 20 hours ago also by Github Copilot.

(It is also supported by a half dozen other smaller tools).

Was the previous documentation correct, does Github Copilot still support fallback, and if so, can you please at least reinstate the mention of AGENTS.md being supported.

(Otherwise, people are reverting to approaches such as symlinking the files together, or using a tool to copy to different names. It would be far simpler if there was a common file that was supported).

I hope this can be clarified

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions