Step-by-step
📖 GitHub Copilot
GitHub
📘 Step-by-step 📘 GitHub · GitHub Copilot↗ GitHub Copilot · Official sitebeginner 🔄 Life & Business

Create a clear README in 10 minutes with GitHub Copilot

Turn a blank page into a polished project README that welcomes contributors and users, using Copilot’s guided suggestions.

Hook: You’ve just pushed your first lines of code and want to share it with the world. A README file is the friendly front door to your project, but staring at a blank page feels overwhelming. With GitHub Copilot’s help, you can build a clear, professional README in about 10 minutes — no prior experience needed.

💡 Tip: tap a step’s number when you finish it — a green tick appears and your browser remembers how far you got.

✅ Before you start
  • A GitHub account (free at github.com)
  • A new or existing repository on GitHub (create one in under 2 minutes)
  • A web browser (Chrome, Firefox, Edge, or Safari)
  • GitHub Copilot enabled on your account (free for individuals; check your plan at github.com/features/copilot)
  • Total time: ~10 minutes

⚠️ GitHub Copilot is a paid feature on most plans. The free trial may offer limited suggestions. If you see a “Try Copilot for free” prompt, follow it.


1

Open your repository and start the README file

Open your repository on GitHub in your browser. You’ll land on the main page showing your project files. Look for a list of files; if you just created the repo, you may see only a .gitignore file or nothing yet. At the top-right of the file list, click Add file and choose Create new file. Name the file README.md. The .md stands for “Markdown,” a simple way to format text with symbols like # for headings.

You’ll see a blank editor with a placeholder: “Write a new file in …”. The file name README.md tells GitHub this is the project’s welcome page.

💬 Example`README.md`

You'll know it worked when you see the filename README.md at the top of the editor and the page title says “Create new file”.


2

Ask Copilot to generate the README structure

With the file open, press the Ask Copilot button (usually a chat icon or a sparkle) in the top-right corner of the editor. If you don’t see it, look for a Copilot icon in the toolbar or use the shortcut Ctrl+I (Windows/Linux) or Cmd+I (Mac). A chat panel opens on the right.

In the chat box, type:

💬 ExampleCreate a README.md structure for a beginner-friendly Python project that counts words in a text file. Include sections for Description, Features, Installation, Usage, License, and Contributing.

Press Enter. Copilot will respond with a suggested structure using Markdown headings like # Description, ## Features, etc. It may also add a short placeholder paragraph under each heading.

You'll know it worked when you see a list of headings and brief descriptions appear in the editor, replacing the blank page.


3

Fill in the project description

Scroll to the # Description section Copilot created. Replace the placeholder text with a clear, one-sentence explanation of your project. For example, if your project is a Python script that counts words, write:

💬 ExampleThis simple Python script reads a text file and counts the number of words, lines, and characters. It’s designed for beginners learning file handling and basic data analysis.

You'll know it worked when the description reads like a friendly introduction and fits naturally under the heading.


4

List the project’s features

Under the ## Features heading, Copilot likely added a bullet list. Replace each bullet with a short, active phrase describing what your project does. For a word counter, it might look like:

💬 Example- Counts words, lines, and characters in any text file
  • Works with .txt files on Windows, macOS, and Linux
  • Lightweight and runs in seconds
  • No external libraries required

You'll know it worked when the list clearly shows what the project can do, using simple language.


5

Add installation instructions

Scroll to the ## Installation section. Copilot usually suggests commands like pip install or git clone. Replace the placeholder with step-by-step instructions for your operating system. For a beginner-friendly Python project, write:

💬 Example1. Make sure you have Python 3.8 or newer installed. Open your terminal or command prompt and run:

python --version If you see Python 3.x, you’re good to go. 2. Download or clone this project: git clone https://github.com/your-username/your-repo.git 3. Move into the project folder: cd your-repo 4. Install the required package (if any): pip install -r requirements.txt (If there’s no requirements.txt, skip this step.)

You'll know it worked when the instructions are clear enough for someone with basic computer skills to follow without confusion.


6

Write a usage example

Under the ## Usage heading, Copilot often adds a code block with a command like python wordcounter.py. Replace it with a simple, copy-paste-ready example. For a word counter, write:

💬 ExampleTo count words in a file named `sample.txt`, run:

python wordcounter.py sample.txt

You'll know it worked when the example is short, uses real file names, and shows exactly what to type.


7

Choose a license and add it

Scroll to the ## License section. Copilot may suggest a placeholder like “MIT License” or “Apache 2.0”. Replace it with a short explanation and a link to the license file. For beginners, the MIT License is simple and widely used. Write:

💬 ExampleThis project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.

You'll know it worked when the license section clearly states the license type and links to a file named LICENSE in your repo.


⚠️ Common mistakes
  • Mistake: Using vague language like “easy to use” or “fast”. Fix: Replace it with a specific benefit, e.g., “runs in under 2 seconds on most computers”.
  • Mistake: Forgetting to save the file after editing. Fix: Always click Commit changes at the bottom of the editor after each major section.
  • Mistake: Writing long paragraphs under headings. Fix: Keep each section to 2–4 short sentences. Use bullet points for lists.

🚀 Try it now

Open your GitHub repository, create or edit the README.md file, and use the Ask Copilot button to generate a structure. Replace the placeholders with your project’s details, then commit the changes. You now have a professional README ready to share!

❓ Quick questions

How long does this take?

About 7 minutes — the guide has 7 steps, and you can tick each one off as you go.

Which tool do I need?

This guide uses GitHub GitHub Copilot — but the approach works very similarly in other AI assistants.

Do I need to prepare anything?
  • A GitHub account (free at github.com)
  • A new or existing repository on GitHub (create one in under 2 minutes)
  • A web browser (Chrome, Firefox, Edge, or Safari)
  • GitHub Copilot enabled on your account (free for individuals; check your plan at github.com/features/copilot)
  • Total time: ~10 minutes

⚠️ GitHub Copilot is a paid feature on most plans. The free trial may offer limited suggestions. If you see a “Try Copilot for free” prompt, follow it.


What mistakes should I avoid?
  • Mistake: Using vague language like “easy to use” or “fast”. Fix: Replace it with a specific benefit, e.g., “runs in under 2 seconds on most computers”.
  • Mistake: Forgetting to save the file after editing. Fix: Always click Commit changes at the bottom of the editor after each major section.
  • Mistake: Writing long paragraphs under headings. Fix: Keep each section to 2–4 short sentences. Use bullet points for lists.

Keep reading

📬 The week’s AI, in your inbox

One friendly email every Sunday — the 5 stories that mattered, in plain English. No spam, unsubscribe anytime.

Was this helpful?

✦ Original step-by-step guide by AI World HQ's AI editorial team. Written in plain language, reviewed for accuracy.

← Back to all stories