🚀 GitHub Copilot Hackathon Challenge
Welcome to the GitHub Copilot Hackathon!
This challenge will guide you through the latest Copilot features — from Ask and Edit modes to MCP-powered issues, Copilot Coding Agent, and AI PR reviews.
You’ll work inside your own repository, experimenting freely and discovering how Copilot transforms your workflow.
🧭 Phase 1 – Setup & Preparation
Goal: Get your environment and repository ready for Copilot experimentation.
🔹 1️⃣ Find or fork a project
⚠️ Copilot never commits code without your consent, but keep your hackathon work isolated.
🔹 2️⃣ Ensure GitHub Copilot is enabled
📘 Documentation:
💡 You don’t need three separate installs — Copilot Chat and Edits are included in most IDE integrations.
Just verify both completions and chat are visible in your IDE.
🔹 3️⃣ Configure the GitHub MCP server
We’ll use Copilot MCP to let Copilot Chat access your repo and issues.
📘 Learn more:
Understanding MCP and connecting Copilot to external resources
💬 Phase 2 – Exploring Copilot Chat Modes
Goal: Learn how Copilot helps you explore, understand, and reason about your code.
🔹 4️⃣ Explore your code using Ask mode
Pick a file or function you don’t know well and experiment freely with Copilot Chat.
Try questions like:
💡 Be curious! Ask follow-ups. Ask why. Modify prompts.
Try Ask, Explain, Generate, and Edit modes to see how each behaves.
📘 Use Copilot Chat to understand code
🔹 5️⃣ Generate a copilot_instructions.md file
Copilot can generate project setup and context notes automatically — this file helps Copilot understand your project and coding style better.
💡 Why we’re doing this
The copilot_instructions.md file acts as a knowledge source for Copilot.
It summarizes:
- How the project is structured
- How to build and run it
- Key dependencies, conventions, and folders
When this file exists, Copilot can use it to reason more effectively about your codebase — for example, it can:
- Give more accurate answers when you ask questions about the project.
- Provide better suggestions for refactoring, debugging, and tests.
- Maintain consistent terminology and architecture decisions in its output.
Think of it as giving Copilot a “project briefing document”.
🧭 Steps
Once it’s created, open the file and read what Copilot generated.
You can edit and expand this file — Copilot will use any updates in future conversations.
📘 Documentation:
Generate project instructions with Copilot
🧩 Phase 3 – Working with Issues via MCP
Goal: Use Copilot’s MCP connection to explore, understand, and create issues.
🔹 6️⃣ Explore and discuss issues (via MCP)
Now that the github-remote MCP server is configured:
📘 Using GitHub Copilot in Issues
🔹 7️⃣ Analyze code relevant to an issue
Examples:
“Show me where this issue might occur in the code.”
“Explain how this module works.”
“What might cause this behavior?”
🔹 8️⃣ Generate a new issue
Once you’ve discussed a potential change, ask Copilot Chat to create a new issue.
Let Copilot generate the issue content directly.
🔹 9️⃣ Assign the new issue to Copilot Coding Agent
You can do this in two ways:
Observe how the Coding Agent interprets and plans the task.
📘 Copilot Coding Agent overview
🧮 Phase 4 – Reviewing and Reflection
Goal: Use Copilot to review and reason about existing work.
🔹 🔟 Request a Copilot code review (on GitHub.com)
Copilot will analyze the diff and comment directly on the PR.
⚠️ This action updates the PR with Copilot’s review comments.
💡 Alternative: If you prefer, create a duplicate PR (from your hackathon branch) and assign Copilot there — this preserves the original untouched.
📘 Using Copilot for Pull Request reviews
🧠 Optional – Share Your Insights
✅ Completion Checklist
| Step |
Description |
Done |
| 1 |
Fork / create project branch |
☐ |
| 2 |
Enable Copilot and Chat |
☐ |
| 3 |
Add .vscode/mcp.json (in branch) |
☐ |
| 4 |
Explore Ask mode + models |
☐ |
| 5 |
Generate copilot_instructions.md |
☐ |
| 6–9 |
Work with issues & Coding Agent |
☐ |
| 10 |
Assign PR to Copilot for review |
☐ |
| ✨ |
Share insights |
☐ |
Happy hacking and exploring Copilot! 🎉
🚀 GitHub Copilot Hackathon Challenge
https://github.com/Jfhelin/hack
Welcome to the GitHub Copilot Hackathon!
This challenge will guide you through the latest Copilot features — from Ask and Edit modes to MCP-powered issues, Copilot Coding Agent, and AI PR reviews.
You’ll work inside your own repository, experimenting freely and discovering how Copilot transforms your workflow.
🧭 Phase 1 – Setup & Preparation
Goal: Get your environment and repository ready for Copilot experimentation.
🔹 1️⃣ Find or fork a project
Pick a repository you’re comfortable working in — any language works.
You can:
Copy the markdown of this issue into your own issue in your working repo so that you can modify it.
Create a new branch, e.g.
copilot-hackathon.Keep all experiments in this branch — do not modify your
main.🔹 2️⃣ Ensure GitHub Copilot is enabled
📘 Documentation:
🔹 3️⃣ Configure the GitHub MCP server
We’ll use Copilot MCP to let Copilot Chat access your repo and issues.
.vscodeif it doesn’t exist.mcp.json..vscode/mcp.json.📘 Learn more:
Understanding MCP and connecting Copilot to external resources
💬 Phase 2 – Exploring Copilot Chat Modes
Goal: Learn how Copilot helps you explore, understand, and reason about your code.
🔹 4️⃣ Explore your code using Ask mode
Pick a file or function you don’t know well and experiment freely with Copilot Chat.
Try questions like:
💡 Be curious! Ask follow-ups. Ask why. Modify prompts.
Try Ask, Explain, Generate, and Edit modes to see how each behaves.
GPT-5,Claud Sonnet 4.5,Claud Haiku 4.5) and compare reasoning quality.📘 Use Copilot Chat to understand code
🔹 5️⃣ Generate a
copilot_instructions.mdfileCopilot can generate project setup and context notes automatically — this file helps Copilot understand your project and coding style better.
💡 Why we’re doing this
The
copilot_instructions.mdfile acts as a knowledge source for Copilot.It summarizes:
When this file exists, Copilot can use it to reason more effectively about your codebase — for example, it can:
Think of it as giving Copilot a “project briefing document”.
🧭 Steps
Ctrl/Cmd + Shift + P)copilot_instructions.mdOnce it’s created, open the file and read what Copilot generated.
You can edit and expand this file — Copilot will use any updates in future conversations.
📘 Documentation:
Generate project instructions with Copilot
🧩 Phase 3 – Working with Issues via MCP
Goal: Use Copilot’s MCP connection to explore, understand, and create issues.
🔹 6️⃣ Explore and discuss issues (via MCP)
Now that the
github-remoteMCP server is configured:Examples:
📘 Using GitHub Copilot in Issues
🔹 7️⃣ Analyze code relevant to an issue
Examples:
🔹 8️⃣ Generate a new issue
Once you’ve discussed a potential change, ask Copilot Chat to create a new issue.
Let Copilot generate the issue content directly.
🔹 9️⃣ Assign the new issue to Copilot Coding Agent
You can do this in two ways:
Observe how the Coding Agent interprets and plans the task.
📘 Copilot Coding Agent overview
🧮 Phase 4 – Reviewing and Reflection
Goal: Use Copilot to review and reason about existing work.
🔹 🔟 Request a Copilot code review (on GitHub.com)
Copilot will analyze the diff and comment directly on the PR.
📘 Using Copilot for Pull Request reviews
🧠 Optional – Share Your Insights
✅ Completion Checklist
.vscode/mcp.json(in branch)copilot_instructions.mdHappy hacking and exploring Copilot! 🎉