Guide · work calls
Technical design document template, with the RFC angle
A technical design document (design doc) describes a problem and a proposed solution before the work starts, so reviewers can catch problems while they are still cheap to fix. Many teams call the same document an RFC (request for comments). Below is a template that works for both, and when to use an ADR instead.
Updated 2026-11-25 · tested with Claude Code and Codex
Design doc template
# Design: Move event delivery from polling to NATS
Status: In review Author: <name> Reviewers: <names>
Created: 2026-09-01 Decision by: 2026-09-14
## Context
What exists today and why it is a problem. Numbers with units.
## Goals
- What this design must achieve, measurable where possible
## Non-goals
- What it deliberately does not try to solve
## Proposal
The design: components, data flow, APIs, data model.
Diagrams welcome. Enough detail to estimate and review.
## Alternatives considered
- Alternative A: what it is, why not (cost, ops load, limits, with numbers)
- Alternative B: why not
- Do nothing: what happens if we don't build this
## Risks and mitigations
| Risk | Mitigation |
|---|---|
## Rollout
Phases, feature flags, migration and backfill, how to roll back.
## Observability
Metrics, alerts and dashboards that show it works.
## Open questions
- What reviewers need to decide
Example from our demo project, made-up data.
RFC vs design doc vs ADR
| RFC | Design doc | ADR | |
|---|---|---|---|
| Purpose | Ask for feedback on a proposal, often across teams | Describe how something will be built | Record one decision and why |
| When | Before a decision | Before building | When a decision is made |
| Length | Short to long | Several pages | One page |
| After review | Accepted or rejected | Updated as the build changes it | Immutable; superseded by a new ADR |
In many teams "RFC" and "design doc" are the same document with a different name; the template above serves as either. One design doc often leads to several ADRs. Template and examples: architecture decision records.
Writing tips
- Non-goals matter as much as goals. They stop scope creep in review.
- Give every alternative a real reason, with numbers where you have them. "Didn't feel right" won't survive the review.
- Set a decision date and name who decides, so the review ends.
- Keep the doc in the repo (docs/design/) next to the code, versioned and reviewed like code.
- Let a coding agent help: Claude Code or Codex can draft the context section from the codebase and list alternatives to check. You write the proposal and decide. Agent rules: CLAUDE.md / AGENTS.md guide.
On calls
On design reviews and status calls, the question you will get is "why not X?". The alternatives considered section is that answer, so keep its reasons and numbers in your project facts file. FlexQ listens to the call on your computer and shows a short cue from your project folder when someone asks you a question; the facts come from a file your coding agent keeps (project facts file template). See the AI meeting assistant or FlexQ for work calls.
Download FlexQ for macOS or Windows. How it handles your files is set out in the privacy policy.
FAQ
What should a technical design document include?
Context, goals and non-goals, the proposal, alternatives considered with reasons, risks and mitigations, a rollout plan, observability and open questions.
What is the difference between an RFC and a design doc?
An RFC asks for comments on a proposal, often across teams, before a decision. A design doc describes how something will be built. Many teams use the two names for the same document.
When should I write an ADR instead of a design doc?
Write an ADR to record one decision once it is made: short, numbered and immutable. A design doc comes before the work and can lead to several ADRs.
How long should a design doc be?
Long enough for reviewers to judge and estimate the work, usually a few pages. If it grows much longer, split it or move details into appendices.
More
FlexQ for work calls · AI meeting assistant for work calls · CLAUDE.md / AGENTS.md guide · Project facts file template · All guides · Download FlexQ