Customers & growth · Developer marketing
Technical writing framework
Best for Idea to Startup
Use it when
You are writing or revising a developer documentation page, such as a how-to, reference or concept page, and it must be accurate, clear, complete and easy to maintain.
Skip it when
- The reader is new to the product and needs a guided path to a first working result. Use the Tutorial design framework.
- You are telling developers what changed in a release, including breaking changes and migrations. Use the Changelog framework.
- The piece is a narrative post about how you built or fixed something. Use the Developer blog framework.
- The page is accurate and now needs to be found in search. Run SEO for developer content on the finished draft.
What to apply first and what to use instead are listed below.
Inputs
- Audience statementRole, what readers already know and what they must be able to do after reading, from support tickets, user research and product managers.
- Document typeHow-to, reference or explanation, chosen by whether the reader is acting or seeking understanding, and working or getting started.
- Source factsSpecs, API definitions, code and release notes for the current version, with the engineer who owns the feature.
- Style guideYour house guide, or a public one such as the Google developer documentation style guide.
- Existing pagesOptionalCurrent docs on the same topic, to merge or retire so each fact lives in one place.
Steps
- Write the audience statement and the scope, with one line naming what the page will leave out.
- Pick one document type and keep the page to it, moving material that belongs to another type onto its own page.
- Outline with headings that name the reader's task, and put the answer or key point in the opening paragraph.
- Draft against the style guide, with a tested example for each common use case.
- Self-edit by reading aloud and checking every step from a newcomer's view, then have the feature's engineer check every fact.
- Store the page next to the code, name an owner, and set the release or date that triggers the next review.
Output
A reviewed documentation page, with a header note recording its audience, type, reviewer and owner.
- Audience and prerequisites
- Scope and what is left out
- Document type
- Key point in the opening paragraph
- Sections with task headings
- Examples and the release they were tested on
- Technical reviewer and review date
- Owner and next review trigger
Done when
- The opening paragraph states the audience, the scope and the key point.
- The page holds one document type, and material of other types is moved and linked.
- Every code example and command ran on the current release.
- The feature's engineer signed off on accuracy, with the date recorded.
- An owner and a review trigger are named, and no other page repeats the same facts.
Measure
Track for 60 days after publishing the support tickets and forum questions on the topic, page feedback ratings, and the share of readers who leave for search. Compare with the 60 days before. It worked when topic tickets fall and helpful ratings rise against your own baseline. Recheck accuracy at each release, since a page with a known error fails whatever its traffic.
Hypothetical example
Tallypoint's billing API had one webhooks page that mixed setup steps, an event reference table and a design essay. Support logged repeated tickets about verifying webhook signatures. The writer named the audience as backend developers who had already made one API call, and scoped the page to signature checks. The event table moved to a reference page and the essay to an explanation page. The new how-to opened with the answer, gave tested code in two languages, and passed review by the payments engineer. The writer set the next API version as the review trigger. Signature tickets fell over the next two months.
Common mistakes
- Mixing tutorial steps, reference tables and explanation on one page. Split by type and link between them.
- Writing for yourself and skipping steps an expert finds obvious. Check the draft from a newcomer's view and define each term.
- Burying the answer under background. Put the key point in the first paragraph.
- Publishing code nobody ran. Run every example on the current release before review.
- Copying the same facts across pages. Keep one source and link to it so updates land once.
Sources
- Audience (Technical Writing One) · Google for Developers
- Documents (Technical Writing One) · Google for Developers
- Summary of Technical Writing Two · Google for Developers
Show all 5 sources
- Documentation principles · Write the Docs
- Start here (Diátaxis) · Daniele Procida
By company stage
Apply first
Nothing. You can start here.
Use instead
- Tutorial design framework
use this when competent users need how-to, reference or concept pages they consult while working; use the other when a newcomer needs a guided path to a first working result
- Changelog framework
You are telling developers what changed in a release, including breaking changes and migrations. Use the Changelog framework.
- Developer blog framework
The piece is a narrative post about how you built or fixed something. Use the Developer blog framework.
- SEO for developer content
The page is accurate and now needs to be found in search. Run SEO for developer content on the finished draft.
Where it sits
Open the developer marketing roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account