Writing a tutorial for a reader who skims

When we look at read-depth on technical posts, the picture is unflattering: most readers never reach the end. They land from a search result, skim for the sentence that confirms the page is useful, grab a command, and leave. Writing for that reader — the one with a tab open and a timer running on their own work — is not a compromise. It is the job. A post that respects the skimmer is also one that respects the careful reader, because the same techniques that make a page scannable also make the structure of the argument visible.
This is how we would write a technical post that works for both. The techniques are small; the mindset is not.
Assume the reader never reads the second paragraph
Open with the answer. Not the context, not the “this post is about”, not the history of the problem. If your post is about a slow test suite, the first paragraph should already name the usual cause and tell the reader which section of the post addresses their case.
The old newsroom name for this is the lede, and it works for the same reason here: a reader who reads only the first sentence should still leave with the gist. Compare these two openings for a post on Postgres query plans:
This is a post about Postgres query plans and the EXPLAIN tool,
which Postgres has supported since the early days, and which is
especially useful for teams running production workloads where...If a query is slow and you suspect the planner, run EXPLAIN
(ANALYZE, BUFFERS) inside a transaction you roll back; the rest
of this post is about how to read what it prints.The second version loses nothing by being direct. The reader who wanted background still gets it two paragraphs down. The reader who only wanted to know what to type has already left happy, which is the outcome you want.
Write headings that answer on their own
A skimmer’s eye jumps to the headings before it reads anything else. Treat each heading as the one-line summary of its section, not a label. “Configuration” tells the reader nothing. “Set fsync = off only on throwaway databases” tells them whether to read on. Our rule of thumb: if the reader read only the headings in order, could they reconstruct the argument?
That rule rules out two common patterns. Clever headings — puns, allusions, in-jokes — are opaque at a glance and get skipped. One-word headings (“Setup”, “Usage”, “Notes”) are too generic to signal anything; the reader scans past them looking for the one that matches their situation. The fix is mechanical: write the heading last, after the section is written, and rewrite it until it states the section’s claim in plain words of twelve or fewer.
The same rule applies to the title. “Thoughts on CI” survives a search-result list; “Why our CI got twice as fast after we stopped caching node_modules” survives it with the reader’s attention intact.
Make every section stand on its own
Skimmers jump. They arrive at a heading halfway down the page, read that one section, and leave. If the section only makes sense after the three above it, you have lost them. Write every section so that a reader dropped into it cold could still take something away.
That has concrete consequences. Avoid pronouns like “it” or “this” at the start of a section — the referent lives in the previous section the skimmer did not read. If a section depends on a step from earlier, say so and link to it; we do the same whenever a command block relies on advice from Code blocks readers can copy and paste safely. Repeat the single fact the reader needs — the file path, the version, the one flag — rather than making them hunt for it.
Code blocks need the same treatment. A snippet that reuses a variable set in a previous block will mislead a skimmer who pasted only this one. Either inline the value, or add a one-line comment that names where it came from:
# assumes DATABASE_URL is set; see "Point psql at the right database" above
psql "$DATABASE_URL" -c 'EXPLAIN (ANALYZE, BUFFERS) SELECT 1'That one comment costs you nothing and buys the skimmer a working paste.
Give readers an anchored table of contents
Skimmers want to see the structure before they commit to the body, and many will land on your page from a search engine that chose a particular heading. A short table of contents at the top lets them jump straight to the part that matched. Keep it to the top-level h2s only — a deeply nested list is as hard to skim as prose.
Anchors are the mechanism. Give every heading a stable id and link to it. In handwritten HTML that looks like this:
<h2 id="explain-analyze">Run EXPLAIN ANALYZE in a rolled-back transaction</h2>
...
<a href="#explain-analyze">Run EXPLAIN ANALYZE in a rolled-back transaction</a>Most static site generators can do this for you. With Pandoc, a single command adds ids to every heading and wraps each section in its own element:
pandoc --from=markdown --to=html --section-divs \
--id-prefix=sec- post.md -o post.htmlThe ids outlive the post. A reader who bookmarks yoursite.com/your-post/#explain-analyze today will still land in the right place after you revise the post, provided you keep the headings stable. We say more about that in Updating a technical post without breaking trust.
Reward the deep reader with detail beneath the scan
None of this means dumbing the post down. A skim-friendly post keeps its depth; it just moves the depth below the skimmable surface. The first paragraph of a section states the point. The paragraphs below it earn the point with examples, caveats, and the sort of edge case a careful reader is already wondering about.
Where that detail is long, HTML has a native disclosure element the skimmer can pass over and the deep reader can open:
<details>
<summary>Why a rolled-back transaction, not a read-only one</summary>
<p>Read-only transactions still take planner locks on some versions,
and the plan EXPLAIN prints can differ from the one a writing session
would see. Rolling back a normal transaction gives you the real plan
without leaving data behind.</p>
</details><details> is supported in every current browser and reads naturally in text browsers too, so you are not trading accessibility for a flourish. Use it for the long aside, the full output of a verbose command, or the edge case that only matters to one reader in twenty.
End with a line that lets both reader types leave knowing what to do next. The skimmer who read only the headings should still have a concrete action: paste this command, open this tool, read this one linked post. The careful reader should see a pointer to the next natural step — a deeper reference, a related guide, or the one trap we did not cover. Either way, the last sentence is written for the reader, not for you.




Comments 0
Moderated before publication. Sorted oldest first.
No comments yet. Spotted a typo, a better flag, or a step that failed for you? Say so below.