Skip to content

ps-copilot-sandbox/copilot-intermediate-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

GitHub Copilot Intermediate Training Repository

Introduction

💡 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.


Overview

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.


Objectives of This Repository

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.


Demos Included

This repository contains two detailed demonstrations, each with its own README file:

1. Demo 1: Repository Analysis and Enhancements

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

Read the Demo 1 Instructions


2. Demo 2: Building Utilities and Unit Tests

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

Read the Demo 2 Instructions


Prerequisites

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.

Getting Started

  1. Clone this repository:
    git clone https://github.com/your-organization/copilot-intermediate-training.git
    cd copilot-intermediate-training
  2. Review the README for each demo to get started:
  • Demo 1 Instructions
  • Demo 2 Instructions
  1. 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).

Best Practices for Trainers

🌟 Tips for Delivering Effective Demonstrations

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

Feedback and Contributions

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!

About

Repository to Assist Trainers during the Copilot for Developers - Intermediate Training

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published