Writing a README That People Actually Use
Updated: Oct 19
A new engineer joins a team and is pointed at the README for the billing service. It's tidy: a one-line description, an install section, a usage example. Following it exactly, they get an error on the third command. It takes them two days and several messages to colleagues to get the service running. Along the way they discover seven steps that aren't written down: a specific Node version, two environment variables, a VPN, a Docker registry login, a seed-data script and a feature flag.
Nobody wrote a bad README. Each missing step was obvious to the people who had set it up once, years ago. The README looked complete because the people who reviewed it already had a working machine.
Most READMEs fail this way, on a clean machine rather than on the page. This post shows how to find the gaps, what to put first, and how to keep the README true after you've fixed it.
Run the fresh-clone test first
Before rewriting anything, find out what's actually wrong. Ask someone who has never run the project to follow the README exactly, on a clean machine or container, while you watch and don't help. Record:
Time to first successful run.
Every step they had to ask about or guess.
Every command that failed when pasted.
This is the experience the README is for. Research on open source newcomers backs up why it matters. Steinmacher and colleagues built a model of 58 barriers that newcomers to open source projects face before their first contribution. A README that leaves setup steps out adds to them. Every missing step is a point where someone gives up or interrupts a colleague.
The test: how long does it take someone new to get your project running from the README alone? If you've never measured it, you don't know whether your README works.
Say what it is, and what state it's in
The first lines answer "what is this, and should I use it?" Say what the project does for its users, not how it's built.
Describes the build:
A Next.js application leveraging Tailwind CSS with ISR-based rendering and multi-model AI content generation via a REST API.
Describes the purpose:
A blog platform that generates and publishes technical articles using AI, with structured learning paths for readers.
A reader who doesn't know Next.js or ISR gets nothing from the first. Everyone understands the second.
Then state the status. Prana and colleagues annotated 4,226 sections from 393 randomly sampled GitHub READMEs. "What" and "how" content was very common, but many READMEs lacked information about the purpose and status of the repository. One line fixes that:
Status: In production. Owned by the payments team. Questions in #payments-eng.
Other honest statuses: "experimental, expect breaking changes", "maintained, not actively developed", "deprecated, use X instead". A reader deciding whether to depend on your project needs this more than anything else on the page.
The test: could someone who has never heard of the project tell, from the first five lines, what it does, whether it's safe to depend on, and who to ask?
Make the quickstart paste-and-run
The quickstart takes someone from "I've cloned it" to "it's running" and nothing more. Rules:
Every command works when pasted, in order, from the repository root.
List exact prerequisites with versions, such as "Node.js 20 or later" and "Docker running". "Node" isn't enough.
Ship a .env.example with every variable the project needs and a comment for each. Never commit real credentials.
Say what success looks like, such as "open http://localhost:3000 and you should see the dashboard", so people know when to stop debugging.
Name access they need to request, such as a VPN or registry login, with a link to where they request it.
## Quickstart
Prerequisites: Node.js 20+, Docker running, access to the
internal registry (request it at go/registry-access).
git clone https://github.com/yourorg/billing.git
cd billing
cp .env.example .env # fill in DATABASE_URL and STRIPE_TEST_KEY
docker compose up -d db # starts PostgreSQL on port 5432
npm ci
npm run db:seed # loads test customers and invoices
npm run dev
You should see "Listening on http://localhost:3000".
Open /health and it should return {"status":"ok"}.
The test: run your quickstart in a fresh container, pasting each command. If you have to type anything that isn't on the page, add it.
Show the one task most people came for
After the quickstart, show the single most common use, not every feature:
For a library: one short code example of the primary use case.
For a service: the main request and its response.
For a command-line tool: the two or three commands people run most.
Link to full documentation for everything else. The README is the front door, not the whole building.
The test: ask three people what they use the project for most. If your usage section doesn't show that task, change it.
Write for who actually arrives
GitHub's documentation suggests a README cover what the project does, why it's useful, how to get started, where to get help, and who maintains it. Different readers need those in different depths, and not all of it belongs in the README:
Reader | What they need first | Where it should live |
Someone deciding whether to use it | What it does, status, licence | README, top |
A new teammate | Quickstart, who to ask | README |
A user of a library | Install line and one example | README; full API reference in docs |
A contributor | Branching, tests, review process | CONTRIBUTING.md, linked from the README |
An on-call engineer at 3 a.m. | How to diagnose and roll back | A runbook, linked from the README |
Someone asking why it was built this way | Decisions and trade-offs | docs/ or decision records |
Keep architecture, full API reference, changelogs and project history out of the README, and link to them. A status badge or two helps. Twenty badges are noise.
The test: for each section of your README, name the reader it's for. If it's for a reader in the bottom three rows, move it and leave a link.
Keep it true
An out-of-date README is worse than a short one, because people trust it. In GitHub's 2017 Open Source Survey, 93% of respondents had observed incomplete or outdated documentation, and 60% of contributors said they rarely or never contribute to documentation. Good intentions don't keep a README current. Process does.
Change the README in the same pull request that changes setup, configuration or commands. Add it to the review checklist.
Let CI run the quickstart. A job that runs the README's steps in a clean environment on every pull request fails when setup changes and the README doesn't.
Use relative links to files in the repository. GitHub notes they're easier for people who clone the repository, and they keep working on other branches.
A minimal CI check, for a Node project on GitHub Actions:
# .github/workflows/readme-quickstart.yml
name: README quickstart
on: [pull_request]
jobs:
quickstart:
runs-on: ubuntu-latest
services:
db:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
ports: ["5432:5432"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: cp .env.example .env
- run: npm ci
- run: npm run db:seed
- run: npm run build
It won't catch everything (a VPN or registry login can't run in CI), but it catches the most common drift: a new step nobody wrote down.
The test: when did someone last follow your README from a clean start? If nobody can remember, a CI job should be doing it.
A worked example
Here is the composite billing service from the opening. The figures are illustrative.
Fresh-clone test (before)
Time to first successful run: about 2 working days
Undocumented steps found: 7
Commands that failed when pasted: 2
Status, owner, where to ask: not stated
Changes
First lines rewritten: purpose, status, owning team, channel
Prerequisites with versions; registry and VPN access linked
.env.example with a comment per variable
Seed-data step and expected output added to the quickstart
Runbook and CONTRIBUTING.md split out and linked
CI job runs the quickstart on every pull request
Fresh-clone test (next new starter)
Time to first successful run: about 40 minutes
Undocumented steps found: 1 (a feature flag)
CI quickstart failures caught in the first quarter: 2
The README got shorter, not longer. What changed is that it was tested against a clean machine, and then kept tested.

The template
# Project name
One to three sentences on what this does, for whom.
**Status:** [in production / beta / experimental / deprecated].
Owned by [team]. Questions in [channel or link].
## Quickstart
Prerequisites: [tools with versions; access to request, with links].
[commands, one per line, each with a short comment]
You should see: [the output or URL that means it worked].
## Usage
[The one task most people came for: a short example.]
## More
- Contributing: [CONTRIBUTING.md](CONTRIBUTING.md)
- Runbook: [link]
- Architecture and decisions: [docs/](docs/)
- Licence: [LICENSE](LICENSE)
What to do this week
Ask the next person who hasn't run your project to follow the README on a clean machine while you watch, and write down every question. Fix those gaps first. Rewrite the first five lines so they state purpose, status, owner and where to ask. Add a CI job that runs the quickstart on pull requests. Documentation That People Actually Read covers the docs your README links to.
Final takeaway
A README works when a new person can go from clone to running without asking anyone. Measure that with a fresh-clone test before you rewrite anything. Put purpose, status and owner in the first lines. Make the quickstart paste-and-run, with versions, a commented .env.example and visible success. Show the one task most people came for, and move everything else into linked files for the readers who need it. Then keep it true: update it in the same pull request, and let CI run the quickstart so drift fails a build instead of a new starter's first week.
Sources
GitHub Docs, "About the repository README file": a README typically covers what the project does, why it's useful, how to get started, where to get help, and who maintains it; relative links "are easier for users who clone your repository"; content beyond 500 KiB is truncated. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes
GitHub, Open Source Survey 2017: "Incomplete or outdated documentation is a pervasive problem, observed by 93% of respondents"; 60% of contributors rarely or never contribute to documentation. https://opensourcesurvey.org/2017/
Prana, G. A. A., Treude, C., Thung, F., Atapattu, T. and Lo, D., "Categorizing the Content of GitHub README Files", Empirical Software Engineering 24(3), 2019, pp. 1296–1327: 4,226 sections from 393 randomly sampled repositories; "What" and "How" content very common; many READMEs lack purpose and status information. https://doi.org/10.1007/s10664-018-9660-3 (preprint: arXiv:1802.06997)
Steinmacher, I., Gerosa, M. A., Conte, T. U. and Redmiles, D. F., "Overcoming Social Barriers When Contributing to Open Source Software Projects", Computer Supported Cooperative Work 28, 2019, pp. 247–290: a model of 58 barriers, including 13 social barriers, that hinder newcomers' first contribution. https://doi.org/10.1007/s10606-018-9335-z
Related reading
Keep learning. This article is part of the Project Delivery & Change Management path in the ShiftQuality Learning Center. Ship change without breaking trust or production.


