Q108 [Scenario]: A team wants Copilot Chat to always generate TypeScript code using strict explicit return types and clean architecture boundaries without repeating this request in every prompt. How should this be enforced?

Create a .github/copilot-instructions.md file in the repository root containing explicit project guidelines. Copilot Chat automatically loads these Custom Instructions for every chat query within that repository.

Key Takeaways
  • .github/copilot-instructions.md provides automated repository-level prompt context.

  • Enforces project-wide coding standards across all team chat interactions.

Knowledge Check

What repository file automatically injects team style rules into all Copilot Chat interactions?