Get better code suggestions from GitHub Copilot by writing clearer comments and prompts. Optimize for Copilot's inline and chat features.
0/5000 characters
Before
After
Copilot uses comments as context to understand what code you want. Detailed comments with examples, types, and edge cases lead to more accurate suggestions.
Yes! For Copilot Chat, you can use even more detailed prompts. The enhanced version includes all the context Copilot needs.
Turn your best GitHub Copilot prompts into reusable snippets with Retext. Type a short trigger and instantly expand.