Copilot has a centralized way of handling instructions. Global instructions go into .github/copilot-instructions.md. You can also have path-based instruction that use a glob. These go into .github/copilot/instructions/ and have special front matter:
applyTo: "<span class="hljs-strong">**/<span class="hljs-emphasis">*.ts"</span></span>