💡 This repository is designed to support engineers and trainers in delivering GitHub Copilot Intermediate Training demonstrations. The exercises included here aim to illustrate real-world scenarios where Copilot and Copilot Chat can significantly improve development workflows.
Whether you're a trainer facilitating this session or an engineer participating in the training, this repository provides the materials and guidance needed to effectively engage with Copilot and Copilot Chat.
GitHub Copilot is a powerful tool that can streamline your coding process, offering context-aware code suggestions and interactive assistance through Copilot Chat. However, its true potential lies in how effectively you can interact with and guide it.
This repository covers:
- Real-world scenarios to showcase Copilot’s and Copilot Chat’s strengths.
- Hands-on demos focused on Repository Analysis, Enhancement Recommendations, and Level of Effort (LOE) Estimations.
- Tips for trainers to facilitate meaningful and impactful demonstrations.
The repository is divided into individual exercises that highlight specific use cases for Copilot and Copilot Chat, providing participants with an immersive and practical learning experience.
By the end of this training, participants will:
- Gain a deeper understanding of GitHub Copilot and Copilot Chat workflows.
- Explore the power of prompt engineering to guide Copilot effectively.
- Learn how to evaluate codebases, enhance functionality, and estimate development effort.
- Build confidence in leveraging Copilot for complex, real-world tasks.
For trainers, this repository offers structured guidance to deliver engaging demonstrations that showcase Copilot’s impact.
This repository contains two detailed demonstrations, each with its own README file:
- Objective: Leverage Copilot and Copilot Chat to analyze the VS Code repository, enhance its logging mechanisms, and estimate the Level of Effort (LOE) for proposed improvements.
- Key Focus Areas: Repository Analysis with @workspace, logging enhancements, and LOE estimation.
- Objective: Implement a utility function, generate unit tests, and refactor code using GitHub Copilot’s AI-driven suggestions.
- Key Focus Areas: Writing new functionality, creating robust tests, and improving code readability through refactoring.
To get started, ensure you have the following:
- GitHub Account: Required for accessing repositories and enabling Copilot.
- Visual Studio Code: Your IDE of choice for this workshop.
- GitHub Copilot & Copilot Chat Extensions: Installed and enabled in VS Code.
- Familiarity with basic development workflows, including GitHub and VS Code.
- Clone this repository:
git clone https://github.com/your-organization/copilot-intermediate-training.git cd copilot-intermediate-training
- Review the README for each demo to get started:
- Demo 1 Instructions
- Demo 2 Instructions
- Set up your development environment:
- Ensure Copilot and Copilot Chat are enabled in VS Code.
- Familiarize yourself with Advanced Settings in VS Code (refer to Demo 1 for steps).
- Prepare Ahead: Familiarize yourself with the demos and ensure all tools are configured properly.
- Engage the Audience: Encourage participants to ask questions and follow along with their own setups.
- Leverage Copilot Chat: Use Copilot Chat to demonstrate how interactive prompts can refine and enhance suggestions.
- Iterate and Adapt: Showcase how prompts can be refined to improve Copilot's outputs.
We value your feedback! If you have suggestions or run into issues, please create an issue in this repository or submit a pull request.
Happy coding, and let’s unlock the full potential of GitHub Copilot together!