Lab 2 · Mona Mayhem — GitHub Copilot CLI
Duration: 60–90 minutes for the facilitated core; advanced deep dives are available if time permits. Level: Intermediate
Stack: Astro / Node.js / TypeScript
Build a retro arcade GitHub contribution comparison app — Mona Mayhem — while learning the full spectrum of GitHub Copilot workflows. This VS Live edition is the second hands-on lab and focuses on the GitHub Copilot CLI experience.
Workshop path
Section titled “Workshop path”Follow the CLI instructions throughout this edition. Parts 1–5 form the facilitated core; Parts 6–8 are advanced deep dives, and Part 9 is optional.
Starter
Section titled “Starter”git clone https://github.com/jamesmontemagno/workshop-mona-mayhem.gitcd workshop-mona-mayhemcode .The starter is on main; use git switch completed to inspect the finished battle arena.
📋 Quick Checklist
Section titled “📋 Quick Checklist”Before you begin, verify:
-
GitHub Copilot is enabled for your account
-
Node.js 22 or 24 installed
-
Git installed and configured
-
Visual Studio Code installed
-
Your browser and terminal are both ready
-
GitHub Copilot CLI installed and available as
copilot -
Authenticated in the CLI with
/login -
GPT-5.3 Codex selected with
/model(use Auto only if it is not available to your account) -
Comfortable using slash commands like
/help,/plan, and/review
Tip: The included Dev Container provides a pre-configured terminal environment if you prefer containers.
🧠 What You’ll Learn
Section titled “🧠 What You’ll Learn”| # | Skill | Description |
|---|---|---|
| 1 | Context Engineering | Teach Copilot about your codebase with instructions, references, and clear constraints |
| 2 | Plan First | Draft architecture before implementation |
| 3 | Agentic Implementation | Let Copilot carry out multi-step coding work with your supervision |
| 4 | Iterative Design | Use Copilot to transform visuals and refine interaction details |
| 5 | Parallel Workflows | Split work across agents, sessions, or delegated tasks |
| 6 | Specialized Agents & Instructions | Give Copilot personas and always-on, path-scoped project rules |
| 7 | Reusable Skills | Package expertise Copilot loads automatically when a prompt matches |
| 8 | Live Tools via MCP | Connect Copilot to GitHub, a real browser, and up-to-date docs |
Copilot CLI Feature Focus
Section titled “Copilot CLI Feature Focus”- Interactive CLI sessions with
copilot /planand Shift+Tab for structured planning- Autonomous edits with inline approvals and
/diff /fleet,/delegate, and/reviewfor parallelism and quality gates/agent,/skills, and/mcpfor custom agents, skills, and live tool servers
📚 Lab Parts
Section titled “📚 Lab Parts”| Part | Title | Description |
|---|---|---|
| 01 | Setup & Context Engineering | Open the included starter, prepare your environment, and give Copilot the right context |
| 02 | Plan & Scaffold | Design the API and page architecture before you implement |
| 03 | Build the Game | Wire up the battle page and contribution graphs with agentic help |
| 04 | Design-First Theming | Turn the scaffold into a retro arcade experience |
| 05 | Polish & Parallel Work | Use multi-agent workflows to improve UX, resilience, and quality |
| 06 | Specialized Agents & Instructions | Build custom agents and path-scoped instructions that carry your project’s expertise |
| 07 | Skills | Package reusable expertise Copilot loads automatically |
| 08 | MCP Servers | Connect Copilot to GitHub, a real browser, and live docs |
| 09 | Bonus & Extensions | Explore open-ended features, sharing workflows, and extra experiments |
💡 Pro Tips
Section titled “💡 Pro Tips”-
Keep the browser open — watch live updates as you code.
-
Commit often — save clean checkpoints while you iterate.
-
Refine the plan before implementation — better plans lead to better results.
-
Review Copilot’s changes — use the diff view or CLI review tools instead of accepting blindly.
-
Keep Copilot in scope — today’s agents are eager and can build several parts at once. Each part is intentionally incremental. If Copilot jumps ahead (for example, fully theming the app while you’re still scaffolding), undo and re-prompt with a tighter scope so each part lands as designed.
-
Use
/session,/context, and/share filewhen you want to inspect or preserve your work.