Module · Copilot Engineer
Copilot Essentials
The instructions file, the custom modes and the command line client.
TOPIC 01
Repository Setup
The instructions every suggestion is measured against, and the modes you add for your team.
What you'll practice
- Write the Repository Instructions — guided · beginner
- Add a Custom Chat Mode — practice · intermediate
A command you'll meet
cat .github/copilot-instructions.mdThe instructions file is the difference between generic code and code that fits your project. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Write the Repository Instructions
Copilot reads one instruction file for the whole repository. Write it with the commands, the conventions and the things the assistant must never do.
Add a Custom Chat Mode
A custom mode gives the assistant a role and a toolset for one job. Write the mode your team uses for reviews.
TOPIC 02
The Command Line Client
The same assistant in your terminal and in the pipeline.
What you'll practice
- Use the CLI From a Script — practice · intermediate
- Review Before You Accept — challenge · advanced
A command you'll meet
cat ~/scripts/copilot-task.shA suggestion is a draft, not an answer. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Use the CLI From a Script
The command line client takes the same prompts as the editor. Write the script that asks for a suggestion and explains a piece of code.
Review Before You Accept
Accepting a suggestion is a review, and the rules for that review are the same as for any code. Write them down.