Skip to main content

Design Templates

A template makes designs consistent. Reviewers know where to look for the scope, the risks and the decisions, and authors do not forget an important aspect, such as security or rollout. Like with decision templates, there is no single standard. Most organizations start from one of the well-known structures and adapt it.

Industry standards​

Standard or templateWhat it isGood for
arc42A template with 12 sections, from introduction and goals, constraints, and context and scope, through building block, runtime and deployment views, to architecture decisions, quality requirements, risks and a glossary. Free, and available in many formats.Complete documentation of a system or a larger solution. The most widely used open template.
C4 modelA way to draw software architecture diagrams at four levels of detail: system context, containers, components and code.The diagrams in any design. Combines well with arc42.
ISO/IEC/IEEE 42010The international standard for architecture descriptions. It defines the concepts: stakeholders, their concerns, and the viewpoints and views that address them.Checking that a design addresses the concerns of all its stakeholders. A conceptual basis rather than a template.
4+1 view model by Philippe KruchtenFour views of a system (logical, process, development and physical), illustrated by scenarios.Describing a system for different audiences, such as developers, operations and business.
TOGAF Architecture Definition DocumentThe TOGAF deliverable that covers all architecture domains (business, data, application and technology) and the baseline, transition and target states.Target and transition architectures in organizations that follow TOGAF.

Design docs and RFCs​

Many technology companies and open source projects use lighter formats, written as documents that are reviewed and commented on before the work starts:

TemplateSections
Design docs at GoogleContext and scope, goals and non-goals, the actual design, alternatives considered, cross-cutting concerns
Rust RFC templateSummary, motivation, guide-level and reference-level explanation, drawbacks, rationale and alternatives, prior art, unresolved questions, future possibilities
Kubernetes Enhancement Proposal (KEP)Summary, motivation, proposal, design details, production readiness review, drawbacks, alternatives

What these formats have in common: they state the goals and non-goals explicitly, they describe the alternatives that were considered, and they are short enough that people actually read them.

A simple solution design template​

For most solution designs, I find a short template enough. It follows the sections described in What a solution design covers:

# Design: <name of the change>

- Status: draft | in review | approved | delivered
- Author: <who prepares the design>
- Approver: <who is accountable for approving it>
- Related: <initiative, systems affected, target architecture>

## Context and goals
What is the business need, and what does success look like?
What are the non-goals?

## Scope
Which systems, teams and data are affected? What is out of scope?

## Requirements
The functional requirements, and the non-functional requirements
that drive the design: performance, security, availability, cost.

## Solution overview
The overall approach, with a system context and a container diagram.

## Integrations and data
Interfaces added or changed. Which system masters which data?

## Guardrails and patterns
Which guardrails apply, which patterns and reference architectures are used,
and which exceptions are needed.

## Decisions
ADRs raised by this design, and existing decisions it applies.

## Risks and trade-offs
What could go wrong, and what is accepted knowingly?

## Rollout
Delivery steps, migration, release, and how the inventories will be updated.

The more a design can rely on the reference library, the shorter it gets. A design that follows an existing reference architecture only needs to describe what is specific to this change.

Whichever template you choose, keep it in the reference library, next to the decision templates, so that every team starts from the same structure.