Take a beginner-friendly, hands-on tour of GitHub Copilot CLI. You will build a colorful Space Quiz from an empty folder and learn the terminal-first loop: build and review diffs before Git writes anything, run sessions side by side, plan before you edit, then create and merge the pull request without leaving your shell.
The workshop takes approximately 60 to 90 minutes. Your project uses a single HTML file with no runtime dependencies, so you can focus on learning the CLI and its agentic workflows.
Lessons
| Lesson | Topic | What you will do |
|---|---|---|
| 0. Prerequisites and setup | Setup | Verify prerequisites, install Copilot CLI, sign in, and choose a model |
| 1. Build the quiz | Build | Build the quiz from the terminal and make one focused change |
| 2. Capture project instructions | Instructions | Generate and tailor agent instructions with /init |
| 3. Publish the project | Publish | Initialize, commit, and publish by prompt or by hand |
| 4. Work on issues in parallel | Implement | Create a backlog, add an issue to chat, review with /diff, and start a second session in a worktree |
| 5. Plan before you edit | Plan | Use /plan to agree on an approach for the second issue |
| 6. Know what the agent can see | Context | Inspect and reset context with /context and /clear |
| 7. Resume and go remote | Resume | Leave and return to sessions with /resume, and optionally follow a local session from another device with /remote |
| 8. Create, review, and merge | Review | Create and merge a pull request with /pr create and /pr agentmerge |
| 9. Delegate work | Delegate | Hand a new feature to /delegate and follow a cloud session |
| 10. Review and next steps | Review | Recap the workflow and continue learning |