Question 340
A maintainer using GitHub Copilot finds, the following condition is confirmed: A custom prompt file does not appear in the IDE's picker. Which approach is the most defensible?
Explanation
Correct Answer
Select the action "Verify filename, directory and IDE feature support". Prompt file discovery depends on supported formats and locations. It is the specific match for the scenario in which A custom prompt file does not appear in the IDE's picker.
Incorrect Answers
For the different scenario A migration prompt file contains sensitive production credentials copied from a draft, "Replace credentials with placeholders and specify safe input variables" could be appropriate. Reusable prompts can otherwise disclose the same secret on every invocation. The present requirement is A custom prompt file does not appear in the IDE's picker, which calls for "Verify filename, directory and IDE feature support". Prompt file discovery depends on supported formats and locations.
"Run the tests with CI or a command rather than treating instructions as execution" targets An engineer expects a Copilot instructions file to execute the repository test suite automatically. Instruction files guide response generation but cannot attest to real test results. That differs from A custom prompt file does not appear in the IDE's picker; the required decision here is "Verify filename, directory and IDE feature support". Prompt file discovery depends on supported formats and locations.
The action "Add file-path-specific instructions for migration files" is useful when Only migration scripts need an extra database rollback requirement. Scoped instructions avoid burdening unrelated code. Under the stated condition A custom prompt file does not appear in the IDE's picker, instead choose "Verify filename, directory and IDE feature support". Prompt file discovery depends on supported formats and locations.