Typed, documented, and on brand
You're extending a task manager app and want to add a utility function that returns the number of completed tasks. You've already set up a copilot-instructions.md file with your team's coding standards.
Then, you type the prompt:
"Write a function that returns the total number of completed tasks."
The image shows the function Copilot generated.
Which custom instruction most likely influenced the way the function was written?
Este exercício faz parte do curso
Software Development with GitHub Copilot
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
 Começar o exercício
Começar o exercício