CommencerCommencer gratuitement

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?

Cet exercice fait partie du cours

Software Development with GitHub Copilot

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice