Yes store your guidelines in the repo (e.g., .github/copilot-instructions.md and optional prompt files) and they’ll work across supported IDEs; only IDE-specific personal settings may need re-adding.
.github/copilot-instructions.md