Rubber Duck Thursdays - Building from requirements with Agent Mode

Rubber Duck Thursdays - Building from requirements with Agent Mode

2025-05-15

In this stream, Chris walks through building a GitHub CLI extension in Go from scratch, taking a spec-driven and test-driven development approach powered by Copilot Agent Mode.

Topics Covered

  • GitHub Changelog Review — Model updates in GitHub Models (Mistral, Cohere, Llama), GPT-4.1 as the new default Copilot model, updated rate limits for unauthenticated requests, and the VS Code April release with MCP support and prompt files
  • Microsoft Build Preview — A look ahead at sessions and events for the following week
  • Building gh-demo from Scratch — Bootstrapping a new Go-based GitHub CLI extension using VS Code’s new workspace creation with Copilot, the Cobra library, and a spec-driven approach starting from a product requirements document
  • Test-Driven Development with Copilot — Writing tests first for a hydrate subcommand that reads JSON files to create GitHub issues, discussions, and pull requests, with content type filtering and label collection
  • GitHub Actions CI — Creating a build, test, and lint workflow for the new CLI extension
  • Custom Instructions — Setting up a copilot-instructions.md file to guide Copilot’s behavior around path handling and project conventions

Related Content

Rubber Duck Thursdays - Rock, Paper, Scissors

Rubber Duck Thursdays - Rock, Paper, Scissors

2025-02-20 GitHub

Building a Rock Paper Scissors game in Go for the gh-game GitHub CLI extension using GitHub Copilot Agent Mode. Explores the new GPT-4o code completion model, Next Edit Suggestions, and drives test coverage from 42% to 100% using Copilot inline chat and agent workflows.

Rubber Duck Thursdays - Building with Agent Mode and MCP

Rubber Duck Thursdays - Building with Agent Mode and MCP

2025-04-10 GitHub

Chris explains what Model Context Protocol (MCP) is and demos the new GitHub MCP server alongside Copilot Agent Mode in VS Code. The stream covers creating repos and issues through MCP tools, then builds a strategy visualization app from a screenshot using agent mode, vision, and the Playwright and sequential thinking MCP servers.

Rubber Duck Thursdays - Lizard, Spock

Rubber Duck Thursdays - Lizard, Spock

2025-02-27 GitHub

Extending Rock Paper Scissors to include Lizard and Spock using GitHub Copilot Vision to interpret a game diagram. Also covers Claude 3.7 Sonnet in Copilot, Dependabot version updates for Go modules, GitHub Codespaces for testing, and repository branch protection settings.