Skip to content

JS-Jake/PromptEngineeringExercises

 
 

Repository files navigation

GitHub Copilot Prompt Engineering Exercises

Overview

This repository contains a series of exercises designed to demonstrate the capabilities of GitHub Copilot in improving code quality, reliability, and security. Each exercise focuses on a specific aspect of software development and provides hands-on experience with GitHub Copilot features. Additionally, these exercises include various prompts to guide you in leveraging GitHub Copilot effectively for enhancing your code.

Exercises

1. APL2007M5BankAccount

This project is a simple C# application that models a bank account. It provides functionalities to manage account details, perform transactions, and calculate interest. The exercise focuses on using GitHub Copilot to improve code quality and implement best practices. You will encounter prompts that help you write cleaner, more efficient code.

Read more about APL2007M5BankAccount

2. APL2007M5BankAccount-Reliability

This project builds on the BankAccount application with a focus on reliability. It demonstrates how to use GitHub Copilot to enhance exception handling, input validation, and testing to improve the reliability of the application. Prompts in this exercise will guide you in identifying and addressing potential reliability issues.

Read more about APL2007M5BankAccount-Reliability

3. APL2007M5BankAccount-Security

This project extends the BankAccount application with a focus on security. It demonstrates how to use GitHub Copilot to implement robust authentication, data protection, secure error handling, and compliance with security standards. Prompts in this exercise will help you implement secure coding practices and adhere to industry standards.

Read more about APL2007M5BankAccount-Security

Getting Started

  1. Fork this repo in your GitHub account and clone it to your local machine.
  2. Navigate to the project directory for the exercise you want to work on.
  3. Follow the instructions in the respective README.md file to set up and complete the exercise.

Prerequisites

  • Visual Studio Code
  • The C# Dev Kit extension for Visual Studio Code
  • GitHub Copilot and GitHub Copilot Chat extensions

Notes

  • Each exercise is self-contained and can be completed independently.
  • Use GitHub Copilot Chat to explore suggestions and implement improvements.
  • Refer to the individual project documentation for detailed instructions.
  • Prompts provided in each exercise are designed to help you think critically and make the most of GitHub Copilot's capabilities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%