Session M1-01: Introduction to GitHub Copilot¶
Module: Copilot Fundamentals
Difficulty: Beginner
Prerequisites: None
Duration: 3 hours (1 hour trainer content, 2 hours lab)
Overview¶
Learn to use GitHub Copilot through one engineering loop: define behavior, inspect a proposal, run focused checks, and decide whether to accept the change. You will complete a small Python utility module, resolve an ambiguous text rule, then review a follow-up rename.
The session uses synthetic data and standard-library tests. You need GitHub Copilot and Python 3.10 or later.
Learning outcomes¶
- Explain why generated output needs tests and review.
- Check access, data, repository scope, and any usage limit before use.
- Accept, revise, or reject an inline suggestion against the tests.
- Review a predicted follow-up edit and search for missed references.
Required access¶
If GitHub Copilot or Python is unavailable, stop the lab.
Materials¶
| Resource | Location |
|---|---|
| Trainer guide | trainer-content/ |
| Slides | slides.md |
| Lab | lab/ |
| Starter project | lab/starter/ |
| Reference result | lab/solution/ |