Add copilot-instructions.md to the system prompt custom files search

This adds [.github/copilot-instructions.md](https://code.visualstudio.com/docs/copilot/copilot-customization#_types-of-custom-instructions) to the list of
custom files that the system prompt will search for. This file is used to provide instructions to Copilot in VS Code and may be nice to apply when using OpenCode.
This commit is contained in:
Mike Wallio 2025-06-25 11:15:59 -04:00
parent 2f8d23ec66
commit 35cf2567b8

View file

@ -95,6 +95,7 @@ export namespace SystemPrompt {
const CUSTOM_FILES = [
"AGENTS.md",
"CLAUDE.md",
path.join(".github", "copilot-instructions.md"),
"CONTEXT.md", // deprecated
]
export async function custom() {