Technical design doc template
The sections a design review needs, and none it does not.
How to fill it in
- 1Say what exists today, and why it no longer fits.
- 2Describe the approach, then the data.
- 3Compare at least two alternatives.
- 4Plan the rollout and the rollback.
More in the guide: How to write a technical design doc

Summary
In a paragraph: what we are building, and the main idea of how.
| Author | |
|---|---|
| Reviewers | |
| Status | Draft, in review, agreed, built |
Context
What exists today, what is forcing a change, and any limits we have to live with.
Goals
- What the design has to achieve, with numbers where possible (load, latency, cost)
Not goals
- What it will not handle, so reviewers do not design for it
The design
Parts, what each owns, and how they talk. A diagram helps; add it as an image.
Data
-- New or changed tables, and how old data moves over create table example ( id uuid primary key, created_at timestamptz not null default now() );
Interface
// The calls other parts of the system will make
type Request = {}
type Response = {}Failure
| What fails | What the person sees | How it recovers |
|---|---|---|
| A dependency is down | ||
| A deploy goes wrong halfway | ||
| Data arrives twice or out of order |
Alternatives considered
| Option | For | Against | Why not |
|---|---|---|---|
| Do nothing | |||
Security and privacy
- Who can read and change what, and what personal data is touched
Rollout
- Migration tested on a copy of real data
- Metrics and alerts in place first
- Way back written down
Open questions
InsideSummaryContextGoalsNot goalsThe designAlternatives consideredSecurity and privacyRolloutOpen questions
Questions
A document written before significant engineering work that explains how it will be built, which alternatives were considered and what trade-offs are accepted.


