r/GithubCopilot • u/ADDSquirell69 • 25d ago
Help/Doubt ❓ VS Code Forgot copilot-instructions.md
Just recently The prompt seems to have forgotten where the .github/ copilot-instructions.md file was. Has anybody seen this? Maybe it just temporary lost its mind.
It was only running some of the checks I requested and not the entire instructions. Is there a best practice for telling it where these files are located? I thought it was supposed to know this automatically since it's the one that told me this.
3
Upvotes
View all comments
2
u/London-Boat 24d ago
one more thing worth trying if the file has grown long: split it. you can move the check specific rules into .github/instructions/*.instructions.md files with an applyTo glob in the frontmatter, so only the rules for the files being touched get pulled in and the main copilot-instructions.md stays short. long single files seem to be where it starts skipping parts