Covers when a design document is worth writing, the sections of a good one (context, goals and non-goals, proposal, alternatives, risks, rollout), keeping it short, running a time-boxed review, and turning outcomes into ADRs.
A design document is worth writing when a change is big, cross-team, hard to reverse or has genuinely different options: a new service, a data migration, a change to an API contract other teams use. A ticket and PR are enough for everything else.
A good one has: context, goals and non-goals, the proposal, alternatives considered, risks (security, privacy, operability), rollout and testing, and open questions, in two to six pages with a diagram.
Review it time-boxed: name the reviewers, set a deadline of a few days, resolve comments, and hold a short decision meeting only for what's still open. Key decisions then become ADRs.
The trade-off: a design doc costs a few days up front, but catching a wrong approach on paper is far cheaper than catching it in code review or production.
"I write a design document when the cost of getting the approach wrong is high: the work spans several sprints, affects other teams or shared contracts, is hard to reverse like a data migration, or there are two or three genuinely different ways to do it. Adding an endpoint or fixing a bug doesn't need one; a ticket and a good PR description are enough. Splitting a monolith's billing module into a service, or moving from synchronous calls to events between Orders and Fulfilment, definitely does.
The structure I use is: context (what exists and why change it), goals and non-goals (non-goals matter most, because they stop the scope growing in review), the proposal with a diagram, alternatives considered and why they lost, risks, which for me always includes security, privacy (are we moving personal information, does it stay in Australia East, what does the Privacy Act require) and operability (how we'll monitor it, what the failure modes are), then rollout and testing, and open questions. I aim for two to six pages. If it's longer, it's probably two designs.
To review it without endless debate, I name specific reviewers including someone from each affected team, give a deadline, usually three to five working days, and ask for comments in the doc. Most things resolve in comments. Anything still open goes to one 30-minute meeting where we decide, and the significant decisions are captured as ADRs. If a question can't be answered on paper, like whether a library can handle our throughput, I run a short spike instead of arguing. The mistake I see is either skipping design entirely on big changes, or treating the doc as a contract to maintain forever. It's a thinking and alignment tool; once built, the code and ADRs are the record."
| Change | Design doc? | Why |
|---|---|---|
| New endpoint following existing patterns | No | Ticket + PR is enough |
| New service or splitting a module out | Yes | Boundaries, data ownership, operations |
| Data migration or schema change across services | Yes | Hard to reverse, needs rollout plan |
| Changing a public or cross-team API contract | Yes | Consumers affected |
| Choosing between two libraries | Maybe | An ADR may be enough |
| Section | What it answers |
|---|---|
| Context | What exists today and what problem we're solving |
| Goals / non-goals | What success looks like; what we're deliberately not doing |
| Proposal | The design, with a diagram and key interfaces |
| Alternatives | Other options and why they lost |
| Risks | Security, privacy, performance, operability, cost |
| Rollout and testing | Feature flags, migration steps, rollback, test strategy |
| Open questions | What still needs a decision |
| Design doc | ADR | |
|---|---|---|
| Purpose | Explore and align before building | Record one decision permanently |
| Size | 2–6 pages | 1–2 pages |
| After delivery | Archived | Kept and superseded when needed |
Before splitting invoicing out of an order monolith, a five-page design doc with three reviewers from Finance, Orders and Platform surfaced that month-end batch jobs read invoice tables directly, which the original plan had missed. Fixing that on paper took two days; we estimated finding it after the split would have broken month-end billing for around 4,000 customers.
Checks whether the candidate can judge when up-front design is worth it and run a design review that leads to a decision.
Green flags
Red flags
The cheapest place to change a design is before any code exists. A design doc forces the author to think through edge cases, gives affected teams a chance to object early, and leaves a record of why the system looks the way it does. Many large engineering organisations use some form of design doc or RFC process for exactly this reason.
+---------------------------------+
| Title, author, reviewers, date |
| Status: Draft / In review / Approved
+---------------------------------+
| Context |
| Goals | Non-goals |
| Proposal + diagram |
| Alternatives considered |
| Risks: security, privacy, ops |
| Rollout, testing, rollback |
| Open questions |
+---------------------------------+
Reviewers naturally suggest improvements. Non-goals let you say "good idea, explicitly out of scope" without a debate. Example: "Non-goal: changing the invoice PDF format."
A design that only describes the happy path is half done. Ask: what fails, how we detect it (metrics, alerts in Application Insights), how we roll back, what personal information moves and where it's stored (APP 8 cross-border disclosure, Azure Australia East / Southeast), and what it costs to run.
Day 0 Share draft, name reviewers, set deadline (3-5 days)
Day 1-4 Async comments in the doc; author replies or updates
Day 5 30-min decision meeting for unresolved items only
After Status = Approved; key decisions -> ADRs; link from epic
The deadline matters: without one, review drifts for weeks.
Some questions (throughput of a library, behaviour of a cloud service under failure) are faster to answer with a one-to-three-day spike than with discussion. Record the result in the doc.
A design doc's proposal usually includes the key contract, written as code so reviewers can comment on real types.
// Proposed contract between Orders and the new Invoicing service (design doc section 3).
namespace Contracts.Invoicing;
/// <summary>Published by Orders when an order is confirmed. Consumers must be idempotent.</summary>
public sealed record OrderConfirmed(
Guid OrderId,
Guid CustomerId,
DateTimeOffset ConfirmedAt,
IReadOnlyList<OrderConfirmedLine> Lines,
int SchemaVersion = 1);
public sealed record OrderConfirmedLine(string Sku, int Quantity, decimal UnitNet, string TaxCode);
A design doc skeleton kept next to the code:
# Design: Extract Invoicing from the Orders monolith
Author: [name] | Reviewers: [Finance], [Orders], [Platform] | Review by: [date]
Status: In review
## Context
## Goals
- Invoicing deploys independently of Orders
## Non-goals
- Changing the invoice PDF format
## Proposal
## Alternatives considered
## Risks (security, privacy, operability, cost)
## Rollout, testing and rollback
## Open questions
A design document is mostly an alignment tool: its value is the disagreements it surfaces early. Senior engineers pick reviewers deliberately, including the team most likely to be hurt by the change, and they drive the review to a decision rather than waiting for consensus. They also know when to stop writing and run a spike.
| Option | When it fits | Cost | When not to |
|---|---|---|---|
| Ticket + PR description | Routine change | Minutes | Cross-team impact |
| ADR | One clear decision | An hour | Many interdependent decisions |
| Design doc | Multi-sprint or cross-team change | Days | Small or easily reversed |
| Spike | Unknowns that paper can't settle | 1–3 days | Answer is already known |
A useful measure: how often do big changes get reworked after code review? If often, design is happening too late.
An architecture decision record (ADR) is a short document capturing one significant decision: the context, the decision, its status and its consequences, including the options you rejected.
The trade-off: an ADR costs an hour to write but saves weeks of re-arguing or reverse-engineering a decision. Writing them for trivial choices kills the habit.
I treat a large refactoring as a series of small, behaviour-preserving steps merged to main continuously, not a big-bang branch. First I pin current behaviour with characterisation tests. Then I pick a technique: strangler fig to route traffic piece by piece to a new implementation, branch by abstraction to put an interface in front of the old code and swap implementations behind it, or parallel change (expand, migrate, contract) for APIs and database schemas. Feature flags and shadow comparisons let old and new paths run side by side. I prioritise hotspots (code that changes often and hurts), keep refactoring commits separate from feature commits, and define an end state so it does not drag on forever.
How to tell it (STAR)
**S:** At [company] we were splitting invoicing out of our order monolith. **T:** I owned the design and wanted it reviewed before we wrote code. **A:** I wrote a five-page design doc with goals, non-goals, alternatives and a rollout plan, and invited reviewers from Finance, Orders and Platform with a four-day deadline. A Finance reviewer's question led me to Query Store, where I found two month-end jobs reading invoice tables directly. I added a migration path for them and recorded the data-ownership decision as an ADR. **R:** We caught it on paper in [number] days instead of breaking month-end billing for about [number] customers, and the split went live [with no billing incidents].
Last updated 23 Nov 2026.