Build Your Own AI-Powered Workflow with GitHub Copilot
Choose a use case. Design your own agents, prompts, skills, and MCP server configuration. Execute your workflow and deliver results.
Your team will build a custom agentic workflow from scratch using GitHub Copilot's extensibility features:
- Custom Agents (
.github/agents/) — specialized AI roles with specific tools and handoffs - Reusable Prompts (
.github/prompts/) — sequential workflow steps your agents execute - Skills (
.github/skills/) — domain knowledge packages for your agents - MCP Servers (
.vscode/mcp.json) — tool integrations (Azure, Playwright, docs, etc.)
You decide what agents you need, what each one does, how they hand off to each other, and what prompts drive the workflow. Then you execute it and deliver the output.
| Use Case 1: IaC | Use Case 2: Discovery | Use Case 3: Spec-Driven | |
|---|---|---|---|
| Type | Greenfield IaC | Brownfield Assessment | Greenfield Application |
| Goal | Deploy Azure infrastructure from scratch | Discover & assess a live Azure environment | Build a web app from specifications |
| You Build | Agents + prompts for an IaC pipeline | Agents + prompts for a discovery pipeline | Agents + prompts for a spec-driven pipeline |
| Output | Bicep modules + deployed resources | Assessment reports + Mermaid diagrams | Working app + Playwright tests |
| Guide | Use Case 1 Guide | Use Case 2 Guide | Use Case 3 Guide |
- Azure Subscription with Contributor access
- GitHub Copilot license (Business or Enterprise recommended)
- VS Code (or Codespaces) with GitHub Copilot & Copilot Chat
- Azure CLI with Bicep installed
Tip: Open this repo in GitHub Codespaces — the devcontainer pre-installs all tools automatically!
Before starting any exercise, log in to Azure using the credentials provided by the hackathon coaches:
az loginAfter logging in, verify you are on the correct subscription:
az account show --query "{name:name, id:id, tenantId:tenantId}" -o tableImportant: Confirm with the hackathon coaches that the displayed subscription and tenant are correct before proceeding.
git clone https://github.com/pascalvanderheiden/code-under-construction-hackathon.git
cd code-under-construction-hackathonOpen in VS Code or Codespaces. The devcontainer will install all required tools.
Choose one use case and follow its step-by-step participant guide:
- Use Case 1: Infrastructure as Code — Build Azure infra with Bicep
- Use Case 2: Agentic Discovery — Discover & assess a live Azure environment
- Use Case 3: Spec-Driven Development — Build a web app from specs
Each guide walks you through:
- Define your goal — What exactly are you building or discovering?
- Choose your tools — Which MCP servers, skills, and extensions do you need?
- Design your agents — What roles do you need? How do they hand off?
- Write your prompts — One prompt per workflow step, executed in order
- Execute & iterate — Run your prompts, verify output, refine
- Verify & present — Demo your workflow and results
Don't want to build your own agentic template? Each use case has a sample walkthrough that walks you step-by-step through executing the pre-built agents and prompts:
If you're building your own template and get stuck, this repo includes reference examples — agents, prompts, skills, and MCP configuration. Browse them for inspiration, but build your own!
These MCP servers are pre-configured in .vscode/mcp.json and ready to use in your agents:
| Server | Purpose | Useful For |
|---|---|---|
| Azure MCP | Azure resource management, discovery, deployment | All use cases |
| Learn MCP | Microsoft documentation, WAF/CAF references | Use Cases 1 & 2 |
| Playwright MCP | Browser automation and E2E testing | Use Case 3 |
The Bicep MCP is auto-enabled by the
ms-azuretools.vscode-bicepextension — no manual configuration needed.
You can add more MCP servers to .vscode/mcp.json as needed for your workflow.
This repo includes a complete set of example agents, prompts, and skills that demonstrate one way to solve each use case. These are NOT mandatory — they exist so you can peek at them when stuck.
| Agent | Role | Use Case |
|---|---|---|
architect |
Architecture designer | IaC |
reviewer |
WAF/CAF reviewer & assessor | IaC, Discovery |
planner |
Development task planner | IaC |
implementer |
Bicep code writer | IaC |
tester |
Infrastructure validator | IaC |
documenter |
Documentation generator | IaC |
deployer |
Azure deployer | IaC, Spec-Driven |
discoverer |
Azure environment scanner | Discovery |
reporter |
Report & diagram writer | Discovery |
migration-planner |
PaaS migration planner | Discovery |
spec-coach |
Spec-driven methodology coach | Spec-Driven |
| Workflow | Prompts |
|---|---|
| IaC | iac-1-architect → iac-2-review → iac-3-plan → iac-4-implement → iac-5-test → iac-6-document → iac-7-deploy |
| Discovery | disc-1-discover → disc-2-assess → disc-3-report → disc-4-migration → disc-5-full-pipeline |
| Spec-Driven | spec-1-brainstorm → spec-2-setup → Spec Kit/OpenSpec commands |
These instruction files auto-activate when you create or edit agents, prompts, skills, or instructions — giving Copilot real-time guidance on how to write them correctly:
| File | Auto-Activates On | What It Does |
|---|---|---|
agents.instructions.md |
**/*.agent.md |
Guides you through agent frontmatter, tools, handoffs, and best practices |
prompt.instructions.md |
**/*.prompt.md |
Guides you through prompt structure, frontmatter, inputs, and output definitions |
agent-skills.instructions.md |
**/.github/skills/**/SKILL.md |
Guides you through skill creation, descriptions, and resource bundling |
instructions.instructions.md |
**/*.instructions.md |
Guides you through writing custom instruction files |
Pro tip: Just start creating a file (e.g.,
.github/agents/my-agent.agent.md) and Copilot will automatically load the matching guidelines!
| Skill | Purpose |
|---|---|
find-skills |
Discover and install additional skills |
update-avm-modules-in-bicep |
Keep AVM module versions current |
terraform-style-guide |
Terraform HCL standards |
spec-driven-guide |
Spec-driven methodology reference |
Sample Walkthroughs (docs/sample/)
Step-by-step guides that execute the pre-built agentic template — for teams who want to follow along rather than build from scratch:
| Walkthrough | Use Case | What You'll Do |
|---|---|---|
| IaC Walkthrough | Use Case 1 | Run all 9 IaC prompts end-to-end: architect → review → plan → implement → test → document → deploy |
| Discovery Walkthrough | Use Case 2 | Run all 5 discovery prompts: discover → assess → report → migration plan |
| Spec-Driven Walkthrough | Use Case 3 | Run all 6 spec-driven prompts: brainstorm → setup → specify → implement → test → deploy |
.
├── .devcontainer/
│ └── devcontainer.json # Dev environment (Codespaces-ready)
├── .github/
│ ├── agents/ # 📖 Example agents (reference)
│ ├── instructions/ # 🤖 Auto-activating Copilot guidelines
│ ├── skills/ # 📖 Example skills (reference)
│ ├── prompts/ # 📖 Example prompts (reference)
│ └── copilot-instructions.md # Workspace-wide Copilot context
├── .vscode/
│ └── mcp.json # MCP server configuration
├── docs/
│ ├── use-case-iac.md # Use Case 1 participant guide
│ ├── use-case-discovery.md # Use Case 2 participant guide
│ ├── use-case-spec-driven.md # Use Case 3 participant guide
│ ├── images/
│ └── sample/ # 📖 Step-by-step walkthroughs & examples
├── LICENSE
└── README.md
- Pick ONE use case — Focus your team's energy on one path
- Build your own agents — Don't just use the examples; create agents tailored to your workflow
- Start simple — One agent, one prompt, get it working, then expand
- Number your prompts — Sequential numbering makes the workflow easy to follow
- Use Codespaces — Everything is pre-configured, no local setup needed
- Test each step — Verify agent output before moving to the next prompt
- Peek at examples when stuck — The reference agents, prompts, and samples are there to help
- Be creative — There's no single right answer; design the workflow your way
Built for the Code Under Construction Hackathon
