Step 7 of 35 · Technical direction
Design docs that get read
A short written design, shared before the code, is the cheapest place to find out an approach is wrong.
A design doc is how the team thinks together before the expensive part starts. Writing it forces the author to find the gaps. Reading it lets six people catch what one missed.
Keep it short: the problem, the constraints, the proposed approach, the alternatives you rejected and why, the risks and the rollout. Ask for one when a change is costly to undo or touches more than one part of the system. Skip it for the rest.
Teams fail in opposite ways. Some write nothing and argue in code review. Others demand a long template for everything, so people write to pass review. You set the threshold. Do not be the only author: have others write, and review their docs with care.
Try this week
- Agree with the team a one-sentence rule for when a change needs a design doc, and write it down.
- Ask an engineer who has not written one to draft the next design doc, and go through it with them before the team sees it.
Signs you've got it
- Major design objections arrive on the doc, not in code review.
- Design docs on your team are written by several people, not only you.
Resources
- articleDesign Docs at Google (opens in a new tab)Malte Ubl
- articleScaling Engineering Teams via RFCs: Writing Things Down (opens in a new tab)Gergely Orosz
- bookDocumentation (Software Engineering at Google) (opens in a new tab)Tom Manshreck
- guideCapabilities: Documentation quality (opens in a new tab)DORA