Productivity
Domain 5 · 10–15% of the GH-300 exam
Use Copilot for the everyday work: write, refactor and document code, learn an unfamiliar codebase, generate sample data, modernize legacy code, write unit and integration tests with real edge cases, and spot security and performance problems.
Start the first lesson ❯ 4 of 4 lessons ready
Lessons in this module
- 1 Generate, Refactor and Document Code Use GitHub Copilot to write code from comments, refactor in Edit mode with a reviewed diff, add docs with /doc, and learn new code without leaving your editor.
- 2 Sample Data and Modernizing Legacy Code Use GitHub Copilot to create clearly fake test data, explain old code before touching it, and modernize legacy code in small, tested steps with the same output.
- 3 Unit Tests, Integration Tests and Edge Cases Generate unit and integration tests with GitHub Copilot, name the edge cases that matter, write strong assertions, and treat a failing test as a clue.
- 4 Security Improvements and Performance Fixes Use GitHub Copilot Chat to find SQL injection, hard-coded secrets and N+1 queries, ask for fixes, and back every change with tests and code scanning.
Hands-On Labs
Guided labs in a practice terminal with GitHub Copilot CLI, git and gh. No GitHub account, nothing to pay, and your progress stays in this browser.