GitHub Copilot CLI
GitHub Copilot CLI puts GitHub Copilot in your terminal as an agentic coding assistant. It explores codebases, generates code, runs commands, and connects to external tools — all from the command line, so you can stay in the flow without switching to a graphical editor.
Across these exercises you’ll install and authenticate Copilot CLI, then give it project context with custom instructions before using plan mode to generate a feature deliberately. You’ll connect the Playwright MCP server to test that feature in a real browser, then extend Copilot with reusable agent skills and custom agents. Finally, you’ll explore slash commands for managing context, models, and sharing, and wrap up with a review of what you’ve built.
Exercises
Section titled “Exercises”| Exercise | Topic | Description |
|---|---|---|
| 0. Prerequisites | Setup | Create your repository and codespace |
| 1. Installing Copilot CLI | Installation | Install and authenticate Copilot CLI |
| 2. Custom instructions | Context | Add an instruction and see how Copilot CLI follows it |
| 3. Generating Code | Code Generation | Use plan mode and generate features |
| 4. Testing with Playwright MCP | External Tools | Add the Playwright MCP server and test your feature in a browser |
| 5. Agent Skills | Skills | Enhance Copilot with specialized skills |
| 6. Custom Agents | Agents | Review and use custom agents |
| 7. Slash Commands | CLI Features | Explore context, models, sharing, and optional delegation to cloud agent |
| 8. Review | Summary | Review key concepts and next steps |
Prerequisites
Section titled “Prerequisites”Before attending this workshop, please ensure you have:
- A GitHub account with an active Copilot Student, Pro, Pro+, Business, or Enterprise plan
- Basic familiarity with terminal/command line operations
- Git installed and configured