Adding repository custom instructions for GitHub Copilot - GitHub Docs
Create repository custom instructions files that give Copilot additional context on how to understand your project and how to build, test and validate its changes.