GitHub Copilot Chat Cookbook
Find examples of prompts to use with GitHub Copilot Chat.
Spotlight


Improving code readability and maintainability
Copilot Chat can suggest ways to make your code easier to understand and maintain.

Debugging invalid JSON
Copilot Chat can identify and resolve syntax errors or structural issues in JSON data.
Explore 34 examples
Creating templates
Copilot Chat can help you create templates to streamline your workflow and ensure consistency across your projects.- Communicate effectively
- Author and optimize with Copilot
- Simple
Extracting information
Copilot Chat in GitHub can help you extract key information from issues and discussions.- Communicate effectively
- Author and optimize with Copilot
- Simple
Synthesizing research
Copilot Chat can help you synthesize research findings and insights from multiple sources into a cohesive summary.- Communicate effectively
- Author and optimize with Copilot
- Simple
Creating diagrams
GitHub Copilot Chat can help you create diagrams to better understand your data and communicate insights.- Communicate effectively
- Visualize data
- Simple
Generating tables
Copilot Chat can help you create tables to organize information and present it clearly.- Communicate effectively
- Author and optimize with Copilot
- Simple
Debugging invalid JSON
Copilot Chat can identify and resolve syntax errors or structural issues in JSON data.- Debugging code
- Author and optimize with Copilot
- Intermediate
Handling API rate limits
Copilot Chat can help handle API rate limits by suggesting code that detects them and implements retry logic.- Debugging code
- Author and optimize with Copilot
- Intermediate
Diagnosing test failures
Copilot Chat can help you understand why a test is failing and suggest how to fix it.- Debugging code
- Author and optimize with Copilot
- Intermediate
Exploring potential feature implementations
Copilot Chat can help explore different approaches for implementing a single feature.- Functionality analysis
- Author and optimize with Copilot
- Intermediate
Analyzing and incorporating user feedback
Copilot Chat can enhance the process of incorporating user feedback into your project.- Functionality analysis
- Author and optimize with Copilot
- Intermediate