How to Write a Sales Page with GitHub Copilot
GitHub Copilot isn't just for developers. This AI assistant, integrated directly into your code editor, can also help you write compelling sales pages. By leveraging its text generation capabilities, you can structure your pitch, create magnetic hooks, and optimize each section of your page to maximize conversions. In this tutorial, you'll learn step by step how to use GitHub Copilot to produce a complete sales page, from main headline to final call-to-action. Whether you're selling a digital product, training, or service, this method will save you considerable time while maintaining professional quality.
Prerequisites
- 1.Have Visual Studio Code installed with the GitHub Copilot extension activated
- 2.Have an active GitHub Copilot subscription (Individual, Business, or Enterprise)
- 3.Know your product or service, your target audience, and your unique value proposition
- 4.Have a clear idea of the offer and price to present on the page
Steps
Prepare a product brief in a context file
Create a new text or Markdown file in VS Code and write a detailed brief of your product: name, target, problem solved, main benefits, price, and guarantee. This file will serve as context for Copilot to generate relevant content. The more precise the brief, the more aligned the suggestions will be with your offer.
// Product brief: [PRODUCT_NAME]
// Target: [YOUR_IDEAL_CUSTOMER]
// Problem: [THE_MAIN_PROBLEM_YOU_SOLVE]
// Solution: [HOW_YOUR_PRODUCT_SOLVES_THIS_PROBLEM]
// Benefits: [3_TO_5_KEY_BENEFITS]
// Price: [YOUR_PRICE]
// Guarantee: [YOUR_GUARANTEE]
// Generate a complete sales page in French for this product
Generate the main headline and compelling subheadline
Position your cursor after the brief and let Copilot suggest a powerful headline. The headline must capture attention in under 3 seconds and communicate the main benefit. Accept or modify the suggestion, then ask for a subheadline that reinforces the promise and qualifies your target audience.
Main headline of the sales page
// Write a catchy headline that highlights the main benefit for [TARGET]. The headline should create curiosity and make the reader want to read on.
Subheadline
// Write a subheadline that clarifies the promise and qualifies the ideal reader
Write the problem and agitation section
Every effective sales page starts by identifying the reader's problem. Ask Copilot to describe the painful situation of your prospect using the PAS formula (Problem, Agitation, Solution). This section should create an emotional connection by showing you fully understand your target's frustration.
The problem
// Describe in 3 paragraphs the frustrating situation of [TARGET] who hasn't yet found a solution to [PROBLEM]. Use the PAS method: first identify the problem, then agitate the negative consequences, finally introduce hope for a solution.
Build the argument with benefits, proof, and testimonials
Ask Copilot to structure the central section of your page: presentation of the solution, list of concrete benefits (not features), social proof elements, and testimonials. Guide the AI by providing real data (figures, customer results) in your comments to get authentic and credible content.
The solution: [PRODUCT_NAME]
// Present the product as the ideal solution to the problem described above
What you will get
// List 5 to 7 concrete benefits with quantified results when possible
They talk about it
// Generate 3 realistic customer testimonials based on the benefits listed above. Include first name, context, and result achieved.
Create the call-to-action, guarantee, and FAQ section
Finalize your page with a clear call-to-action block, a guarantee that removes last objections, and an FAQ that addresses common hesitations. Ask Copilot to generate each section with a direct, action-oriented tone. End with a final CTA reminder with moderate urgency.
Offer and price
// Present the offer with price [X€], what's included, and a clear call-to-action button
Money-back guarantee
// Write a reassuring [30]-day guarantee that reverses the risk for the buyer
Frequently asked questions
// Generate 5 question-answer pairs that address main objections: price, results, compatibility, support, refund
Final call-to-action
// Write a final paragraph summarizing the promised transformation and urging action now
Common mistakes to avoid
- ✗Listing technical features instead of concrete customer benefits — Copilot tends to generate feature descriptions, systematically turn them into benefits
- ✗Accepting Copilot's suggestions without personalizing them — generic content doesn't convert, always add your real data, figures, and audience vocabulary
- ✗Neglecting the initial brief and writing a context that is too vague — without a detailed brief, Copilot generates generic content that doesn't match your offer or positioning
FAQ
Can GitHub Copilot really write a professional-quality sales page?
What is the difference between using Copilot in the editor and Copilot Chat for writing?
How can I ensure the generated content is unique and won't be penalized by Google?
Related tutorials
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- 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 Thesis with DALL-E
DALL-E, the AI image generator developed by OpenAI, can become a valuable ally in writing your academic thesis. This guide explains how to use DALL-E to create illustrations, diagrams, and visuals that enrich your academic work.
How to Write a Video Script for Sora
Sora, the video generation model developed by OpenAI, turns text descriptions into amazing video sequences. But the quality of the generated video depends directly on the quality of the script you submit. A good video script for Sora goes beyond a simple description: it structures shots, specifies camera movements, defines the visual mood, and guides the AI shot by shot. In this tutorial, you will learn how to write an optimized video script for Sora, breaking down your creative vision into clear and actionable instructions. Whether you want to create a short film, an advertisement, or social media content, mastering the art of scripting for Sora will help you achieve consistent, cinematic results that stay true to your artistic intent.
How to Write a Video Script with Mistral
Writing a compelling video script requires structure, creativity, and a good understanding of your audience. Mistral, the French AI assistant,
How to Write an Email with ChatGPT
Writing a professional or personal email can sometimes be time-consuming, especially when you're looking for the right tone and ideal wording. ChatGPT is a...
How to Write an Email with GitHub Copilot
GitHub Copilot, the AI assistant developed by GitHub and OpenAI, is not limited to code generation. With its integrated chat feature in VS Code, i
How to Write Cold Outreach Emails with GitHub Copilot
GitHub Copilot, GitHub's AI assistant, is not limited to code generation. With its chat feature integrated into VS Code, it can help you write compelling and personalized cold outreach emails.
Get new prompts every week
Join our newsletter.