← System Design Process Playbook

Design Doc Best Practices

Researched from primary sources — every practice names the company it comes from. Companion to the worked example.

Who we studied

primary sources, not folklore
SourceWhat their practice contributes
Googlethe canonical design-doc culture: trade-offs as the content, goals/non-goals, system-context diagram, right-sizing, doc lifecycle
OxideRFD process: numbered docs, explicit state machine, discussion-by-PR, "timely rather than polished", 3–5 day windows
Uber · Sourcegraph · HashiCorp · Stedisurveyed RFC templates: required ops sections, statuses + public directory, "abandoned ideas", two-tier docs
GitHub Spec Kit2026 spec-driven development: intent as source of truth, spec / plan / tasks separation
AWS KiroEARS notation — requirements written so an agent (or test) can verify them
Anthropicdocs as agent input: CLAUDE.md per repo, AI first-pass review, designers mapping error states pre-dev

The 10 practices

each row: the practice, how to apply it, who it's stolen from
#PracticeHow to apply itFrom
1Trade-offs are the contentThe doc exists to record what you gave up and why — not to describe the code. A doc with no trade-offs is an implementation manual, and Google names that a reason to not write one.Google
2Goals AND non-goalsNon-goals are things that could reasonably be goals but are explicitly chosen not to be. One list each, bullets, no prose.Google
3Alternatives carry outsized weightReviewers judge the design by the quality of what was rejected. HashiCorp gives it a named section — "abandoned ideas". Always include do nothing and buy it.Google · HashiCorp
4Three sizes, most docs smallSkip (obvious change) · mini-doc 1–3 pages (most features) · full doc 10–20 pages (systems only). Stedi adds a fourth: a decision record — one paragraph as a forcing function to get alignment.Google · Stedi
5Spec ≠ plan ≠ tasksIntent is the source of truth. Spec holds the stable what/why; plan holds the swappable how; tasks are small, independently testable chunks. Don't blend them into one blob.GitHub Spec Kit
6Testable requirementsEARS notation: WHEN [condition] THE SYSTEM SHALL [behavior]. Each line becomes a test; an agent can verify its own work against them.AWS Kiro
7Timely beats polishedPublish rough, iterate in the open. Discussion happens as comments/PRs with a 3–5 business-day window — then decide. Waiting for a perfect doc is how decisions rot.Oxide
8Explicit states, public directoryNumbered docs with a visible state (Discussion → Published → Committed → Abandoned) in one discoverable index. A doc nobody can find is a doc that never happened.Oxide · Sourcegraph
9Ops sections are required fieldsUber's template makes SLAs, dependencies, load testing, security, monitoring (and for mobile: UX + accessibility) mandatory — so DevOps and UX are structurally early, never an afterthought.Uber
10The doc outlives the reviewUpdate it during implementation (Google's phase 3), keep it as org memory (phase 4), and feed it — with the repo's CLAUDE.md — to the agents that implement and the humans that onboard.Google · Anthropic

Practice 5, drawn — one intent, three artifacts

SPEC — what & why problem · users · success metric goals / non-goals · EARS requirements STABLE — survives stack changes PLAN — how architecture + diagram · contracts trade-offs · alternatives · ops sections FLEXIBLE — this is what gets reviewed TASKS — chunks small · independently testable written by each function (decomp) EXECUTABLE — agent + human implement review the plan · test against the spec · implement the tasks

Practice 7 + 8, drawn — the doc's state machine

Draft rough > polished Discussion timeboxed 3–5 days Published decision recorded Committed = built reality Abandoned — kept, never deleted (it's the memory of why not)
Adapted from Oxide's RFD states. Every doc is numbered, has its state in the header, and lives in one public directory (Sourcegraph).

Practice 4, applied — right-sizing

SizeWhenContains
Skipsolution obvious, trade-offs minimalnothing — PR review is enough
Decision recorda call needs alignment, not design1 paragraph: context → decision → consequences
Mini-doc (default)most features1–3 pages — the worked example is this
Full docnew systems, cross-team, shared infra10–20 pages max, incl. system-context diagram
Anti-patternWhy it kills the process
Mandate docs for everythingpeople route around the process (survey finding)
Implementation manualcode detail, no trade-offs — Google: don't write it
Silent approvalno explicit state = no decision; state lives in the header
Undiscoverable docsno directory = no org memory, decisions get re-argued
Perfection before sharingOxide: timely > polished; late feedback is expensive feedback