P
✍️RedactionIntermediateAll AIs

GitHub Copilot Prompt for Text Correction

GitHub Copilot, GitHub's AI assistant integrated directly into your code editor, is not limited to code generation. It also excels at correcting and improving texts, whether technical documentation, README files, code comments, or editorial content. By leveraging its linguistic understanding capabilities, you can entrust it with proofreading your texts to identify and fix spelling, grammar, syntax, and style errors. This approach is particularly valuable for developers writing multilingual documentation or clear commit messages. Instead of switching to an external tool, you stay in your usual work environment, streamlining your workflow. The prompt we offer here is structured to guide Copilot precisely: it defines the expected role, the types of corrections desired, and the output format, ensuring consistent and actionable results every time.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Act as a professional Francophone proofreader. Analyze the following text and correct all spelling, grammar, conjugation, punctuation, and syntax errors. Preserve the original meaning, tone, and style of the author. For each correction made, add a brief comment in square brackets explaining the nature of the error. First return the corrected text in full, then a summary list of changes made. Text to correct:

[PASTE_YOUR_TEXT_HERE]

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why this prompt works

This prompt works by assigning an explicit expert role (professional proofreader), which directs the model towards a rigorous linguistic register. The exhaustive list of error types to target avoids omissions, while the request for comments in square brackets forces a reflective analysis that improves correction accuracy. The dual output format (corrected text + summary) allows for quick verification without re-reading the entire document.

Use Cases

Correct a Text

Variants

Expected Output

You will get a clean, corrected version of your text, faithful to the original style and tone, accompanied by inline annotations indicating each modification. A summary at the end of the response will list all corrections with their justification, allowing you to learn from recurring errors and validate each change at a glance.

Frequently Asked Questions

Can GitHub Copilot correct texts in languages other than French?

Yes, GitHub Copilot effectively handles corrections in most European languages as well as Chinese, Japanese, and Korean. You just need to adapt the prompt by specifying the target language. However, its performance is best in English and French, the languages its model was most trained on. For less widely covered languages, it's recommended to verify corrections with a native speaker.

Does Copilot respect the style and tone of my original text when making corrections?

When the prompt explicitly specifies it — as in our main version with the instruction 'preserve the author's tone and style' — Copilot strives to maintain the text's original voice. Without this instruction, it may tend to rephrase some passages in a more neutral style. For texts with a very strong tone (humorous, literary, technical), specify the expected register in your prompt for best results.

What is the maximum text length I can have corrected in one go?

The limit depends on the context window of the model used by Copilot. In practice, you can process texts of 2,000 to 4,000 words in a single pass via Copilot Chat. For longer documents, it's better to split the text into logical sections (chapters, thematic paragraphs) and submit them separately. This ensures better correction quality because the model can fully focus on each segment.

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Pour un meilleur résultat, précisez le type de texte (académique, professionnel, créatif) et le niveau de langue souhaité dans le prompt. Cela affine les corrections sans en altérer le style.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

✍️RedactionIntermediateGemini

Gemini Prompt for Proofreading a Text

Text correction is one of the tasks where Gemini excels, thanks to its deep understanding of French and its grammatical subtleties. Whether you are a copywriter, student, professional, or simply concerned about the quality of your writing, using Gemini to proofread a text lets you quickly identify spelling, grammar, conjugation, and syntax errors that often slip through human re-reading. Unlike conventional automatic proofreaders, Gemini doesn't just flag mistakes: it understands the context of your sentences, detects stylistic awkwardness, and suggests natural rephrasings. The tool can handle long texts, respect your authorial intent, and adapt to the desired language register. To get the best results, it is essential to structure your prompt precisely, indicating the type of correction expected, the target language level, and the desired output format. Here is an optimized prompt to make the most of Gemini for proofreading your French texts.

1485
✍️RedactionIntermediateAll AIs

A/B Email Subject Lines to Test

Email campaign open rate optimization

406
✍️RedactionBeginnerAll AIs

Customized Report Card Comments

Generating varied and relevant school report cards

411
✍️RedactionIntermediateAll AIs

Scene Transition Options

Smooth narrative flow between scenes

402