Get startedGet started for free

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?

This exercise is part of the course

Software Development with GitHub Copilot

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise