How to use GitHub Copilot: Prompts, tips, and use cases - The GitHub Blog
In this prompt guide for GitHub Copilot, two GitHub developer advocates, Rizel and Michelle, will share examples and best practices for communicating your desired results to the AI pair programmer.
How to write better prompts for GitHub Copilot - The GitHub Blog Rizel Scarlett & Michelle Duke June 20, 2023 | Updated February 26, 2025 | 25 minutes Share: Generative AI coding tools are transforming the way developers approach daily coding tasks. From documenting our codebases to generating unit tests, these tools are helping to accelerate our workflows. However, just like with any emerging tech, there’s always a learning curve. As a result, developers—beginners and experienced alike—sometimes feel frustrated when AI-powered coding assistants don’t generate the output they want.
related reading
- copilot-explorer | Hacky repo to see what the Copilot extension sends to the serverthakkarparth007.github.io
- GitHub · Change is constant. GitHub keeps you ahead.github.com
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4.github.com
- Here’s how I use LLMs to help me write codesimonwillison.net
- GitHub Copilot Can Do More Than Just Codedagshub.com
- The Future of Programming: Copilots vs. Agents (Part I)eastwind.substack.com
- What is GitHub Copilot? - GitHub Docsdocs.github.com
- GitHub - f/prompts.chat: f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.github.com
- Cookbookcookbook.openai.com
- copilot-explorer | Hacky repo to see what the Copilot extension sends to the serverthakkarparth007.github.io
- Collaborative Workspacesgithubnext.com
- A developer’s second brain: Reducing complexity through partnership with AIgithub.blog