GitHub 101 - Copilot Intro
GitHub 101 - Copilot Intro
Prompt Engineering
Crafting Effective Commands
Copilot Overview
A Peek into AI-Powered Coding
3
What is Copilot?
Show alternatives
Copilot Overview
Slash commands
12
What is Required ?
Context
Suggestions
GitHub Copilot
Demo ● Copilot
● Inline help
○ Say Hello
○ Topics ‘/’
Prompt Engineering
Crafting Effective Commands
What is a Prompt?
- Copilot
What is Prompt Engineering?
- Copilot
Why is Prompt Engineering Important?
Zero-Shot
Programming
with Copilot
Techniques
One-shot
Programming
with Copilot
Cornerstones of Prompting
Control Output Verbosity
“github.copilot.enable”:
{
“*”: true,
“yaml”: true,
“plaintext”: false,
“markdown”: true
}
Unit Testing Generation - Copilot Chat
Refactoring is
possible through
GitHub Copilot
Chat
Working in a project level
Ask in GitHub
Copilot Chat to
get started
Type / command
in GitHub Copilot
Chat to start with
a new project
Neighboring Tabs
Role Prompting
Enhanced Results
When to use Copilot vs Copilot Chat
Giving Details
There can never be too much
Clarifying Requirements
Let Copilot know what you want!
Answering Questions
Ensure a clear understanding
Let’s think step by step
Ensuring Clarity
Takes time to spell everything out
Avoiding Overwhelm
Organized approach
Let’s think step by step
Ensuring Clarity
Avoiding Overwhelm
AI Hallucinations
● Fabricated Outputs
● Reliance on Developers
● Feedback Loop
The
Copilot
effect.
The world’s most widely
adopted AI developer tool.
Maximize developer happiness