Skip to content

Repository files navigation

Code Under Construction - Hackathon

Hackathon Logo

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.


The Challenge

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.


Choose Your Use Case

Use Case 1: IaCUse Case 2: DiscoveryUse Case 3: Spec-Driven
TypeGreenfield IaCBrownfield AssessmentGreenfield Application
GoalDeploy Azure infrastructure from scratchDiscover & assess a live Azure environmentBuild a web app from specifications
You BuildAgents + prompts for an IaC pipelineAgents + prompts for a discovery pipelineAgents + prompts for a spec-driven pipeline
OutputBicep modules + deployed resourcesAssessment reports + Mermaid diagramsWorking app + Playwright tests
GuideUse Case 1 GuideUse Case 2 GuideUse Case 3 Guide

Prerequisites

  • 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!

Azure Login (Required Before Exercises)

Before starting any exercise, log in to Azure using the credentials provided by the hackathon coaches:

az login

After logging in, verify you are on the correct subscription:

az account show --query "{name:name, id:id, tenantId:tenantId}" -o table

Important: Confirm with the hackathon coaches that the displayed subscription and tenant are correct before proceeding.


Quick Start

1. Clone and Open

git clone https://github.com/pascalvanderheiden/code-under-construction-hackathon.git
cd code-under-construction-hackathon

Open in VS Code or Codespaces. The devcontainer will install all required tools.

2. Pick Your Use Case

Choose one use case and follow its step-by-step participant guide:

3. Build Your Agentic Workflow

Each guide walks you through:

  1. Define your goal — What exactly are you building or discovering?
  2. Choose your tools — Which MCP servers, skills, and extensions do you need?
  3. Design your agents — What roles do you need? How do they hand off?
  4. Write your prompts — One prompt per workflow step, executed in order
  5. Execute & iterate — Run your prompts, verify output, refine
  6. Verify & present — Demo your workflow and results

4. Or Follow the Pre-Built Walkthrough

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:

5. Get Unstuck

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!


Available MCP Servers

These MCP servers are pre-configured in .vscode/mcp.json and ready to use in your agents:

ServerPurposeUseful For
Azure MCPAzure resource management, discovery, deploymentAll use cases
Learn MCPMicrosoft documentation, WAF/CAF referencesUse Cases 1 & 2
Playwright MCPBrowser automation and E2E testingUse Case 3

The Bicep MCP is auto-enabled by the ms-azuretools.vscode-bicep extension — no manual configuration needed.

You can add more MCP servers to .vscode/mcp.json as needed for your workflow.


Reference Examples

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.

Example Agents (.github/agents/)

AgentRoleUse Case
architectArchitecture designerIaC
reviewerWAF/CAF reviewer & assessorIaC, Discovery
plannerDevelopment task plannerIaC
implementerBicep code writerIaC
testerInfrastructure validatorIaC
documenterDocumentation generatorIaC
deployerAzure deployerIaC, Spec-Driven
discovererAzure environment scannerDiscovery
reporterReport & diagram writerDiscovery
migration-plannerPaaS migration plannerDiscovery
spec-coachSpec-driven methodology coachSpec-Driven

Example Prompts (.github/prompts/)

WorkflowPrompts
IaCiac-1-architectiac-2-reviewiac-3-planiac-4-implementiac-5-testiac-6-documentiac-7-deploy
Discoverydisc-1-discoverdisc-2-assessdisc-3-reportdisc-4-migrationdisc-5-full-pipeline
Spec-Drivenspec-1-brainstormspec-2-setup → Spec Kit/OpenSpec commands

Copilot Instruction Files (.github/instructions/)

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:

FileAuto-Activates OnWhat It Does
agents.instructions.md**/*.agent.mdGuides you through agent frontmatter, tools, handoffs, and best practices
prompt.instructions.md**/*.prompt.mdGuides you through prompt structure, frontmatter, inputs, and output definitions
agent-skills.instructions.md**/.github/skills/**/SKILL.mdGuides you through skill creation, descriptions, and resource bundling
instructions.instructions.md**/*.instructions.mdGuides 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!

Example Skills (.github/skills/)

SkillPurpose
find-skillsDiscover and install additional skills
update-avm-modules-in-bicepKeep AVM module versions current
terraform-style-guideTerraform HCL standards
spec-driven-guideSpec-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:

WalkthroughUse CaseWhat You'll Do
IaC WalkthroughUse Case 1Run all 9 IaC prompts end-to-end: architect → review → plan → implement → test → document → deploy
Discovery WalkthroughUse Case 2Run all 5 discovery prompts: discover → assess → report → migration plan
Spec-Driven WalkthroughUse Case 3Run all 6 spec-driven prompts: brainstorm → setup → specify → implement → test → deploy

Project Structure

.
├── .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

Tips for Hackathon Teams

  1. Pick ONE use case — Focus your team's energy on one path
  2. Build your own agents — Don't just use the examples; create agents tailored to your workflow
  3. Start simple — One agent, one prompt, get it working, then expand
  4. Number your prompts — Sequential numbering makes the workflow easy to follow
  5. Use Codespaces — Everything is pre-configured, no local setup needed
  6. Test each step — Verify agent output before moving to the next prompt
  7. Peek at examples when stuck — The reference agents, prompts, and samples are there to help
  8. Be creative — There's no single right answer; design the workflow your way

License

MIT


Built for the Code Under Construction Hackathon

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages