Skip to content

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.


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.


Terminal window
git clone https://github.com/jamesmontemagno/workshop-mona-mayhem.git
cd workshop-mona-mayhem
code .

The starter is on main; use git switch completed to inspect the finished battle arena.


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.


#SkillDescription
1Context EngineeringTeach Copilot about your codebase with instructions, references, and clear constraints
2Plan FirstDraft architecture before implementation
3Agentic ImplementationLet Copilot carry out multi-step coding work with your supervision
4Iterative DesignUse Copilot to transform visuals and refine interaction details
5Parallel WorkflowsSplit work across agents, sessions, or delegated tasks
6Specialized Agents & InstructionsGive Copilot personas and always-on, path-scoped project rules
7Reusable SkillsPackage expertise Copilot loads automatically when a prompt matches
8Live Tools via MCPConnect Copilot to GitHub, a real browser, and up-to-date docs
  • Interactive CLI sessions with copilot
  • /plan and Shift+Tab for structured planning
  • Autonomous edits with inline approvals and /diff
  • /fleet, /delegate, and /review for parallelism and quality gates
  • /agent, /skills, and /mcp for custom agents, skills, and live tool servers

PartTitleDescription
01Setup & Context EngineeringOpen the included starter, prepare your environment, and give Copilot the right context
02Plan & ScaffoldDesign the API and page architecture before you implement
03Build the GameWire up the battle page and contribution graphs with agentic help
04Design-First ThemingTurn the scaffold into a retro arcade experience
05Polish & Parallel WorkUse multi-agent workflows to improve UX, resilience, and quality
06Specialized Agents & InstructionsBuild custom agents and path-scoped instructions that carry your project’s expertise
07SkillsPackage reusable expertise Copilot loads automatically
08MCP ServersConnect Copilot to GitHub, a real browser, and live docs
09Bonus & ExtensionsExplore open-ended features, sharing workflows, and extra experiments

  1. Keep the browser open — watch live updates as you code.

  2. Commit often — save clean checkpoints while you iterate.

  3. Refine the plan before implementation — better plans lead to better results.

  4. Review Copilot’s changes — use the diff view or CLI review tools instead of accepting blindly.

  5. 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.

  6. Use /session, /context, and /share file when you want to inspect or preserve your work.

Reset all workshop progress?

This clears completed lessons and checked task items stored in this browser. This action cannot be undone.