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¶
Use GitHub Copilot through one loop: define behavior, inspect the suggestion, run focused tests, and decide. You complete a small Python utility module, settle an ambiguous text rule, and review a follow-up rename.
You need GitHub Copilot and Python 3.10 or later.
Learning outcomes¶
- Explain why generated code needs tests and review.
- Accept, revise, or reject an inline suggestion against the tests.
- Review a predicted follow-up edit and search for missed references.
Materials¶
| Resource | Location |
|---|---|
| Trainer guide | trainer-content/ |
| Slides | slides.md |
| Lab | lab/ |
| Starter project | lab/starter/ |
| Reference result | lab/solution/ |