Technical Design Doc and RFC Template (With ADR Example)
Copy a technical design document template, an RFC template, and an ADR template, with a worked example and an AI prompt to draft each one.
For Engineering

What is a technical design document template?
A technical design document template is a fixed outline for explaining a technical change before you build it: the problem, the proposed solution, the alternatives you rejected, and the risks. A design doc describes how you will build something. An RFC (request for comments) asks other people to challenge a proposal before it is decided. An architecture decision record (ADR) is a short note that records one decision after it is made. All three templates are below.
TL;DR
- A design doc explains the whole plan for a change, an RFC invites review and objections before a decision, and an ADR records the decision afterward in one page or less.
- Most teams need one structure, not three: write the design doc or RFC to decide, then extract an ADR for each significant choice so the reasoning survives.
- The alternatives considered section does the most work. A design doc with no rejected options usually means the author has not finished thinking.
- Use AI to produce a rough first draft from your notes and to attack the draft with hard questions, but never to invent the constraints, numbers or trade-offs. Those must come from you.
- Keep it short. Two to six pages is enough for most changes, and a doc nobody finishes reading does not get reviewed.
- Skip the doc when the change is small, easy to reverse, and touches one team.
What is the difference between a design doc, an RFC, and an ADR?
The three overlap, and companies use the names loosely. The practical difference is the job each one does.
| Design doc | RFC | ADR | |
|---|---|---|---|
| Main job | Explain how you will build it | Get feedback and agreement before deciding | Record what was decided and why |
| When you write it | Before building | Before deciding, often across teams | At or just after the decision |
| Typical length | 2 to 10 pages | 2 to 6 pages | Half a page to one page |
| Audience | Your team, reviewers, future maintainers | Everyone the change affects | Future engineers asking "why is it like this?" |
| Lifespan | Goes stale as the build changes | Closed once a decision is made | Stays in the repo permanently |
A common workflow: write an RFC when the change crosses team boundaries or is hard to reverse, write a design doc for the detailed plan once the direction is agreed, and write an ADR for each decision with lasting consequences (a database choice, an auth approach, a message format).
If your company already has a template, use it. These are starting points that work in most places.
What does a technical design document template look like? (copy this)
Paste this into your wiki, Google Doc or repo. Delete sections that do not apply, but think about each one before you delete it.
# [Title: a short description of the change]
| Field | Value |
|---|---|
| Author(s) | |
| Reviewers | |
| Status | Draft / In review / Approved / Superseded |
| Created | |
| Last updated | |
| Target decision date | |
| Links | Ticket, related docs, dashboards |
## 1. Summary
Two to four sentences. What are we building or changing, and why now?
A reader who stops here should still know the point.
## 2. Background and context
What exists today? What does the reader need to know to follow this doc?
Link to older docs instead of repeating them.
## 3. Problem statement
What is going wrong, or what opportunity is being missed?
Include evidence: incident links, error rates, customer requests, cost.
## 4. Goals
- What must be true when this is done? Make each goal checkable.
## 5. Non-goals
- What are we deliberately not doing? (Prevents scope creep in review.)
## 6. Proposed design
### 6.1 Overview
A paragraph and a diagram. Show the main components and how data flows.
### 6.2 Detailed design
Components, interfaces, APIs, data model, key algorithms.
Explain behavior on the unhappy paths: failures, retries, bad input.
### 6.3 Data model and migration
Schema changes. How does existing data move? Is it reversible?
### 6.4 Security, privacy and compliance
Who can access what? What personal or sensitive data is involved?
Which review (security, legal, privacy) is needed?
## 7. Alternatives considered
For each option: what it is, why it is attractive, why we did not pick it.
Always include "do nothing" as an option.
## 8. Risks and open questions
| Risk or question | Likelihood | Impact | Mitigation or owner |
|---|---|---|---|
## 9. Rollout plan
Phases, feature flags, who is affected, how to roll back.
## 10. Testing and validation
How will we know it works? Load tests, staged rollout, metrics to watch.
## 11. Observability and operations
Logs, metrics, alerts, dashboards. Who gets paged? What does the runbook say?
## 12. Cost and effort
Estimated build effort, ongoing infrastructure and maintenance cost.
## 13. Timeline and milestones
Rough phases with owners. Dates are estimates, say so.
## 14. Decision log
Date, decision, who decided. Link to ADRs.
Sections 3, 5, 7 and 9 are the ones people skip and later regret. The problem statement keeps the proposal honest. Non-goals end arguments about scope. Alternatives show you considered the field. The rollout plan is where outages are avoided.
What does an RFC template look like? (copy this)
An RFC is a design doc with the emphasis moved from "here is my plan" to "tell me where this is wrong." It is shorter, names a deadline, and states plainly what feedback you need.
# RFC-[number]: [Title]
| Field | Value |
|---|---|
| Author(s) | |
| Status | Draft / Open for comment / Accepted / Rejected / Withdrawn |
| Comment period | [start date] to [end date] |
| Decider | The person or group who makes the final call |
| Reviewers requested | Teams or people whose input you need |
## Summary
One paragraph. What is proposed?
## Motivation
Why do this? What happens if we do nothing?
## Proposal
The change in enough detail that a reviewer can find problems.
Include interfaces, data formats, and the behavior people will notice.
## Impact
Who is affected? Which teams, services, customers or processes must change?
What do they need to do, and by when?
## Alternatives
What else did you consider, and why was it not chosen?
## Drawbacks
The honest case against this proposal.
## Unresolved questions
What do you not know yet? Where do you most want pushback?
## Feedback requested
Be specific. "Is the migration plan safe for the billing team?" gets better
answers than "Thoughts?"
## Decision
Filled in at the end: outcome, date, rationale, link to ADR.
Three habits make RFCs work. Name one decider, because "the team will decide" often means nobody decides. Set a comment deadline, because open-ended reviews drift. And write the "Decision" section when you close it, so the document ends with an answer instead of a thread that peters out.
What does an architecture decision record template look like? (copy this)
An ADR is deliberately small. The widely used format, popularized by Michael Nygard, has five parts: title, status, context, decision, consequences. Store ADRs in the same repository as the code, one file per decision, numbered in order. Do not edit old ones to change history. If you change your mind, write a new ADR that supersedes the old one.
# ADR-[number]: [Short title of the decision]
## Status
Proposed / Accepted / Deprecated / Superseded by ADR-[number]
## Date
YYYY-MM-DD
## Context
What forces are at play? Technical constraints, business needs, deadlines,
team skills. State facts, not opinions.
## Decision
We will [do X]. One or two sentences, active voice.
## Options considered
- Option A: summary, main upside, main downside
- Option B: summary, main upside, main downside
## Consequences
What becomes easier? What becomes harder? What new work or risk do we accept?
List the negatives too.
Some teams use the longer MADR format, which adds "decision drivers" and a pros and cons list per option. The short version above is enough for most decisions. If you cannot explain the decision in a page, it probably needs an RFC.
How do you fill these in? A worked example
Here is a condensed example. The scenario is invented for illustration, and the numbers are placeholders you would replace with your own measurements.
Scenario: A retail company's order service sends confirmation emails and push notifications directly inside the checkout request. When the email provider is slow, checkout is slow. During provider incidents, orders fail.
Design doc, filled in (excerpt):
# Move order notifications to an asynchronous queue
## 1. Summary
Checkout currently waits for email and push providers before returning.
We propose publishing a "order placed" event to a queue and having a
separate notification worker send messages. This removes third-party latency
and outages from the checkout path.
## 3. Problem statement
- Checkout latency tracks email provider latency (see dashboard link).
- In the last two provider incidents, checkout error rates rose because
notification calls timed out inside the request. [Link incident reviews]
## 4. Goals
- Checkout success and latency are independent of notification providers.
- No confirmation is lost if a provider is down. Delayed is acceptable.
- Duplicate notifications are rare and never charged or acted on twice.
## 5. Non-goals
- Redesigning notification content or templates.
- Replacing the email provider.
- Notifications for non-order events (a later phase).
## 6.2 Detailed design (excerpt)
- Checkout writes the order and an outbox record in one database transaction.
- A relay publishes outbox records to the queue.
- The worker consumes events, renders the message, calls the provider, and
records the result. Each event has an idempotency key so retries do not
send duplicates.
- Failed sends retry with backoff, then land in a dead-letter queue that
alerts the owning team.
## 7. Alternatives considered
1. Do nothing: cheapest, but the incident pattern will repeat.
2. Fire-and-forget threads inside the checkout service: fast to build, but
messages are lost when the process restarts.
3. Managed workflow service: more features than we need, new vendor review.
## 9. Rollout plan
Ship behind a feature flag. Enable for internal accounts, then 5% of traffic,
then everything. Rollback: turn off the flag and the old synchronous path runs.
ADR extracted from it:
# ADR-014: Send order notifications through a queue, not in the checkout request
## Status
Accepted
## Date
2026-03-12
## Context
Checkout calls email and push providers synchronously. Provider slowness and
outages have caused checkout errors. The platform team already operates a
message queue used by two other services.
## Decision
We will publish order events to the existing queue using a transactional
outbox, and send notifications from a separate worker.
## Options considered
- Keep synchronous calls: simple, but couples checkout to provider uptime.
- In-process background threads: simple, but loses messages on restart.
- Managed workflow service: powerful, but adds a new vendor and review cycle.
## Consequences
- Easier: checkout stays fast and available during provider incidents.
- Harder: notifications are eventually consistent, so support staff may see
an order before its email is sent.
- New work: dead-letter alerting, idempotency handling, an on-call runbook.
Notice what the ADR does. Months later, someone asks, "Why isn't this just a function call?" The answer is on one page, including the downside the team accepted.
How can AI help you write a design doc?
AI is good at structure, first drafts, and playing a skeptical reviewer. It is bad at knowing your system. It does not know your traffic, your team's skills, your contracts, or what failed last quarter. Anything it writes about those is a guess.
Use it in two passes. First, draft from your own raw notes. Second, attack the draft.
Prompt 1: draft from notes
You are helping a [your role] write a technical design document.
Use the template below. Fill in sections only from the notes I provide.
Where the notes do not contain the information, write "TODO: [what is
needed]" instead of guessing. Do not invent metrics, dates, vendor
capabilities or team names.
Template:
[paste the template]
My notes (messy is fine):
- Problem: ...
- What we have today: ...
- Constraints (deadline, budget, team, compliance): ...
- Options I looked at and what I think of each: ...
- My preferred approach and why: ...
- Things I am unsure about: ...
Prompt 2: review as a skeptic
Act as a senior reviewer who has seen this kind of project fail. Read the
design document below. Give me:
1. The five hardest questions a reviewer would ask.
2. Failure modes or edge cases the design does not address.
3. Any claim that is stated as fact but has no evidence in the document.
4. Anything in the "Goals" that cannot be checked.
Do not rewrite the document. Only critique it.
[paste draft]
Prompt 3: turn a finished doc into an ADR
From the design document below, write an ADR in this format: Title, Status,
Date, Context, Decision, Options considered, Consequences. Keep it under 300
words. State negative consequences plainly. Use only what is in the document.
[paste doc and ADR template]
What to check in the output:
- Every number, date and named product. Delete or verify anything you did not supply.
- Claims about what a tool, cloud service or library can do. Check the vendor's documentation.
- The alternatives. AI tends to produce tidy, balanced-looking options. Make sure they are the options you actually weighed, with the real reasons.
- The consequences. Models lean positive. Add the costs your team will actually carry.
- Confidential details. Follow your company's policy on what can be pasted into which AI tool. Strip customer data, secrets and unreleased commercial terms, or use a tool your company has approved.
Where not to trust it: capacity estimates, security conclusions, compliance claims, and cost figures. These need your measurements and the right reviewers. AI can ask the question. It cannot sign off.
When should you write a design doc, and when can you skip it?
Write one when at least one of these is true:
- The change is hard or expensive to reverse (data model, public API, vendor choice).
- It touches more than one team or system.
- It involves security, privacy, money movement or personal data.
- It will take more than a couple of weeks of work.
- You can already hear two people disagreeing about the approach.
Skip it, or write only an ADR, when the change is small, contained in one service, and easy to roll back. A good test: if you were wrong, would fixing it take an afternoon or a quarter? Match the paper to the risk.
How long should a design doc be?
Long enough that a reviewer can find the flaws, and no longer. Two to six pages covers most changes. If yours is much longer, move reference material (schemas, API listings, benchmark output) into appendices and keep the main body readable in ten minutes. Put the summary and the decision you need from the reader at the top. Reviewers who run out of attention should have already read the part that matters.
What makes a design review go well?
- Share it early. A draft with three open questions gets better input than a polished doc that arrives after the work is done.
- Name reviewers and ask for specifics. "Can security confirm section 6.4?" beats a broadcast to a channel.
- Separate comments from blockers. Ask reviewers to mark which objections must be resolved before approval.
- Keep a decision log. At the end, record who decided what and when. Link the ADRs.
- Revisit after launch. Add a short note on what turned out differently. The next author will thank you.
Common mistakes: writing the doc after the code, leaving out non-goals, listing alternatives that no one would choose, hiding the risks in the middle, and treating approval as the end instead of keeping the doc current while it still guides the work.
Could you build your own tracker for design docs and decisions?
Many teams end up with design docs in one tool, ADRs in a repo, and review status in a spreadsheet nobody updates. A small internal app can pull this together: a form to submit a proposal, fields for owner, reviewers, status and decision date, a list that shows what is waiting for review, and a searchable log of past decisions. You can describe that kind of tool in plain English to Remy, which builds a full-stack app with a database and sign-in and deploys it to a live URL, so you own a decision log instead of renting another subscription for it.
Frequently Asked Questions
What is the difference between an RFC and a design doc?
An RFC is built to collect feedback and reach a decision, so it stresses motivation, impact on others, drawbacks and open questions. A design doc is built to describe the plan in implementation detail. Many teams combine them: the same document starts as an RFC, then becomes the design doc once approved.
Where should I store ADRs?
Keep them in the same repository as the code they describe, usually in a folder such as docs/adr, one numbered file per decision. That way they are versioned, reviewed in pull requests, and found by the people changing the code. Do not edit accepted ADRs to change history. Write a new one that supersedes the old.
Can I use the same template for software, data and infrastructure changes?
Yes. The structure (problem, goals, proposal, alternatives, risks, rollout) works for any technical change. Adjust the detailed design section: a data pipeline needs schemas, freshness and lineage, while an infrastructure change needs capacity, failover and cost. Product managers and analysts can use the same outline for process or tooling changes.
Can AI write my design doc for me?
AI can produce a usable first draft from your notes and is good at critiquing a draft, but it does not know your systems, constraints or history. Give it your facts, tell it to mark gaps instead of guessing, and verify every number and capability claim. The decisions and trade-offs must be yours, since you are accountable for them.
How many alternatives should I list?
Two or three real ones, plus "do nothing." Each should be an option a reasonable colleague might have chosen, with an honest reason for rejecting it. A long list of weak options adds length without adding confidence.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

Runbook Template: Write and Update Runbooks with AI

RAG vs Fine-Tuning: How to Build a RAG Pipeline That Works

How to Roll Out AI Coding Assistants Across an Engineering Org
