KEMBAR78
ChatGPT and Github Copilot For Coding v1 1681301960 | PDF
0% found this document useful (0 votes)
166 views22 pages

ChatGPT and Github Copilot For Coding v1 1681301960

This document discusses ChatGPT and GitHub Copilot and provides examples of their capabilities. It describes how ChatGPT can be engineered through prompts to summarize code, explain code to newcomers, and rewrite code with clearer documentation. It also notes that ChatGPT can self-heal from errors. Additionally, it provides resources for learning more about GitHub Copilot, OpenAI Codex, and how to utilize their features.

Uploaded by

electronaruto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
166 views22 pages

ChatGPT and Github Copilot For Coding v1 1681301960

This document discusses ChatGPT and GitHub Copilot and provides examples of their capabilities. It describes how ChatGPT can be engineered through prompts to summarize code, explain code to newcomers, and rewrite code with clearer documentation. It also notes that ChatGPT can self-heal from errors. Additionally, it provides resources for learning more about GitHub Copilot, OpenAI Codex, and how to utilize their features.

Uploaded by

electronaruto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

ChatGPT

And
Github Copilot
For coding

Version 1

Gathered by Faisal Alsrheed


https://www.linkedin.com/in/faisalalsrheed
1:
Background and Introduction
2:
Prompt engineering
Prompt engineering examples for coding

1:

You are a world class software engineer.

I need you to draft a technical software spec for building the


following:
{{description}}

Think through how you would build it step by step.

Then, respond with the complete spec as a well-organized markdown


file.

I will then reply with "build," and you will proceed to implement
the exact spec, writing all of the code needed. I will
periodically interject with "continue" to prompt you to keep
going. Continue until complete.

Source: https://twitter.com/mckaywrigley/status/1645816833931608065
2:

"Hello ChatGPT, Please act as the best code instructor in the


world.
Imagine that I am new to the Python programming language.
I found the following code.
It is hard for me to understand it.
Please explain to me the code, step by step.
Then rewrite the code by using informative variable names and more
precise comments that are easy to understand.
Finally, list the Python libraries, packages, and frameworks used
in this code with one sentence about each and Github links.

"
ADD THE CODE HERE
""
2:
Self-healing in ChatGPT
You can just give it the error, and it will fix itself.

https://twitter.com/FaisalAlsrheed/status/1644373630816600064
3:
AutoGPT
Reading List to learn more:

GitHub Copilot documentation


https://docs.github.com/en/copilot

OpenAI Codex
https://openai.com/blog/openai-codex

The OpenAI Codex paper


https://arxiv.org/abs/2107.03374

GitHub Next
https://githubnext.com/

8 things you didn’t know you could do with GitHub Copilot


https://github.blog/2022-09-14-8-things-you-didnt-know-you-could-do-with-github-copilot/
Youtube Tutorials

https://youtu.be/Fi3AJZZregI

https://youtu.be/gDJzr9DBKTI

https://youtu.be/PmCJoMX6KSo
https://youtu.be/AsOssGeuFUw

https://youtu.be/2pzk4KJDc3c

You might also like