

Harness Engineering with GitHub Copilot
GitHub Copilot writes code fast. Making that code meet your team's standards, pass your tests, and survive production is a different job. That job is harness engineering: designing everything around the AI model, so its output is code you can trust. In GitHub Copilot, the harness is your custom instructions, prompt files, custom agents, and tests.
About this workshop
Most AI-for-developers training stops at code generation. This hands-on lab follows one feature through its whole life: build, ship, break, diagnose, fix. The feature you build in the first half becomes the production incident you debug in the second.
Microsoft architect Albert Tanure builds a complete GitHub Copilot harness inside a real repository. You use it to implement an "Express orders" feature from a spec, with tests, structured logging, and a review by a custom "SRE reviewer" agent.
Then the feature ships to Azure Kubernetes Service (AKS), and Albert breaks it three ways:
A new version gets OOMKilled
Every dashboard stays green while orders fail
A database failure cascades through the system
You will see Azure SRE Agent trace each failure back to the code. Then you decide which fixes an agent may apply alone and which need a human. You leave with the full lab and a harness template you can drop into your own repo the next day.
By the end of the workshop, you will be able to
Build a GitHub Copilot harness from custom instructions, prompt files, and custom agents that enforces your team's standards
Create a custom reviewer agent that checks Copilot's work before it ships
Turn a written spec into a working feature with tests and structured logging, without rewriting Copilot's output by hand
Deploy a containerized service to AKS and verify it in Log Analytics and Grafana
Use Azure SRE Agent for root cause analysis, tracing production failures to the responsible code
Decide which actions agents may take alone and which need human approval, and keep agent costs under control
Who this is for
Developers already using GitHub Copilot who want consistent, reviewable output
Tech leads and engineering managers rolling Copilot out across a team
Platform engineers and SREs who want AI to help with incident response
Teams that want shared standards for AI-generated code, not individual prompting habits
Anyone who has seen Copilot write code that looked right but failed in review or production
Prerequisites
A GitHub account with Copilot access
Basic familiarity with Git and containers
An Azure subscription is optional: everything is in the public repo for you to replay later
Workshop flow
Set up: the build, ship, operate model. The app and Azure environment, deployed with one command.
Build the harness: harness engineering for GitHub Copilot. Why unguided AI code fails in real repositories. Repository-wide and path-specific custom instructions, prompt files, and custom agents. Build an "SRE reviewer" agent and refine the spec.
Put it to work: implement a feature with AI. "Express orders" from spec in Copilot agent mode. Tests, structured logging, SRE review, then push.
Ship: deploy to Azure. Container image in Azure Container Registry, deployed to AKS. Verify live, then read Log Analytics and Grafana.
Break it: live incidents with Azure SRE Agent. OOMKilled, all green but orders fail, and a cascading database failure, each traced to its root cause.
Make it yours: take it to your team. Harness template walkthrough, runbooks, health checks, automation vs. human approval, and cost control.
Live Q&A with Albert. Bring questions about your own services, or ask in the chat at any point.
You leave with
A reusable GitHub Copilot harness template for your own repo
The custom "SRE reviewer" agent
A public GitHub repo with the full lab, infrastructure, and three break scenarios
Runbook and prompt examples for Azure SRE Agent
A checklist for adapting the workflow to your own services
Recording, replay guide, and certificate of completion