Question 260
A software team reports this Copilot-related situation: A task needs a repeatable test-generation instruction without changing repository-wide behavior. Which action most directly satisfies the requirement?
Explanation
Correct Answer
Prompt files can be invoked only for the relevant task. Acceptance evidence: The test prompt applies when invoked and ordinary tasks keep their normal instructions.
Incorrect Answers
Custom review instructions can focus feedback on local standards. That recommendation is relevant to a different task: A project wants Copilot to flag style violations using repository standards. In this case the main need is: A task needs a repeatable test-generation instruction without changing repository-wide behavior.
Scoped instructions target a subset of repository content. That recommendation is relevant to a different task: A Java repository needs instructions only for files inside a specific source directory. In this case the main need is: A task needs a repeatable test-generation instruction without changing repository-wide behavior.
Repository instructions provide coding context across supported Copilot workflows. That recommendation is relevant to a different task: A team wants consistent naming and test conventions during repository-local coding assistance. In this case the main need is: A task needs a repeatable test-generation instruction without changing repository-wide behavior.