--- url: "https://adr.github.io/adr-templates/" titulek: "ADR Templates | Architectural Decision Records" h1: "ADR Templates" popis: "The following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements:" jazyk: "en" kanonicka: "https://adr.github.io/adr-templates/" drobecky: ["Home", "ADR Templates"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 00:32:49" znaku: 3845 slov: 438 kodovani: "utf-8" sha256: "03201cb8ba1718374c6b9358d4c8dcb48f3b84f1f4c3c87da576d4945bee072c" --- ADR Templates The following UML class diagram shows that many templates for ADR capturing exist, including (but not limited to) MADR, Nygardian ADRs, and Y-Statements: ``` --- config: class: hideEmptyMembersBox: true --- classDiagram direction TB class ADR { <> } ADR <|-- MADR ADR <|-- NygardADR ADR <|-- Y-Statement ADR <|-- OtherADRTemplate ``` ## Markdown Architectural Decision Records (MADR) MADR is about architectural decisions that *matter* ([`[ˈmæɾɚ]`](https://en.wiktionary.org/wiki/matter#Pronunciation)). Olaf Zimmermann’s [MADR Template Primer](https://www.ozimmer.ch/practices/2022/11/22/MADRTemplatePrimer.html) covers it in more depth. You can use MADR without installing software by populating the template in any text editor. Additionally, a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=StevenChen.vscode-adr-manager) is available, though it may be outdated and lack support for the latest features. [Other tools](https://adr.github.io/adr-tooling/#madr-template) are also available. MADR provides a [full](https://github.com/adr/madr/blob/4.0.0/template/adr-template.md?plain=1) and a [minimal](https://github.com/adr/madr/blob/4.0.0/template/adr-template-minimal.md?plain=1) template, both of which now come in an annotated and a bare format. The rationale for this decision is documented in the [template decisions](https://github.com/adr/madr/tree/4.0.0/template#decisions). We think that the *considered options* with their pros and cons are crucial to understand the reasons for choosing a particular design. Therefore, the [Markdown Architectural Decision Records (MADR)](https://adr.github.io/madr/) project in this organization includes such tradeoff analysis information. It also suggests metadata such as decision makers and confirmation in addition to decision status. ## Nygard ADR An ADR consists of title, status, context, decision, and consequences according to “Documenting Architecture Decisions” by [@mtnygard](https://github.com/mtnygard). The original [blog post from 2011](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) suggests this structure, and a [Markdown rendering](https://github.com/joelparkerhenderson/architecture-decision-record/blob/main/locales/en/templates/decision-record-template-by-michael-nygard/index.md) is also available. ## Y-Statement In short, the Y-statement is as follows: > In the context of ``, facing `` we decided for `