P

How to Write a Newsletter with GitHub Copilot

GitHub Copilot, GitHub's AI assistant, is not limited to code generation. Integrated into Visual Studio Code, it can assist you in writing editorial content like a newsletter. Thanks to its intelligent completion and text generation capabilities, Copilot helps you structure your ideas, write catchy paragraphs, and maintain a consistent tone from one edition to another. In this tutorial, you will learn how to use GitHub Copilot to create a professional newsletter step by step, from defining the structure to final proofreading. Whether you are a content creator, marketer, or developer wanting to communicate with your audience, this guide will save you precious time in your writing process.

Prerequisites

  • 1.Have Visual Studio Code installed on your computer
  • 2.Have an active GitHub Copilot subscription (individual, business, or enterprise)
  • 3.Have the GitHub Copilot and GitHub Copilot Chat extensions installed in VS Code
  • 4.Be logged into your GitHub account in VS Code

Steps

1

Create a Markdown file and define your newsletter structure

Open VS Code and create a new Markdown file (.md). This format is ideal because Copilot excels at completing structured text in Markdown. Start by writing a comment at the top of the file describing the context of your newsletter (target audience, desired tone, theme). Then, use Copilot Chat to generate a complete skeleton with classic sections: title, introduction, body, call to action, and signature.

Generate the complete structure of a professional newsletter in Markdown on the topic [YOUR_TOPIC]. The audience is [YOUR_AUDIENCE]. The tone should be [informal/relaxed/expert]. Include: a catchy title, an engaging introduction, 3 main sections with subtitles, a call to action, and a signature.

Tip: Add a comment block at the top of the file with metadata (audience, tone, goal). Copilot will use it as context for all its subsequent suggestions.
2

Write a captivating introduction with Copilot Chat

The introduction is the decisive element of your newsletter: it determines whether the reader will continue reading. Open Copilot Chat (Ctrl+Shift+I) and ask it to generate several introduction variants. Compare the proposals and select the one that best matches your style. You can iterate by asking for adjustments to tone, length, or hook angle.

Write 3 introduction variants for a newsletter on [TOPIC]. Each variant should be 3-4 sentences max. Variant 1: start with a striking statistic. Variant 2: start with a provocative question. Variant 3: start with a personal anecdote. The tone is [DESIRED_TONE].

Tip: Use the /edit command in Copilot Chat by selecting your existing text to ask for rewording without losing your original content.
3

Develop the main content section by section

For each section of your newsletter, place your cursor under the subtitle and let Copilot auto-complete via inline suggestions (grayed text). Accept with Tab or ask for an alternative with Alt+]. For finer control, use Copilot Chat to generate complete paragraphs specifying the topic, length, and key points to cover. Work section by section to maintain consistency.

Write a 100-word paragraph for the section [SECTION_TITLE] of my newsletter. Key points to cover: [POINT_1], [POINT_2], [POINT_3]. Use a [TONE] tone and include a concrete example to illustrate the point.

Tip: Keep reference files open in adjacent tabs (past newsletters, style guide). Copilot analyzes open files to contextualize its suggestions.
4

Add a compelling call to action and closing elements

Each newsletter must end with a clear call to action (CTA). Use Copilot Chat to generate several CTA formulations adapted to your goal (subscription, purchase, sharing, reply). Also ask it to write a professional signature and an engaging PS, often the most read element after the subject line. Copilot can also suggest subject lines to maximize open rates.

Generate 5 email subject lines for this newsletter (max 50 characters each), then propose 3 different calls to action: one direct, one subtle, and one creative. End with an engaging PS that makes people want to reply to the email.

Tip: Ask Copilot to format your CTA in HTML directly if you are embedding your newsletter in an emailing tool like Mailchimp or Brevo.
5

Proofread, optimize, and finalize with Copilot's help

Select your entire newsletter and use Copilot Chat for a complete review. Ask it to check tone consistency, flow of transitions between sections, repetitions, and grammatical errors. You can also ask it to shorten overly long passages or rephrase complex sentences. Finally, have it evaluate overall readability and suggest improvements.

Proofread this full newsletter and propose: 1) Grammatical and spelling corrections. 2) Sentences to simplify for better readability. 3) Missing transitions between sections. 4) An evaluation of the overall tone (is it consistent from start to finish?). 5) Any suggestions to make the content more engaging.

Tip: Use the Copilot Edits feature (Ctrl+Shift+I then Edit mode) to apply corrections directly in your file without copy-pasting.

Common mistakes to avoid

  • Accepting Copilot's suggestions without proofreading or adapting them to your personal voice, resulting in a generic outcome
  • Not providing enough context in your prompts (audience, tone, goal), producing off-topic content
  • Writing the entire newsletter in a single prompt instead of section by section, reducing quality and consistency
  • Forgetting to verify facts and statistics generated by Copilot, which can produce inaccurate or invented information
  • Neglecting to add a personal touch (anecdotes, opinions) by relying entirely on AI-generated content

FAQ

Can GitHub Copilot write a complete newsletter automatically?
Copilot can generate quality text content, but it works best as a co-writer rather than an autonomous writer. Use it to structure your ideas, generate drafts, and rephrase your texts, but always bring your expertise, anecdotes, and personal tone for an authentic result.
What is the advantage of using Copilot in VS Code rather than another AI tool for writing?
The main advantage is native integration into your editor: real-time inline suggestions, history of your previous files as context, and the ability to version your newsletters with Git. If you write regularly, this approach offers a smoother and more reproducible workflow than a classic chatbot.
How to maintain a consistent tone from one newsletter to another with Copilot?
Create a style-guide.md file in your project containing your editorial rules (tone, words to avoid, template structure, example sentences). Keep it open in a tab while writing. Copilot will analyze this file and adjust its suggestions accordingly, ensuring consistency across your editions.

Related tutorials

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More tutorials

How to Write a Newsletter with Midjourney

Midjourney is an AI image generation tool that can radically transform the visual quality of your newsletters. By creating

How to Write a Newsletter with Mistral

Mistral, the leading French AI, is a powerful ally for writing impactful newsletters. Whether you are an entrepreneur, marketer, or content creator

How to Write a Newsletter with Perplexity

Perplexity is an AI-powered search engine that revolutionizes the way we collect and synthesize information. For newsletter writing,

How to Write a Newsletter with Sora

Sora, OpenAI's video generation tool, can transform your newsletter into a captivating visual experience. Rather than sending plain text, you can create short videos and animated visuals that illustrate your points and significantly increase reader engagement.

How to Write a Press Release with ChatGPT

A well-written press release can boost your company's visibility, but its writing follows strict codes that few professionals master perfectly. ChatGPT allows you to produce structured, impactful releases that meet journalistic standards in minutes.

How to Write a Press Release with Claude

Writing an effective press release is a demanding exercise that requires rigor, clarity, and a sense of hook. With Claude, you can structure your message, find the ideal journalistic angle, and produce a professional text in minutes. This step-by-step tutorial guides you through transforming your raw information into a compelling press release, ready to be sent to newsrooms. Whether you're announcing a product launch, a strategic partnership, or an event, Claude helps you respect the genre's codes while capturing journalists' attention from the first lines. You will learn how to brief Claude effectively, structure your release according to professional standards, and refine it until you get a publishable result.

Get new prompts every week

Join our newsletter.