docs: fix conflicting Copilot CLI custom agent precedence guidance - #46105
BaconMan1168 wants to merge 1 commit into
Conversation
Project-level agents now take precedence over personal agents with the same name, and both pages clarify that identity is based on the frontmatter name value, not the file name.
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
|
I'm afraid this hasn't been approved for contributors as we've had no chance to investigate and figure out the best way to solve the problem in question, so I'm going to close this out. Sorry this won't be the outcome you were hoping for |
Why:
Closes: #46100
What's being changed (if available, include any code snippets, screenshots, or gifs):
The custom agent how-to and the CLI configuration directory reference stated opposite precedence rules for when a personal agent and a repository agent share the same name. I checked GitHub Copilot CLI's actual behavior directly (its skill-discovery mechanism, which follows the same personal-versus-repository resolution as agents) and confirmed that the repository-level definition takes precedence, and that matching is based on the
namevalue in the frontmatter rather than the file name. Both pages now state this consistently.Check off the following: