Stage 2 of 10 · 6 lessons · ~1 week
Setup and project context
Install your tool in a real repository, write a short instructions file it loads every session, add scoped rules, keep secrets out of its reach and learn to point it at exactly the right files.
Start: Setting up Copilot in VS Code and the CLILessons· one lesson for each topic, in this order
Do this
- Install your tool and start it from the root of a real project.
- Draft the instructions file with the built-in command, then cut it to the lines that change behaviour.
- Add one scoped rule for a folder or file type and check it loads.
- Block .env and key files from the tool, and confirm .env is in .gitignore.
- Do one small task using precise file references instead of a description.
- Commit the instructions and rules so your future self and teammates get them.
Start with
- GitHub repoFreeGitHub Skills: Getting Started with GitHub Copilot
GitHub · Beginner
A free hands-on exercise in a browser Codespace, done in under an hour
Keep handy
Also worth your time
Before moving on: Copilot signed in on your project, a committed .github/copilot-instructions.md you have tested, one .instructions.md file with an applyTo pattern, secrets out of the repository, and a first task done with # context references.

Treat the instructions file like code: short, accurate and reviewed. Every time the tool makes the same mistake twice, add one line; every time a line stops mattering, delete it. And set up secret handling before the first session, not after the first leak.