top of page

Write the Getting-Started Doc — Technical Writing for Engineers, Part 9

Shift Quality Editorial
4 minutes ago
7 min read
Technical Writing for Engineers · Part 9

A new engineer joins a platform team on Monday with a getting-started doc that promises a running local environment "in about 30 minutes". By Wednesday afternoon they have it. On the way they discover that the doc assumes a specific version of the container runtime, that one step only works on the corporate network, that a secrets file has to be requested from a person who is on leave, and that step 7 has been replaced by a script nobody mentioned. Each problem was solved by asking someone. None of the answers went back into the doc. The next hire, three weeks later, asks the same questions.


Nobody on the team thought the doc was bad. Every person who had written or reviewed it could follow it in half an hour, because every one of them already had the runtime, the network access and the secrets file. The doc wasn't wrong for them. It was wrong for the only reader it was written for.


The working claim: a getting-started doc can't be written from memory by the people who already know the system, so it has to be written by watching someone who doesn't, and kept true by a machine that runs it.


Before you start


  • Find your team's current getting-started doc, or the README section that does the job. (Part 3 of this path, and Writing a README That People Actually Use, cover the README itself.)

  • Get access to a clean environment: a fresh container, a new VM, or a colleague's laptop that has never run your project.

  • Ask your most recent hire which steps they got stuck on. Their memory is your best existing data.


Step 1: Define done as something the reader can see (10 min)


"Set up your environment" isn't a finish line. A getting-started doc needs an observable result the reader can check without asking anyone: the app runs locally, a health check returns OK, the test suite passes, and a small change they made shows up in the running app. John Carroll's research on minimalist instruction, summarised in The Nurnberg Funnel (1990), found that people learn software fastest when they work on a realistic task early, rather than reading everything first. The visible change is that task.


Write the finish line at the top: what the reader will have at the end, roughly how long it takes for someone who has never seen the project, and how they'll know they're done.


Test you can run: write the single command or URL that proves the reader is done, for example make check printing "all services healthy", or localhost:3000 showing their changed heading. If you can't name one, the doc doesn't have a finish line yet.


Step 2: Write by watching, not by remembering (20 min)


The opening problem has a name. Pamela Hinds' 1999 study, "The curse of expertise", asked experienced people to predict how long novices would take to learn a task. The experts consistently underestimated, and two attempts to correct them, asking them to recall being a beginner and giving them a list of common beginner problems, didn't fix the bias. The people best placed to write the doc are the worst placed to see its gaps, and reminding them to "think like a newcomer" doesn't help much.


So don't write the doc from memory. Run it in a clean environment, or better, watch a newcomer run it. Ask them to think aloud. Don't help unless they are completely stuck, and write down every hesitation, wrong guess and question. Each one is a missing sentence. Steinmacher and colleagues' 2015 study of newcomers to open source projects catalogued 58 barriers to a first contribution, including 13 social ones, such as not knowing who to ask. Several of your newcomer's questions will be of that kind, and the doc can answer them too: who owns what, and where to ask.


Test you can run: follow your own doc in a fresh container or VM, typing every command exactly as written. Log every step that fails, needs a command that isn't in the doc, or depends on something already on your machine.


Step 3: List prerequisites with versions and a check (10 min)


Most first-hour failures are prerequisites the writer had and the reader didn't. List every one: operating system, runtimes and their versions, tools, access rights (repositories, VPN, cloud accounts) and secrets. Give each a way to check it, and say how long access usually takes if it needs a human approval, so the reader can request it on day one rather than discover it on day two.


Better still, ship a script that checks the prerequisites and says exactly what is missing:


$ ./scripts/check-prereqs
✓ docker 27.1 (need ≥ 24)
✓ node 22.4 (need 22.x)
✗ cannot reach artifacts.internal — connect to the VPN (see "Access" below)
✗ .env.local missing — request it from #platform-access (usually same day)

Test you can run: run the prerequisite check, or your list, on a machine that has never had the project. Every failure should be explained by the doc, not discovered by the reader.


Step 4: Give every step an expected result and a way back (15 min)


Carroll's minimalism research put particular weight on error recognition and recovery, because learners spend much of their time recovering from mistakes, and instructions that assume every step succeeds leave them stranded. For each step, write three things: the command, what the reader should see, and what to do if they see something else.


4. Start the services:
   `make up`
   You should see: "api ready on :8080" within about a minute.
   If you see "port 8080 already in use": stop the other process
   (`lsof -i :8080`) or set API_PORT in .env.local.

Keep the path linear. Each "if you're on Windows…" or "depending on your setup…" branch doubles what the reader has to keep in mind. Put variants in a separate section and link to it.


Test you can run: check that every numbered step in your doc has a "you should see" line. Then add the failure note for every problem your newcomer hit in Step 2.


Step 5: End with a real first change (10 min)


A running app proves the environment works. It doesn't prove the newcomer can work in it. End the doc with a small change that goes through the whole loop your team uses: edit, run the tests, open a pull request, watch CI pass. A typo fix in a help string, or a test for an untested function, is enough. The point is that the newcomer has used every part of the workflow once, with a guide, before they need to use it alone.


This is also where the doc hands over to people. Link to the team's onboarding plan, such as the one described in The First 30 Days for a New Engineer, and name the channel where questions are welcome.


Test you can run: ask your next newcomer to finish the doc by opening a pull request. Measure the time from first command to merged change, and record it as the number to improve.


Step 6: Keep the doc true (10 min)


Getting-started docs decay faster than any other docs, because every change to tooling, dependencies or access breaks them silently, and the people who could notice already have working setups. Two habits keep them honest:


  • Run the doc in CI. Put the setup commands in a script that the doc points to, and run that script in a fresh container on a schedule and when setup files change. When it fails, the doc is wrong.

  • Make the newcomer the editor. The last step of onboarding is a pull request that fixes whatever in the doc tripped them up. They're the only person who can still see the gaps.


Test you can run: add a CI job that runs the setup script in a clean container weekly. The first run will probably fail. That failure is the next newcomer's Wednesday afternoon, caught early.


Worked example: the platform team's doc (composite scenario)


Context. A platform team at a logistics company onboards about one engineer a month. Their getting-started doc was written two years earlier and updated when someone remembered.


Decision. The team lead asked the next new hire to follow the doc while thinking aloud, with a senior engineer watching and taking notes but not helping. Afterwards, the team added a prerequisite check script, "you should see" lines and failure notes for every step, and a final pull request as the finish line. They added a weekly CI job that ran the setup in a fresh container.


Reasoning. Every existing team member could follow the doc quickly, so their reviews kept finding nothing. Only someone without the existing setup could find the gaps.


What happened. The observed session produced 23 notes, including the VPN dependency and the secrets file, neither of which was mentioned in the doc. The CI job failed in its second week when a base image changed, and the doc was fixed before anyone new tried it. The next two hires had a running environment on their first day, and each merged a first change that week.


Lesson. The doc's problem wasn't the writing. It was that everyone who reviewed it was the wrong reader.


Trade-offs to make deliberately


Choice

You gain

You risk

Watching a newcomer instead of reviewing

The gaps nobody on the team can see

An hour of a senior engineer's time

A setup script plus a short doc

Fewer steps to get wrong

The script becomes the thing to maintain

Linear path, variants elsewhere

A doc that's easy to follow

Some readers must jump to a separate section

Running the doc in CI

Breakage found before a newcomer finds it

A clean-environment job to keep working


Common failure modes


  • Written from memory by experts. It works for everyone except newcomers.

  • Unlisted prerequisites and access. The newcomer discovers them one blocked step at a time.

  • Steps with no expected result. The reader can't tell success from silent failure.

  • Ending at "it runs". The newcomer still hasn't used the team's real workflow.

  • No owner and no test. The doc decays with every tooling change.


Final takeaway


The people who know the system best can't see what a newcomer needs, and reminding them to try doesn't fix it. Define an observable finish line, write the doc by watching someone without your setup, list every prerequisite with a check, give each step an expected result and a way back, end with a real first change, and run the doc in CI so it stays true. Your next action: run your team's getting-started doc in a fresh container today, exactly as written, and fix the first step that fails.


Sources


  • Hinds, P. J. (1999). The Curse of Expertise: The Effects of Expertise and Debiasing Methods on Predictions of Novice Performance. Journal of Experimental Psychology: Applied, 5(2), 205–221.

  • Carroll, J. M. (1990). The Nurnberg Funnel: Designing Minimalist Instruction for Practical Computer Skill. MIT Press.

  • Steinmacher, I., Conte, T., Gerosa, M. A. and Redmiles, D. (2015). Social Barriers Faced by Newcomers Placing Their First Contribution in Open Source Software Projects. Proceedings of CSCW 2015, 1379–1392.



Continue the Technical Writing for Engineers path



Part of the Technical Writing for Engineers learning path. Related: Documentation That People Actually Read.

bottom of page