Session 06 — Copilot Spaces & Context Management¶
Module: Copilot in Practice Difficulty: Intermediate Prerequisites: Sessions 01–03 Duration: 3 hours (1 hr trainer content + 2 hr lab)
Overview¶
Give Copilot the context a task needs. This session covers Copilot Spaces, custom instructions, reusable prompt files, Copilot Memory, and VS Code instruction settings.
Learning Outcomes¶
- Create Copilot Spaces for team workflows
- Write project-level and user-level custom instructions
- Create reusable prompt files for team standards
- Explain how instructions, Spaces, and Memory work together
- Review and update context as a project changes
Session Materials¶
| Resource | Location |
|---|---|
| Lab exercises | lab/ |
| Lab starter files | lab/starter/ |
| Lab solution files | lab/solution/ |
Key Topics¶
- Copilot Spaces: selected context sources
.github/copilot-instructions.md— project-level instructions.github/prompts/*.md— reusable prompt files- VS Code instruction settings
- Context selection as a policy-approved workflow
- Before/after context comparison