The framework behind the documentation

A guide to arc42.

arc42 is a template for documenting and communicating software architecture. It gives a team a shared structure for explaining what a system does, how it works, and why it was built that way.

ArcShape uses that structure to organize Markdown documentation in your repository. Its AI-assisted workflows help investigate the system and maintain the documentation; its CLI validates the structure and builds the reader.

You can adapt the depth to your system and its readers. Start with the information people need, and develop the relevant sections as your understanding grows.

01

Introduction and Goals

Explain what the system is for, who needs it, and which quality goals matter most.

Example: a booking systemCustomers need to reserve a seat, and operators need to prevent double bookings.

Official guidance: Introduction and Goals
02

Constraints

Record the technical and organizational limits that shape the architecture.

Example: a booking systemThe system must use the organization’s identity provider and run in its existing cloud environment.

Official guidance: Constraints
03

Context and Scope

Show the system boundary, its users, and the external systems it communicates with.

Example: a booking systemA context diagram shows customers, booking staff, the payment provider, and the email service.

Official guidance: Context and Scope
04

Solution Strategy

Explain the main architectural approach and how it addresses the system’s goals.

Example: a booking systemKeep seat reservations in one transactional store so two customers cannot book the same seat.

Official guidance: Solution Strategy
05

Building Block View

Describe the system’s parts, their responsibilities, and how they fit together.

Example: a booking systemThe booking service owns reservations; the payment adapter connects to the payment provider.

Official guidance: Building Block View
06

Runtime View

Walk through important scenarios to explain how the parts interact while the system runs.

Example: a booking systemFollow a reservation from the customer’s request through seat allocation, payment, and confirmation.

Official guidance: Runtime View
07

Deployment View

Show where the software runs and how it maps to infrastructure and environments.

Example: a booking systemMap the web application, booking service, and database to their production infrastructure.

Official guidance: Deployment View
08

Crosscutting Concepts

Explain approaches that apply across several parts of the system.

Example: a booking systemDescribe how services authenticate requests, handle errors, and attach correlation IDs to logs.

Official guidance: Crosscutting Concepts
09

Architecture Decisions

Record consequential choices, their alternatives, and the reasons behind them.

Example: a booking systemExplain why the team chose a relational database, including the trade-offs it accepted.

Official guidance: Architecture Decisions
10

Quality Requirements

Make quality expectations concrete enough to discuss and evaluate.

Example: a booking systemDuring the expected booking peak, a seat reservation should complete within the agreed response-time target.

Official guidance: Quality Requirements
11

Risks and Technical Debt

Keep known architectural risks and deferred work visible, together with their consequences.

Example: a booking systemA payment-provider outage currently blocks checkout; document the impact and the proposed recovery approach.

Official guidance: Risks and Technical Debt
12

Glossary

Define terms that readers need to interpret the architecture consistently.

Example: a booking systemDistinguish a temporary seat hold from a confirmed booking.

Official guidance: Glossary

Keep exploring.

Read the official guidance for more detail, or explore complete examples to see how other teams document their systems.

arc42 was created by Peter Hruschka and Gernot Starke. The official material is licensed under CC BY-SA 4.0. These summaries and booking examples are written for this guide.