Writing design docs and RFCs
Write design documents that get read, reviewed and approved, with a structure that forces clear thinking.
15 min readWriting is the design
A design doc is not paperwork after the design; writing it is how you discover the gaps in your own thinking. Vague prose hides vague ideas. Google, Uber and many others use design docs or RFCs (requests for comments) for any change that takes more than a couple of engineer-weeks or touches more than one team. The doc lets dozens of people review asynchronously, across time zones, at a fraction of the cost of meetings. A useful threshold: if it needs a migration, a new dependency or a new team interaction, write a doc.
A structure that scales
Keep the core doc to roughly 4-10 pages; push detail into appendices. Readers should be able to stop after the first page and still know what is proposed and why.
- Summary: three to five sentences, problem and proposed solution
- Context and goals, plus explicit non-goals
- Requirements: ranked quality attributes with numbers
- Proposed design: diagram, data model, APIs, key flows
- Alternatives considered and why they lost
- Cross-cutting concerns: security, privacy, observability, cost, migration, rollout
- Risks and open questions, each with an owner
Non-goals are a superpower
The most valuable section is often the shortest. Non-goals state what this design deliberately does not solve: 'multi-region active-active is out of scope; we will tolerate a 30-minute regional failover.' They stop reviewers from pulling the design towards every adjacent problem, and they record a conscious choice rather than an oversight. A design with no non-goals is usually trying to do too much. Reviewers can still argue a non-goal should be a goal, but now the argument is explicit and happens before code is written. Revisit the non-goals at each milestone; some will graduate into the next phase.
Writing for reviewers
Reviewers have limited attention. Use numbers instead of adjectives, a diagram on page one, and short paragraphs. Write the alternatives section honestly: if the losing options are straw men, experienced reviewers will distrust the whole doc. Put the decisions you most need feedback on in the open questions section, and tell reviewers what kind of review you want (direction check, deep technical review or security sign-off) and by when. Finally, set a comment deadline and resolve or explicitly defer every open comment before you mark the doc approved, so silence is not mistaken for agreement.
Key takeaways
- Writing the design doc is how you find the gaps; it is not after-the-fact paperwork.
- Lead with a short summary and a diagram; keep detail in appendices.
- Explicit non-goals protect the scope and document deliberate omissions.
- Tell reviewers what feedback you need and by when, and make alternatives genuine.
Sign in to track lessons and earn badges.