🔥 3-day streak
GitHub Copilot187 / 190
Question 187 of 190
A developer opens a new, empty file and writes a single comment: `// parse a date string and return it`. Copilot suggests a function, but it returns a Date object when the team's convention is to return an ISO 8601 string, and it throws on invalid input instead of returning null. Following prompt-engineering best practices, what is the most effective first adjustment to the prompt to steer Copilot correctly without switching to a few-shot approach?
Reviewed for accuracy · Report an issueNext question