Question 390
A maintainer using GitHub Copilot finds, the following condition is confirmed: A newcomer asks how a local test target is invoked. Which approach is the most defensible?
Explanation
Correct Answer
Select the action "Ask Copilot to inspect package scripts or build files". Repository-specific commands are better learned from actual configuration. It is the specific match for the scenario in which A newcomer asks how a local test target is invoked.
Incorrect Answers
For the different scenario A developer often consults API docs during routine implementation, "Provide relevant API references in the prompt or repository context" could be appropriate. Grounded context can reduce repeated external lookups. The present requirement is A newcomer asks how a local test target is invoked, which calls for "Ask Copilot to inspect package scripts or build files". Repository-specific commands are better learned from actual configuration.
The action "Ask Copilot to locate callers and explain relevant module structure" is useful when A developer must understand unfamiliar repository navigation to fix one bug. Guided codebase exploration reduces manual search overhead. Under the stated condition A newcomer asks how a local test target is invoked, instead choose "Ask Copilot to inspect package scripts or build files". Repository-specific commands are better learned from actual configuration.
The alternative "Produce a structured template populated from verified evidence" fits another situation: A team spends time drafting repetitive issue reproduction steps. Consistent summaries speed triage without inventing observations. Here the condition is A newcomer asks how a local test target is invoked; use "Ask Copilot to inspect package scripts or build files" instead. Repository-specific commands are better learned from actual configuration.